5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
22
Command Mode
Privileged EXEC
Usage Guideline
There is no support for the
no
form of the command
serviceport protocol dhcp client-id
. To remove the
client-id
option from the DHCP client messages, issue the command
serviceport protocol dhcp
without
the
client-id
option. The command
serviceport protocol none
can be used to disable the DHCP client
and client- id option on the interface.
Example
The following shows an example command.
(Routing) # serviceport protocol dhcp client-id
4-6
network parms
This command is used to set the IP address, subnet mask, and gateway of the device. It is required that
the IP address and the gateway be located on the same subnet. The none option can be specified in
order to clear the IPv4 address and mask, as well as the default gateway (i.e., each of the values will be
reset to the default value on the switch).
network parms {ipaddr netmask [gateway] I none)}
Parameters
ipaddr
Enter the summary address designated for a range of addresses here.
netmask
Enter the IP subnet mask used for the summary route here.
gateway
(Optional) Enter the gateway address used for the summary route here.
Default
The default is None.
Command Mode
Privileged EXEC
4-7
network protocol
This command is used to specify the network configuration protocol to be utilized. If the user modifies this
value, the change becomes effective immediately. If the
bootp
parameter is used, the switch sends
requests to a BOOTP server on a periodic basis until a response is received. If the
DHCP
parameter is
used, the switch sends requests to a DHCP server on a periodic basis until a response is received. If the
none
parameter is used, the network information for the switch must be configured manually.
network protocol {none | bootp | dhcp}