5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
20
4-2
do (Privileged EXEC) commands
This command causes Privileged EXEC mode commands to be executed from any of the configuration
modes.
do Priv Exec Mode Command
Parameters
None
Default
The default is None.
Command Mode
•
Global Config
•
Interface Config
•
VLAN Config
•
Router Config
Example
The following provides an example of the
do
command that is used to execute the Privileged EXEC
command
script list
while in the Global Config Mode.
(Routing) #configure
(Routing)(config)#do script list
Configuration Script Name
Size (Bytes)
-------------------------------
------------
backup-config
2105
running-config
4483
startup-config
445
3 configuration script(s) found.
2041 Kbytes free.
Routing(config)#
4-3
serviceport ip
This command sets the IP address, the netmask and the gateway of the network management port. You
can specify the
none
option to clear the IPv4 address and mask and the default gateway (i.e., reset each
of these values to .0.0.0.0).
serviceport ip { ipaddr netmask [gateway] | none}