4-8
z
Device A uses voice VLAN 2 to transmit voice packets for IP phone A and voice VLAN 3 to transmit
voice packets for IP phone B.
Configure GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2 to work in automatic voice VLAN
assignment mode. In addition, if one of them has not received any voice packet in 30 minutes, the port
is removed from the corresponding voice VLAN automatically.
Figure 4-1
Network diagram for automatic voice VLAN assignment mode configuration
Configuration procedure
# Create VLAN 2 and VLAN 3.
<DeviceA> system-view
[DeviceA] vlan 2 to 3
# Set the voice VLAN aging time to 30 minutes.
[DeviceA] voice vlan aging 30
# Since GigabitEthernet 2/0/1 may receive both voice traffic and data traffic at the same time, to ensure
the quality of voice packets and effective bandwidth use, configure voice VLANs to work in security
mode, that is, configure the voice VLANs to transmit only voice packets. (Optional. By default, voice
VLANs work in security mode.)
[DeviceA] voice vlan security enable
# Configure the allowed OUI addresses as MAC addresses prefixed by 0011-1100-0000 or
0011-2200-0000. In this way, Device A identifies packets whose MAC addresses match any of the
configured OUI addresses as voice packets.
[DeviceA] voice vlan mac-address 0011-1100-0001 mask ffff-ff00-0000 description IP phone A
[DeviceA] voice vlan mac-address 0011-2200-0001 mask ffff-ff00-0000 description IP phone B
# Configure GigabitEthernet 2/0/1 as a hybrid port.
[DeviceA] interface gigabitethernet 2/0/1
[DeviceA-GigabitEthernet2/0/1] port link-type hybrid
# Configure GigabitEthernet 2/0/1 to operate in automatic voice VLAN assignment mode. (Optional. By
default, a port operates in automatic voice VLAN assignment mode.)
[DeviceA-GigabitEthernet2/0/1] voice vlan mode auto
# Configure VLAN 2 as the voice VLAN for GigabitEthernet 2/0/1.
Содержание S7902E
Страница 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1 ...
Страница 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist ...
Страница 494: ...ii Displaying and Maintaining Tunneling Configuration 1 45 Troubleshooting Tunneling Configuration 1 45 ...
Страница 598: ...ii ...
Страница 1757: ...4 9 ...
Страница 1770: ...6 4 ...
Страница 2017: ...2 11 Figure 2 3 SFTP client interface ...
Страница 2062: ...i Table of Contents 1 URPF Configuration 1 1 URPF Overview 1 1 What is URPF 1 1 How URPF Works 1 1 Configuring URPF 1 2 ...
Страница 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002 ...
Страница 2442: ...2 4 Set the interval for sending Syslog or trap messages to 20 seconds Device mac address information interval 20 ...