如何在Cisco交换机上配置语音VLAN
来源:互联网 发布:虚拟机 mac osx 编辑:程序博客网 时间:2024/05/22 12:14
http://blog.chinaunix.net/uid-261392-id-2138837.html
在Cisco交换机上配置两个VLAN(Virtual Local Area Networks),一个用于语音,一个用于数据。使用Cisco IOS命令来配置交换机
配置两个VLAN,一个用于语音,一个用于数据,并在Cisco Unified CME路由器(Cisco 3825 router)和交换机(Cisco catalyst 3560)之间建立一个trunk,在Cisco Catalyst Switch的一个外部接口上配置Cisco IOS Quality-of-Service(QoS)
主要步骤:
1. enable
2. vlan database
3. vlan vlan-number name vlan-name
4. vlan vlan-number name vlan-name
5. exit
6. wr
7. configure terminal
8. macro global apply cisco-global
9. interface slot-number/port-number
10. macro apply cisco-phone $AVID number $VVID number
11. interface slot-number/port-number
12. macro apply cisco-router $NVID number
13. end
14. wr
详细步骤:
Enters global configuration mode. Command or Action Purpose Step 1
enable
Switch> enable
Step 2vlan database
Switch# vlan database
Step 3vlan vlan-number namevlan-name
Switch(vlan)# vlan 10 name data
VLAN 10 modified
Name: DATA
Specifies the number and name of the VLAN being configured.
•vlan-number—Unique value that you assign to the dial-peer being configured. Range: 2 to 1004.
•name—Name of the VLAN to associate to the vlan-number being configured.
Step 4vlan vlan-number namevlan-name
Switch(vlan)# vlan 100 name voice
VLAN 100 modified
Name: VOICE
Specifies the number and name of the VLAN being configured. Step 5exit
Switch(vlan)# exit
Exits this configuration mode. Step 6wr
Switch# wr
Writes the modifications to the configuration file. Step 7configure terminal
Switch# configure terminal
Enters global configuration mode. Step 8macro global apply cisco-global
Switch (config)# macro global apply cisco-global
Applies the Smartports global configuration macro for QoS. Step 9interface slot-number/port-number
Switch (config)# interface fastEthernet 0/1
Specifies interface to be configured while in the interface configuration mode.
•slot-number/port-number—Slot and port of interface to which Cisco IP phones or PCs are connected。
Note The slash must be entered between the slot and port numbers.
Step 10
macro apply cisco-phone $AVIDnumber $VVIDnumber
Switch (config-if)# macro apply cisco-phone $AVID 10 $VVID 100
Applies VLAN and QoS settings in Smartports macro to the port being configured.
•$AVIDnumber—Data VLAN configured in earlier step.
•$VVIDnumber—Voice VLAN configured in earlier step.
Step 11interface slot-number/port-number
Switch (config-if)# interface fastEthernet 0/24
Specifies interface to be configured while in the interface configuration mode.
•slot-number/port-number—Slot and port of interface to which the Cisco router is connected.
Note The slash must be entered between the slot and port numbers.
Step 12macro apply cisco-router $NVIDnumber
Switch (config-if)# macro apply cisco-router $NVID 10
Applies the VLAN and QoS settings in Smartports macro to the port being configured.
•$NVIDnumber—Data VLAN configured in earlier step.
Step 13end
Switch(config-if)# end
Exits to privileged EXEC configuration mode. Step 14wr
Switch# wr
Writes the modifications to the configuration file.- 如何在Cisco交换机上配置语音VLAN
- CISCO交换机VLAN配置指南
- cisco 交换机 VLAN的配置
- cisco S3750交换机配置VLAN
- 交换机上配置VLAN
- 在CISCO交换机上配置SSH
- 什么是VLAN,如何在CISCO交换机增加一个VLAN,又如何删除?
- 思科cisco交换机VLAN的配置
- cisco交换机配置vlan的资料
- 深入解析Cisco交换机配置Vlan
- cisco交换机配置vlan的资料
- cisco交换机配置vlan的资料
- CISCO三层交换机+二层交换机配置VLAN的实例
- cisco 3560 三层交换机vlan间路由配置实例 ***********
- 如何在交换机上配置802.1X
- Cisco 3750/Cisco 4506 交换机vlan划分
- Tftp在cisco交换机上的使用
- 转:CISCO三层交换机+二层交换机配置VLAN的实例
- 改过来了 输出素数。。。。。
- 自定义线程工厂
- Linux虚拟文件系统之文件打开(sys_open())
- 转载---js 数组Array用法
- 两块硬盘,安装window7和ubuntu双系统
- 如何在Cisco交换机上配置语音VLAN
- 博客园
- Web工程师必备的在线工具箱
- 求10000内的回文数
- Linux下用户编程接口API表
- shared_ptr
- Java基础知识
- 银行系统(1)
- IOS之数据库的查找,删除,添加,更新