This example shows how to reset system VTP configuration to factory defaults.
hostname# delete vtp
Related Commands
clear (vtp statistics)
show (vtp)
show (vtp statistics)
vtp
vtp trunk pruning-disable
description
Use the description interface configuration command to describe or name an interface. Use the no description command to remove a description from an interface.
description name-string
no description
Syntax Description
name-string A text description between 1 and 80 alphanumeric characters.
Default
This command has no default value.
Command Mode
Interface configuration
Usage Guidelines
To use the description command, you must first identify the interface you want while working in global configuration mode. Enter the interface command with an interface identifier to enter interface configuration mode, where you can then enter a description.
If you want to enter a description with spaces between characters, you must enclose the string in quotation marks (see "Paul"s machine" example, below)
Example
This example shows how to give the name Hal to Ethernet port 1.
hostname(config)# interface ether 0/1
hostname(config-if)# description Hal
This example shows how to give the name Paul"s machine to ATM module 1.
hostname(config)# interface atm A
hostname(config-if)# description "Paul"s machine"
This example shows how to give the description server1 to port 1 on ATM module 1.
hostname(config)# interface atm A
hostname(config-if)# description server1
Related Commands
interface
show cdp (interface)
show (interfaces)
disable
Use the disable privileged Exec command to exit the privileged Access level and enter user levels.
disable
Syntax Description
This command has no arguments or keywords.
Command Mode
Privileged Exec
Example
This example shows how to exit privileged Exec mode and change to user Exec mode.
hostname# disable
Related Command
configure
enable
end
exit
interface
line console
duplex
Use the duplex interface configuration command to enable duplex mode for an interface.
duplex {auto full full-flow-control half}
Syntax Description
auto Auto-negotiation of duplex mode.
full Full-duplex mode.
full-flow-control Force full-duplex mode with flow control.
half Half-duplex mode.
Defaults
For 100-Mbps TX ports: duplex auto.
For all other ports that support half- and full-duplex: duplex half.
Command Mode
Interface configuration
Usage Guidelines
Use the auto argument only for fixed Fast Ethernet TX ports. In auto-negotiation mode, the switch attempts to negotiate full-duplex connectivity with the connecting device. If negotiation is successful, the port operates in full-duplex mode. If the connecting device is unable to operate in full-duplex, the port operates in half-duplex. This process is repeated whenever there is a change in link status.
Example
This example shows how to set the port to full-duplex mode.
hostname(config-if)# duplex full
Related Commands
interface
show (interfaces)
back-pressure
ecc
Use the ecc global configuration command to enable Enhanced Congestion Control (ECC). This command allows frames to be discarded early when a port becomes congested, which limits the number of frames queued on a port. Use the no ecc command to disable congestion control.
ecc {10M A B} {adaptive moderate-aggressive aggressive}
no ecc [10M A B]
Syntax Description
10M Congestion control for 10-Mbps ports.
A Congestion control for port A. For single Fast Ethernet fixed and modular ports only.
B Congestion control for port B. For single Fast Ethernet fixed and modular ports only.
adaptive Adaptive congestion control.
moderate-aggressive Moderately aggressive congestion control.
aggressive Aggressive congestion control.
Default
Enhanced congestion control is disabled.
推荐阅读
- 交换机与路由器,网速慢
- 如何理解网络交换机的原理
- 思科Catalyst 2900系列XL 10/100交换机
- 上 交换技术攻略:网络交换机配置技巧
- 思科3500系列交换机的基本配置命令
- Cisco MDS 9000 系列交换阵列管理
- 交换机端口镜像配置
- 2 交换机VLAN的配置
- 图解分析交换机与路由器组网功能
- 通过Web浏览器修改交换机各种参数