Match ip address, Match ip next-hop – Enterasys Networks X-Pedition XSR CLI User Manual
Page 309
Route Map Commands
XSR CLI Reference Guide 6-113
Mode
Route‐map configuration:
XSR(config-route-map)#
Example
The following example sets the match metric to 300:
XSR(config)#route-map 1 permit 1
XSR(config-route-map)#match metric 300
match ip address
This command matches IP addresses in a BGP routing update message. A route must match at
least one match statement of a
route-map command
. If this is not done, the route is not advertised
on outbound route maps and is not accepted on inbound route maps.
Syntax
match ip address access-list-number
Syntax of the “no” Form
The no form of this command removes the match IP address value:
no match ip address access-list-number
Mode
Route‐map configuration:
XSR(config-route-map)#
Default
No matching based on IP prefix.
Example
The following example sets the matching IP address to 10:
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
This command matches the value of the next hop attribute in a BGP routing update message
against an ACL specified by the command. A route must match at least one match statement of a
route-map command
. If a route does not match any match statements, it is not advertised on
outbound route maps and is not accepted on inbound route maps.
access-list-number
The ACL to match, ranging from 1 to 199.