H3C S5560S-EI Series Configuration Manual page 168

Layer 2-lan switching configuration guide
Hide thumbs Also See for S5560S-EI Series:
Table of Contents

Advertisement

Configuration procedure
# Enable security mode for voice VLANs.
<DeviceA> system-view
[DeviceA] voice-vlan security enable
# Add MAC address 0011-2200-0001 with mask FFFF-FF00-0000.
[DeviceA] voice-vlan mac-address 0011-2200-0001 mask ffff-ff00-0000 description test
# Create VLAN 2.
[DeviceA] vlan 2
[DeviceA-vlan2] quit
# Configure GigabitEthernet 1/0/1 to operate in manual voice VLAN assignment mode.
[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] undo voice-vlan mode auto
# Configure GigabitEthernet 1/0/1 as a hybrid port.
[DeviceA-GigabitEthernet1/0/1] port link-type hybrid
# Set the PVID of GigabitEthernet 1/0/1 to VLAN 2.
[DeviceA-GigabitEthernet1/0/1] port hybrid pvid vlan 2
# Assign GigabitEthernet 1/0/1 to VLAN 2 as an untagged VLAN member.
[DeviceA-GigabitEthernet1/0/1] port hybrid vlan 2 untagged
# Enable voice VLAN and configure VLAN 2 as the voice VLAN on GigabitEthernet 1/0/1.
[DeviceA-GigabitEthernet1/0/1] voice-vlan 2 enable
[DeviceA-GigabitEthernet1/0/1] quit
Verifying the configuration
# Display the OUI addresses supported on Device A.
[DeviceA] display voice-vlan mac-address
OUI Address
0001-e300-0000
0003-6b00-0000
0004-0d00-0000
000f-e200-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: 1
Voice VLAN security mode: Security
Voice VLAN aging time: 1440 minutes
Voice VLAN enabled ports and their modes:
Port
GE1/0/1
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
test
ffff-ff00-0000
Philips/NEC phone
ffff-ff00-0000
Pingtel phone
ffff-ff00-0000
Polycom phone
ffff-ff00-0000
3Com phone
VLAN
2
Mode
CoS
Manual
6
157
DSCP
46

Advertisement

Table of Contents
loading

Table of Contents