6 match ip address prefix-list – CANOGA PERKINS 9175 Command Reference User Manual
Page 494
![background image](/manuals/651401/494/background.png)
CanogaOS Command Reference
28-6
Note:
This command is valid for BGP, OSPF and RIP only.
Command Syntax
match ip address ACCESSLISTID
no match ip address [ ACCESSLISTID ]
Syntax Description
ACCESSLISTID
Specify a IPv4 access-list name, up to 20 characters.
Command Mode
Route-map mode
Defaults
No match ip address is specified by default.
Examples
Switch# configure terminal
Switch(config)# route-map myroute permit 3
Switch(config-route-map)# match ip address List1
Related Commands
match community
match as-path
set as-path
set community
match metric
28.6 match ip address prefix-list
Use this command to match entries of prefix-lists.
Use the no parameter with this command to disable this function
This command specifies the entries of prefix-lists to be matched. If there is a match for the
specified prefix-list entries, 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, 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.