Cisco Cisco Packet Data Gateway (PDG) Folheto

Página de 8487
Loopback Interface Configuration Mode Commands   
▀  ip 
 
 
▄  Cisco ASR 5x00 Command Line Interface Reference 
6686 
   
ip 
Use this command to configure the IP options for the current interface. 
Product
 
All 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > Loopback Interface Configuration 
configure > context context_name > interface interface_name loopback
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-if-loopback)# 
Syntax
 
ip address { ip_address ip_mask | ip_address/bitmask } [ secondary | srp-activate ] 
no ip address ip_address 
ip ranged-address { ip_address ip_mask | ip_address/bitmask} 
no ip ranged-address 
no
 
Deletes the IP address or range of IP address you specify from the interface configuration. 
address {ip_address ip_mask | ip_address/bitmask} [ secondary | srp-activate ]
 
Configures the IP address and network mask for the interface. 
Enter an 
ip_address ip_mask
 to specify an IP address and the subnet mask pair that identifies the IP 
address of the interface. 
ip_address
 is entered in IPv4 dotted-decimal or IPv6 colon-separated-hexadecimal 
notation. Currently, the only value accepted for 
ip_mask
 is 255.255.255.255 (IPv4) or 120 (IPv6) . 
For the network mask, 
ip_address/net_mask
, enter the IP address and the length in bits of the network 
mask, For example, 192.168.1.0/32 (IPv4) or fe80::c0a8:100/32 (IPV6). Currently, the only value accepted 
for bit_mask is 32. 
Use the 
secondary
 keyword ito configure a secondary IP address on the interface. This is referred to as 
multi-homing of the interface. 
Use the 
srp-activate
 keyword to activate the IP address for Interchassis Session Recovery (ICSR). 
range-address  ip_address ip_mask | ip_address/bitmask
 
Configures the range or group of IP address for the loopback interface. This support is provided to enable the 
support of multiple Enterprise HA in one HA service. 
ip_address
 specifies the IP address for the loopback interface and must be specified in IPv4 dotted-decimal 
notation. 
ip_mask
 specifies the number of subnet bits, representing the subnet mask in CIDR notation and must be a 
value between 1 to 32 and 
bitmask
 specifies the subnet mask in IPv4 dotted-decimal notations.