R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference

131
Examples
# Configure the voice VLAN aging time as 100 minutes.
<Sysname> system-view
[Sysname] voice vlan aging 100
Related commands
display voice vlan state
voice vlan enable
Use voice vlan enable to enable the voice VLAN feature and to configure a VLAN as the voice VLAN for
the Ethernet port.
Use undo voice vlan enable to disable the voice VLAN feature on an Ethernet port.
Syntax
voice vlan vlan-id enable
undo voice vlan [ vlan-id ] enable
Default
The voice VLAN feature is disabled on ports.
Views
Ethernet interface view
Default command level
2: System level
Parameters
vlan-id: Specifies a VLAN ID in the range of 2 to 4096.
Usage guidelines
Enable the voice VLAN feature on a hybrid or trunk port operating in automatic voice VLAN assignment
mode, but not on an access port operating in automatic voice VLAN assignment mode.
Examples
# Enable the voice VLAN feature on GigabitEthernet 4/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 4/0/1
[Sysname-GigabitEthernet4/0/1] voice vlan 2 enable
voice vlan mac-address
Use voice vlan mac-address to allow packets carrying the specified OUI address to pass through.
Use undo voice vlan mac-address to prohibit packets carrying the specified OUI address from passing
through.
Syntax
voice vlan mac-address mac-address mask oui-mask [ description text ]
undo voice vlan mac-address oui