ip address

To set the IP address and netmask for the Ethernet interface, use the ip address command in interface Configuration mode. To remove an IP address or disable IP processing, use the no form of this command.

ip address ip-address network mask

Note You can configure the same IP address on multiple interfaces. You might want to do this to limit the configuration steps that are needed to switch from using one interface to another.

Syntax Description

ip address

The command to configure IP address and netmask for the GigabitEthernet interface.

ip-address

IPv4 version IP address.

network mask

Mask of the associated IP subnet.

Defaults

Enabled.

Command Modes

Interface configuration

Usage Guidelines

Requires exactly one address and one netmask; otherwise, an error occurs.

Examples

/admin(config)# interface GigabitEthernet 1

/admin(config-GigabitEthernet)# ip address 209.165.200.227 255.255.255.224

Changing the hostname or IP may result in undesired side effects,

such as installed application(s) being restarted.

........

To verify that CDA processes are running, use the

'show application status cda' command.

/admin(config-GigabitEthernet)#

 

Related Commands

Command

Description

shutdown (interface configuration mode)

Disables an interface (see “shutdown”).

ip default-gateway

Sets the IP address of the default gateway of an interface.

show interface

Displays information about the system IP interfaces.

interface

Configures an interface type and enters the interface mode.