5 match ip address – CANOGA PERKINS 9175 Command Reference User Manual
Page 336
CanogaOS Command Reference
19-5
The match interface command specifies the next-hop interface name of a route to be matched.
Note:
This command is valid only for RIP, OSPF.
Command Syntax
match interface IFNAME
no match interface
Syntax Description
IFNAME
A string that specifies the interface for matching.
Command Mode
Route-map mode
Defaults
No match interface is specified by default.
Examples
Switch# configure terminal
Switch(config)# route-map mymap1 permit 10
Switch(config-route-map)# match interface eth-0-1
Related Commands
match tag
match route-type external
19.5 match ip address
Use this command to specify the match address of route.
Use the no parameter with this command to remove the match ip address entry.
The match ip address command specifies the IP address to be matched. If there is a match for
the specified IP address, and permit is specified, the route is redistributed or controlled, as
specified by the set action. If the match criteria are met, and deny is specified then the route is
not redistributed or controlled. If the match criteria are not met, the route is neither accepted nor
forwarded, irrespective of permit or deny specifications.
The route specified by the policies might not be the same as specified by the routing protocols.
Setting policies enable packets to take different routes, depending on their length or content.
Packet forwarding based on configured policies overrides packet forwarding specified in routing
tables.