全部博文(163)
分类: 系统运维
2008-03-01 12:18:44
Command or Action |
Purpose | |||
Step 1 |
enable Example:
Switch> enable |
|||
Step 2 |
vlan database Example:
Switch# vlan database |
|||
Step 3 |
vlan vlan-number name vlan-name Example:
Switch(vlan)# vlan 10 name data VLAN 10 modified Name: DATA |
Specifies the number and name of the VLAN being configured. • • | ||
Step 4 |
vlan vlan-number name vlan-name Example:
Switch(vlan)# vlan 100 name voice VLAN 100 modified Name: VOICE |
Specifies the number and name of the VLAN being configured. | ||
Step 5 |
exit Example:
Switch(vlan)# exit |
Exits this configuration mode. | ||
Step 6 |
wr Example:
Switch# wr |
Writes the modifications to the configuration file. | ||
Step 7 |
configure terminal Example:
Switch# configure terminal |
Enters global configuration mode. | ||
Step 8 |
macro global apply cisco-global Example:
Switch (config)# macro global apply cisco-global |
Applies the Smartports global configuration macro for QoS. | ||
Step 9 |
interface slot-number/port-number Example:
Switch (config)# interface fastEthernet 0/1 |
Specifies interface to be configured while in the interface configuration mode. • Note | ||
Step 10 |
macro apply cisco-phone $AVID number $VVID number Example:
Switch (config-if)# macro apply cisco-phone $AVID 10 $VVID 100 |
Applies VLAN and QoS settings in Smartports macro to the port being configured. • • | ||
Step 11 |
interface slot-number/port-number Example:
Switch (config-if)# interface fastEthernet 0/24 |
Specifies interface to be configured while in the interface configuration mode. • Note | ||
Step 12 |
macro apply cisco-router $NVID number Example:
Switch (config-if)# macro apply cisco-router $NVID 10 |
Applies the VLAN and QoS settings in Smartports macro to the port being configured. • | ||
Step 13 |
end Example:
Switch(config-if)# end |
Exits to privileged EXEC configuration mode. | ||
Step 14 |
wr Example:
Switch# wr |
Writes the modifications to the configuration file. |