Defining IP Interface Parameters Using CLI Commands
The following table summarizes the equivalent CLI commands for working with fields on the IP
Interface Parameters page.
Table 6-18. IP Interface Parameters CLI Commands
CLI Command
ip address ip-address
{mask | prefix-length}
no ip address [ ip-
address ]
show ip interface
[ethernet s | vlan vlan-
id | port-channel
number ]
directed-broadcast
The following is an example of the CLI commands:
Console (config)# interface vlan 1
Console (config-if)# ip address 192.168.1.1 255.255.255.0
Console (config-if)# no ip address 192.168.1.1
146
Configuring System Information
Description
Sets an IP address.
Removes an IP address
Displays the usability status of interfaces
configured for IP .
Enables the translation of a directed
broadcast to physical broadcasts.