Clearing The Interface Counters - Cisco Nexus 1000V Configuration Manual

For vmware vsphere
Hide thumbs Also See for Nexus 1000V:
Table of Contents

Advertisement

Configuring Interface Parameters
Step 3
Step 4
Step 5
This example shows how to enable CDP for Ethernet port 3/1:
switch# configure terminal
switch(config)# interface ethernet 3/1
switch(config-if)# cdp enable
switch(config-if)#
This example shows how to disable CDP for Ethernet port 3/1:
switch# configure terminal
switch(config)# interface ethernet 3/1
switch(config-if)# no cdp enable
switch(config-if)#

Clearing the Interface Counters

You can clear the Ethernet, vEthernet, and management interface counters.
Before You Begin
Log in to the CLI in EXEC mode, configuration mode, or interface configuration mode.
Command or Action
switch(config-if)# [no] cdp
enable
switch(config-if)# show
interface interface
switch(config-if)# copy
running-config
startup-config
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
Purpose
• 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.
Enables or disables CDP for the interface in the running
configuration. This parameter must be enabled for both interfaces
on the same link. As soon as you disable CDP for one of two
interfaces, CDP is disabled for the link.
(Optional)
Displays the CDP status for the interface in the running
configuration. The interface argument is defined as follows:
• 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.
Clearing the Interface Counters
19

Advertisement

Table of Contents
loading

Table of Contents