EasyManua.ls Logo

Planet SGS-6341 Series - Page 477

Planet SGS-6341 Series
1206 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
31-116
Parameter:
<interface-name >is the name of the interface.
Command Mode:
route-map mode
Usage Guide:
This command matches according to the next-hop messages in the route. If the matching
succeeded, then the “permit” or “deny” action in the route-map is performed. This command is only
used in RIP and OSPF protocols.
Example:
Switch#config terminal
Switch(config)#route-map r1 permit 5
Switch(config-route-map)#match interface vlan1
31.7 match ip
Command:
match ip <address | next-hop> <ip-acl -name | ip-acl -num | prefix-list list-name>
no match ip <address | next-hop> [<ip-acl -name | ip-acl -num | prefix-list list-name>]
Function:
Configure the routing prefix or next-hop. The “no match ip <address | next-hop> [<ip-acl -name |
ip-acl -num | prefix-list list-name>]” deletes this configuration.
Parameter:
<address > means matching the routing prefix, <next-hop>means matching the routing next-hop,
<ip-acl -name > is the name of ip access-list, <ip-acl -num > is the ip access-list sequence number,
ranging between 1199 or 13002699 (extension scope), prefix-list means the matching should
follow the prefix-list rules, list-name is the name of prefix-list.
Command Mode:
route-map mode
Usage Guide:
This command matches according to the next-hop messages or routing prefix in the route. If the
matching succeeded, then the “permit” or “deny” action in the route-map is performed.
Example:
Switch#config terminal
Switch(config)#route-map r1 permit 5
Switch(config-route-map)#match ip address prefix-list mylist

Table of Contents

Related product manuals