PurposeCommand or Action
(Optional)
Displays the interface status, which includes the
administrative status.
switch( config-if)# show interface
interface
Step 4
Reenables the interface in the running configuration .switch(config-if)# no shutdown
Step 5
(Optional)
Displays the interface status, which includes the
administrative status. The interface argument are defined
as follows:
switch( config-if)# show interface
interface
Step 6
•
For an Ethernet port, use the ethernet slot/port
command, where slot is the module slot number and
port is the port number.
•
For the management interface, use the mgmt 0 or
mgmt0 command.
(Optional)
Saves the change persistently through reboots and restarts
by copying the running configuration to the startup
configuration.
switch(config-if)# copy
running-config startup-config
Step 7
This example shows how to disable the interface Ethernet port 1 on module 3:
switch# configure terminal
switch(config)# interface ethernet 3/1
switch(config-if)# shutdown
switch(config-if)# no shutdown
switch(config-if)#
Enabling or Disabling CDP
You can enable or disable the Cisco Discovery Protocol (CDP) for Ethernet and management interfaces.
Before You Begin
•
Log in to the CLI in EXEC mode.
•
Make sure that CDP is enabled at both ends of the link.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Specifies the interface that you are configuring. The interface
argument is defined as follows:
switch(config)# interface
interface
Step 2
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
18
Configuring Interface Parameters
Enabling or Disabling CDP