Cisco Cisco Packet Data Interworking Function (PDIF)
Ethernet Interface Configuration Mode Commands
ip address ▀
Command Line Interface Reference, StarOS Release 16 ▄
3603
ip address
Specifies the primary and optional secondary IPv4 addresses and subnets for this interface.
Product
All
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > Ethernet Interface Configuration
configure > context context_name > interface interface_name broadcast
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-if-eth)#
Syntax
[ no ] ip address ip_address/mask [ secondary ip_address/mask ] [ srp-activate ]
no
Removes the ACL group from this interface.
ip_address/mask
Configures the IPv4 address for the interface specifying the networking mask as well.
ip_address
and
mask
must be entered using IPv4 dotted-decimal notation. CIDR notation is also accepted for the mask.
Important:
For IPv4 addresses, 31-bit subnet masks are supported per RFC 3021.
secondary
ip_address/mask
Configures a secondary IPv4 address on the interface.
Important:
You must configure the primary IPv4 address before you will be allowed to configure a secondary
address.
srp-activate
Activates the IP address for Interchassis Session Recovery (ICSR). Enable this IPv4 address when the Service
Redundancy Protocol (SRP) determines that this chassis is ACTIVE.
Redundancy Protocol (SRP) determines that this chassis is ACTIVE.
Usage
Specify the primary and optional secondary IP addresses and subnets for this interface, as well as the SRP
parameter for ICSR.
parameter for ICSR.
Example
ip address 192.154.3.5/24 srp-activate