Enterasys Networks XSR CLI Router User Manual


 
Route Map Commands
XSR CLI Reference Guide 6-113
Mode
Routemapconfiguration:XSR(config-route-map)#
Example
Thefollowingexamplesetsthematchmetricto300:
XSR(config)#route-map 1 permit 1
XSR(config-route-map)#match metric 300
match ip address
ThiscommandmatchesIPaddressesinaBGProutingupdatemessage.Aroutemustmatchat
leastonematchstatementofa
route-map command.Ifthisisnotdone,therouteisnotadvertised
onoutboundroutemapsandisnotacceptedoninboundroutemaps.
Syntax
match ip address access-list-number
Syntax of the “no” Form
ThenoformofthiscommandremovesthematchIPaddressvalue:
no match ip address access-list-number
Mode
Routemapconfiguration:XSR(config-route-map)#
Default
NomatchingbasedonIPprefix.
Example
ThefollowingexamplesetsthematchingIPaddressto10:
XSR(config)#access-list 10 permit 10.0.0.0 255.0.0.0
XSR(config)#route-map 1 permit 1
XSR(config-route-map)#match ip address 10
match ip next-hop
ThiscommandmatchesthevalueofthenexthopattributeinaBGProutingupdatemessage
againstanACLspecifiedbythecommand.Aroutemustmatchatleastonematchstatementofa
route-map command.Ifaroutedoesnotmatchanymatchstatements,itisnotadvertisedon
outboundroutemapsandisnotacceptedoninboundroutemaps.
access-list-number
TheACLtomatch,rangingfrom1to199.