Cisco Cisco Packet Data Interworking Function (PDIF) Prospecto
Route-map Configuration Mode Commands
match ip next-hop ▀
Cisco ASR 5x00 Command Line Interface Reference ▄
7859
match ip next-hop
Matches next-hop IPv4 addresses with entries in a speicifed prefix-list or route-access-list.
Product
All
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > Route-map Configuration
configure > context context_name > route-map map_name { deny | permit }
seq_number
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-route-map)#
Syntax
[ no ] match ip next-hop { prefix-list | route-access-list }list_name
prefix-list
Matches any routes that have a next-hop router IPv4 address that has an entry in the specified prefix list.
route-access-list
Matches any routes that have a next-hop router IPv4 address that has an entry in the specified route-access-
list.
list.
list_name
Specifies the name of the prefix-list or route-access-list as an alphanumeric string of 1 through 79 characters.
Usage
Use this command to match next-hop IPv4 addresses that have entries in the specified prefix-list or route-
access-list.
access-list.
Example
To match next-hop IPv4 addresses with entries in a prefix-list named
Prefix100
, enter the following
command:
match ip next-hop prefix-list Prefix100
To disable matching next-hop IPv4 addresses with entries in a prefix-list named
Prefix100
, enter the
following command:
no match ip next-hop prefix-list Prefix100