H3C LS-5100-16P-SI-OVS-H3 Configuration page 265

Low-end ethernet switches
Table of Contents

Advertisement

Voice VLAN
H3C Low-End Ethernet Switches Configuration Examples
[SwitchA] vlan 100
[SwitchA-vlan100] quit
[SwitchA] vlan 200
[SwitchA-vlan200] quit
# Assign GigabitEthernet 1/1/1 and Ethernet 1/1/10 to the specified VLANs according
to
Table
[SwitchA] interface GigabitEthernet 1/1/1
[SwitchA-GigabitEthernet1/1/1] port link-type trunk
[SwitchA-GigabitEthernet1/1/1] port trunk permit vlan 100 200
[SwitchA-GigabitEthernet1/1/1] quit
[SwitchA] interface Ethernet 1/0/10
[SwitchA-Ethernet1/0/10] port link-type hybrid
[SwitchA-Ethernet1/0/10] port hybrid vlan 100 untagged
[SwitchA-Ethernet1/0/10] port hybrid pvid vlan 100
[SwitchA-Ethernet1/0/10] quit
# Enable voice VLAN on Ethernet 1/0/10.
[SwitchA-Ethernet1/0/10] voice vlan enable
# Set the voice VLAN aging time to 100 minutes.
[SwitchA-Ethernet1/0/10] quit
[SwitchA] voice vlan aging 100
# Enable voice VLAN security mode so that only voice traffic is transmitted in the voice
VLAN. (Optional. The voice VLAN security mode is enabled by default.)
[SwitchA] voice vlan security enable
# Configure VLAN 200 as the voice VLAN globally.
[SwitchA] voice vlan 200 enable
Configuration on Switch B
# Create VLAN 100 and VLAN 400.
<SwitchB> system-view
[SwitchB] vlan 100
[SwitchB-vlan100] quit
[SwitchB] vlan 400
[SwitchB-vlan400] quit
# Assign Ethernet 1/0/1, Ethernet 1/0/2, and GigabitEthernet 1/1/2 to the specified
VLANs according to
[SwitchB] interface Ethernet 1/0/1
[SwitchB-Ethernet1/0/1] port access vlan 400
[SwitchB-Ethernet1/0/1] quit
[SwitchB] interface Ethernet 1/0/2
[SwitchB-Ethernet1/0/2] port link-type trunk
2-1.
Table
2-2.
Chapter 2 Configuration Examples
2-7

Advertisement

Table of Contents
loading

Table of Contents