CANOGA PERKINS CanogaOS Configuration Guide User Manual
Page 151

CanogaOS Configuration Guide
Proprietary & Confidential Canoga Perkins Metro Ethernet Switches
Page 151 of 350
match ip address acl1
DUT1(config-route-map)# set
local-preference 200
Configure the set action to be
performed;
DUT1(config-route-map)# exit Exit route-map mode and return to
configure mode.
DUT1(config)# route-map
abc permit 20
Configure to add a route-map with the
same tag to match everything when
the match conditions above are not
met. This is used to prevent routes to
be denied when not match the match
criteria above.
DUT1(config-route-map)# exit Exit route-map mode and return to
configure mode.
DUT1(config)# router bgp 1
Enter BGP router mode.
DUT1(config-router)#
neighbor 1.1.1.2 remote-as 1
Configure the remote peer with
neighbor address 1.1.1.2 and
remote-as 1.
DUT1(config-router)#
neighbor 1.1.1.2 route-map
abc out
Configure to apply the route-map abc
to outbound routes.
DUT1(config-router)#
network 2.2.2.2/32
Configure to network the route
2.2.2.2/32
DUT1(config-router)# network
3.3.3.3/32
Configure to network the route
3.3.3.3/32
DUT(config-router)# end
Exit the BGP 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 on DUT1.
DUT1# show route-map
route-map abc, permit, sequence 10
Match clauses:
ip address acl1
Set clauses:
local-preference 200
route-map abc, permit, sequence 20
Match clauses:
Set clauses:
Use the show ip bgp command to show the routes in BGP on DUT2.