COMMAND LINE INTERFACE
Command | Function | Mode | Page |
ip | Defines the default gateway through which an | GC | |
|
| ||
| device |
|
|
|
|
|
|
show ip interface | Displays the IP settings for this device | PE | |
|
|
|
|
show ip redirects | Displays the default gateway configured for | PE | |
| this device |
|
|
|
|
|
|
ping | Sends ICMP echo request packets to another | NE, | |
| node on the network | PE |
|
|
|
|
|
ip address
Use this command to set the IP address for this device. Use the no form to restore the default IP address.
Syntax
ip address
•
•netmask - Network mask for the associated IP subnet. This mask identifies the host address bits used for routing to specific subnets.
•bootp - Obtains IP address from BOOTP.
•dhcp - Obtains IP address from DHCP.
Default Setting
IP address: 0.0.0.0
Netmask: 255.0.0.0
Command Mode
Interface Configuration (VLAN)
Command Usage
•You must assign an IP address to this device to gain management access over the network. You can manually configure a specific IP address, or direct the device to obtain an address from a BOOTP or DHCP server. Valid IP addresses consist of four numbers, 0 to 255,