CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 150

Advertising
background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 150 of 350

the match conditions above are not
met. This is used to prevent routes to
be denied when not match the match
criteria above.

DUT(config-route-map)# exit

Exit route-map mode and return to
configure mode.

DUT(config)# router ospf 100 Enter OSPF router mode.

DUT(config-router)#
redistribute rip route-map
abc

Configure to apply the route-map on
the redistribute command in OSPF.

DUT(config-router)# end

Exit the OSPF mode and return to the
privileged EXEC mode.


Validation Commands
To display the route-map configuration, use the show route-map [NAME] in the
privileged EXEC command.

DUT# show route-map
route-map abc, permit, sequence 10

Match clauses:
metric 20
Set clauses:
tag 2
route-map abc, permit, sequence 20
Match clauses:
Set clauses:


Configuring the route-map and applying the route-map to BGP policy routing

Beginning in privileged EXEC mode, follow these steps to configure the route-map:

Command

Description

DUT1# configure terminal

Enter the Configure mode.

DUT1(config)# ip access-list
acl1

Create an access-list named acl1.

DUT(config-ip-acl)# permit
any any
3.3.3.0 0.0.0.255

Create a rule to permit the route with
3.3.3.0/24

DUT1(config-ip-acl)# exit

Exit the access-list configure mode
and return to configure mode.

DUT1(config)# route-map
abc permit

Create a route-map named abc and
enter route-map mode.

DUT1(config-route-map)#

Configure the match criteria.

Advertising