ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
51
| IP Routing Commands
Policy-based Routing for BGP
– 1904
match ip address This command specifies the destination addresses to be matched in a
standard access list, an extended access list, or a prefix list. Use the no
form to remove this entry from a route map.
SYNTAX
match ip address {access-list-name | prefix-list prefix-list-name}
no match ip address
access-list-name – Name of standard or extended access list.
(Maximum length: 32 characters, no spaces or other special
characters)
prefix-list-name – Name of a specific prefix list.
COMMAND MODE
Route Map
EXAMPLE
Console(config)#route-map RD permit 4
Console(config-route-map)#match ip address rd-addresses
Console(config-route-map)#set weight 30
Console(config-route-map)#
RELATED COMMANDS
ip prefix-list (1838)
Access Control Lists (1163)
match ip next-hop This command specifies the next-hop addresses to be matched in a
standard access list, an extended access list, or a prefix list. Use the no
form to remove this entry from a route map.
SYNTAX
match ip next-hop {access-list-name | prefix-list prefix-list-name}
no match ip next-hop
access-list-name – Name of standard or extended access list.
(Maximum length: 32 characters, no spaces or other special
characters)
prefix-list-name – Name of a specific prefix list.
COMMAND MODE
Route Map
COMMAND USAGE
When inbound update messages are received from a neighbor, next-hop
information contained in Network Layer Reachability Information (NLRI)
entries is checked against the specified access-list or prefix-list before any
routes are learned.