Voice Vlan settings when connecting cisco ip phone to H3C switch.
Topology:
H3C configs:
# create VLAN2(Voice Vlan)、VLAN6(Data Vlan)。
<DeviceA> system-view
[DeviceA] vlan 2
[DeviceA-vlan2] quit
[DeviceA] vlan 6
set OUI address to 5067-ae00-0000
[DeviceA] voice vlan mac-address 5067-ae00-0000 mask ffff-ff00-0000
Show which one is an ip phone( leftmost)
# enable Voice vlan feature in global
[DeviceA] voice vlan 2 enable
# set Ethernet1/0/1 上Voice VLAN mode to auto [DeviceA] interface Ethernet 1/0/1
[DeviceA-Ethernet1/0/1] voice vlan mode auto
# set Ethernet1/0/1 to Hybrid
[DeviceA-Ethernet1/0/1] port link-type hybrid
# set default VLAN to VLAN6,and all VLAN6 with VLAN tag
[DeviceA-Ethernet1/0/1] port hybrid pvid vlan 6
[DeviceA-Ethernet1/0/1] port hybrid vlan 6 tagged
# enable Voice VLAN 。
[DeviceA-Ethernet1/0/1] voice vlan enable
[DeviceA] lldp enable
[DeviceA] lldp enable
lldp compliance cdp
[DeviceA-Ethernet1/0/1] lldp enable
[DeviceA-Ethernet1/0/1] lldp enable
lldp compliance admin-status cdp txrx
after config,shutdown ,undo shutdown
succeed
H3C reference config :
https://drive.google.com/file/d/0B5tzzJsbkWkISHUyR2xzd0dXODg/view?usp=sharing
No comments:
Post a Comment