6 match ip address prefix-list – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 559

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 559 of 855

28.5.1.5 Examples

Switch# configure terminal
Switch(config)# route-map myroute permit 3
Switch(config-route-map)# match ip address List1

28.5.1.6 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.

Note:

This command is valid for BGP, OSPF and RIP only.

28.6.1.1 Command Syntax

match ip address prefix-list LISTNAME

no match ip address prefix-list [ LISTNAME ]

28.6.1.2 Syntax Description

LISTNAME

Specifies the IP prefix list name.

Advertising