Configuration Guide Voice VLAN Configuration
3) Permit voice streams with OUI address of ―0012.3400.0000‖ and mask code
of "ffff.ff00.0000" being transmitted through Voice VLAN.
# Configure Voice VLAN OUI address.
Ruijie(config)# voice vlan mac-address 0012.3400.0000 mask ffff.ff00.0000
4) The access port is Trunk-type port Fa 0 / 1, and native VLAN of the port is
VLAN 5.
# set Fa0/1 as Trunk Port.
Ruijie(config)# interface fastEthernet 0/1
Ruijie(config-if)# switchport mode trunk
# set VLAN 5 of Fa0/1 as native VLAN.
Ruijie(config-if)# switchport hybrid native vlan 5
# Remove Voice VLAN from the allowable VLAN list of Fa0/1
Ruijie(config-if)# switchport trunk allowed vlan remove 2
# Enable Voice VLAN on Fa0/1
Ruijie(config)# interface fastEthernet 0/1
Ruijie(config-if)# voice vlan enable
5) Enable 802.1x function on the port simultaneously.
# Configure expert ACL and permit the streams matching OUI address.
Ruijie(config)# expert access-list extended safe_channel
Ruijie(config-exp-nacl)# permit ip any 0012.3400.0000 ffff.ff00.0000 any any
# configure security tunnel.
Ruijie(config)# security global access-group safe_channel
# Set Fa0/1 with 802.1 x enabled as controlled port.
Ruijie(config)# interface fastEthernet 0/1
Ruijie(config-if)# dot1x port-control auto
# For methods of configuring other 802.1x functions, refer to Section 802.1x
Configuration
Showing configuration
# Show current Voice VLAN status.
Ruijie(config)# show voice vlan
Voice Vlan status: ENABLE // Enabling global Voice VLAN
Voice Vlan ID : 2 // Voice VLAN ID is 2
Voice Vlan security mode: Security // Enable global safe mode
Voice Vlan aging time: 1440minutes
Voice Vlan cos : 6