Cisco Cisco Packet Data Gateway (PDG) Dépliant

Pagina di 8487
  Route-map Configuration Mode Commands 
set ip next-hop  ▀   
 
Cisco ASR 5x00 Command Line Interface Reference  ▄  
 
   
7867 
set ip next-hop 
Sets the IPv4 address that is applied as the next hop for routes. 
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 ] set ip next-hop ipv4_address 
no
 
Disables the specified next hop IPv4 address. 
ipv4_address
 
Specifies the IPv4 address of the next hop to which packets are output, entered using IPv4 dotted-decimal 
notation. 
Usage 
Use this command to set the IPv4 address that is used as the next hop for routes. 
Example
 
To set the next hop for routes to the IPv4 address 
192.168.2.100
, use the following command: 
set ip next-hop 192.168.2.100 
To disable setting the next hop for routes to the IP address 
192.168.2.100
, use the following command: 
no set ip next-hop 192.168.2.100