IP Addressing Commands 599
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax
CLI\files\IP_Addressing.fm
DELL CONFIDENTIAL – PRELIMINARY 5/15/12 - FOR PROOF ONLY
38
IP Addressing Commands
address
Use the ip address Interface Configuration (Ethernet, VLAN, Port-channel)
mode command to define an IP address for an interface. Use the no form of
this command
to remove an IP address definition.
Syntax
If the product is a switch router.
ip address
ip-address
{
mask
|
prefix-length
}
no ip address [
ip-address
]
If the product is a switch only.
ip address
ip-address
{
mask
|
prefix-length
} [default-gateway
ip-address
]
no ip address [
ip-address
]
If the product is switch only and supports a single IP address:
ip address
ip-address
{
mask
|
prefix-length
} [default-gateway
ip-address
]
no ip address
Parameters
•
ip-address
—Specifies the IP address.
•
mask
—Specifies the network mask of the IP address.
•
prefix-length
—Specifies the number of bits that comprise the IP address
prefix.The prefix length must be preceded by a forward slash (/). (Range:
8–30)
•
default-gateway ip-address
—Specifies the default gateway IP address.