如何启用 Dell EMC Networking N 系列交换机上的语音 VLAN 功能
Summary: 如何使用 Dell N 系列交换机上的语音 VLAN
Instructions
功能描述
Dell EMC Networking N 系列交换机上语音 VLAN 功能用来针对时间敏感的 Voice over IP (VoIP) 流量实现优先通信。此功能允许 N 系列交换机在每个端口基础上从数据流量中识别和分离 VoIP 流量,并使管理员能够为这些端口上接收的 VoIP 流量设置差分服务代码点 (DSCP) 或 802.1p 优先级值。
语音 VLAN 功能与接口自动 VoIP 功能不兼容。默认情况下,所有接口上都禁用自动 VoIP 功能。在启用语音 VLAN 之前,请使用命令 show switchport voice 验证是否已禁用接口自动 VoIP 功能。
启用语音 VLAN(对于 6.5.1.x 以下的固件版本)
1. 全局启用语音 VLAN 功能。Dell# configure
Dell(config)# voice vlan
Dell(config)# interface GigabitEthernet 1/0/1
Dell(config-if)# switchport mode general
Dell(config-if)# switchport general pvid 5
Dell(config-if)# switchport general allowed vlan add 5 untagged
Dell(config-if)# switchport general allowed vlan add 10 tagged
Dell(config-if)# voice vlan 10
启用语音 VLAN(对于 6.5.1.x 及更高的固件版本)
1.全局启用语音 VLAN 功能。Dell# configure
Dell(config)# switchport voice vlan
2.配置接口为无标记数据流量和有标记 VoIP 流量 VLAN 的常规模式,或无标记数据流量 VLAN 的访问模式。在下面的示例配置中,VLAN 5 为无标记的数据流量,VLAN 10 被标记为 VoIP 流量。
常规模式交换机端口配置:
Dell(config)# interface gigabitethernet 1/0/1
Dell(config-if)# switchport mode general
Dell(config-if)# switchport general pvid 5
Dell(config-if)# switchport general allowed vlan add 5 untagged
Dell(config-if)# switchport general allowed vlan add 10 tagged
Dell(config)# interface gigabitethernet 1/0/1
Dell(config-if)# switchport mode access
Dell(config-if)# switchport access vlan 5
3.为 VoIP 流量 VLAN 设置语音 VLAN 优先级。
其他语音 VLAN 命令
使用命令 show voice vlan 检查全局语音 VLAN 功能状态。管理模式...............Enable
使用命令 show voice vlan interface 检查某个接口上的语音 VLAN 功能状态。
接口......................................Gi1/0/1
语音 VLAN 接口模式......................已启用
语音 VLAN COS 覆盖........................错
语音 VLAN DSCP 值..........................46
语音 VLAN 端口状态.........................已禁用
语音 VLAN 验证......................已启用
其他命令
使用命令 show switchport voice 查看所有接口上自动 VoIP 功能的状态。
Dell# show switchport voice
接口 自动 VoIP 模式 流量类别
--------- -------------- ------------------
Gi1/0/1 已禁用 6
Gi1/0/2 已禁用 6
Gi1/0/3 已禁用 6
(输出有删节)
通过使用接口命令 no switchport voice detect auto 禁用某个接口上的自动 VoIP 功能。