H3C S7500E-X Configuration Manual page 182

Layer 2 lan switching
Hide thumbs Also See for H3C S7500E-X:
Table of Contents

Advertisement

[DeviceA] voice-vlan aging 30
# Enable security mode for voice VLANs.
[DeviceA] voice-vlan security enable
# Add MAC addresses of IP phones A and B to the device with the mask FFFF-FF00-0000.
[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 1/0/1:
2.
# Configure GigabitEthernet 1/0/1 as a hybrid port.
[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] port link-type hybrid
# Configure GigabitEthernet 1/0/1 to operate in automatic voice VLAN assignment mode.
[DeviceA-GigabitEthernet1/0/1] voice-vlan mode auto
# Enable voice VLAN on GigabitEthernet 1/0/1 and configure VLAN 2 as the voice VLAN for it.
[DeviceA-GigabitEthernet1/0/1] voice-vlan 2 enable
[DeviceA-GigabitEthernet1/0/1] quit
Configure GigabitEthernet 1/0/2:
3.
# Configure GigabitEthernet 1/0/2 as a hybrid port.
[DeviceA] interface gigabitethernet 1/0/2
[DeviceA-GigabitEthernet1/0/2] port link-type hybrid
# Configure GigabitEthernet 1/0/2 to operate in automatic voice VLAN assignment mode.
[DeviceA-GigabitEthernet1/0/2] voice-vlan mode auto
# Enable voice VLAN on GigabitEthernet 1/0/2 and configure VLAN 3 as the voice VLAN for it.
[DeviceA-GigabitEthernet1/0/2] voice-vlan 3 enable
[DeviceA-GigabitEthernet1/0/2] quit
Verifying the configuration
# Display the OUI addresses and their masks and descriptions.
[DeviceA] display voice-vlan mac-address
OUI Address
0001-e300-0000
0003-6b00-0000
0004-0d00-0000
000f-e200-0000
0011-1100-0000
0011-2200-0000
0060-b900-0000
00d0-1e00-0000
00e0-7500-0000
00e0-bb00-0000
# Display the voice VLAN state.
[DeviceA] display voice-vlan state
Current voice VLANs: 2
Voice VLAN security mode: Security
Voice VLAN aging time: 30 minutes
Voice VLAN enabled ports and their modes:
Port
Mask
Description
ffff-ff00-0000
Siemens phone
ffff-ff00-0000
Cisco phone
ffff-ff00-0000
Avaya phone
ffff-ff00-0000
H3C Aolynk phone
ffff-ff00-0000
IP phone A
ffff-ff00-0000
IP phone B
ffff-ff00-0000
Philips/NEC phone
ffff-ff00-0000
Pingtel phone
ffff-ff00-0000
Polycom phone
ffff-ff00-0000
3Com phone
VLAN
Mode
CoS
169
DSCP

Advertisement

Table of Contents
loading

Table of Contents