5 match ip address – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 558

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 558 of 855

28.4.1.6 Related Commands

match tag
match route-type external

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

Note:

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

28.5.1.1 Command Syntax

match ip address ACCESSLISTID

no match ip address [ ACCESSLISTID ]

28.5.1.2 Syntax Description

ACCESSLISTID

Specify a IPv4 access-list name, up to 20 characters.

28.5.1.3 Command Mode

Route-map mode

28.5.1.4 Defaults

No match ip address is specified by default.

Advertising