C
OMMAND
L
INE
I
NTERFACE
3-68
ip address
Use this command to set the IP address for the currently selected VLAN
interface. Use the
no
form to restore the default IP address.
Syntax
ip address
{
ip-address netmask
|
bootp
|
dhcp
}
no ip address
•
ip-address
- 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
DHCP is enabled by default.
Command Mode
Interface Configuration (VLAN)
Command
Function
Mode Page
ip address
Sets the IP address for the current interface
IC
3-69
ip dhcp restart Submits a BOOTP or DCHP client request
PE
3-70
ip
default-gateway
Defines the default gateway through which an
in-band management station can reach this
device
GC
3-71
show ip
interface
Displays the IP settings for this device
PE
3-72
show ip
redirects
Displays the default gateway configured for this
device
PE
3-73
ping
Sends ICMP echo request packets to another
node on the network
NE,
PE
3-73
Summary of Contents for 6724AL2
Page 2: ......
Page 404: ...COMMAND LINE INTERFACE 3 216 ...
Page 406: ...TROUBLESHOOTING A 2 ...
Page 418: ...GLOSSARY Glossary 8 ...
Page 422: ...INDEX Index 4 ...
Page 423: ......