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

Low-end ethernet switches
Table of Contents

Advertisement

Voice VLAN
H3C Low-End Ethernet Switches Configuration Examples
[SwitchB-Ethernet1/0/2] port trunk permit vlan 100 400
[SwitchB-Ethernet1/0/2] quit
[SwitchB] interface GigabitEthernet1/1/2
[SwitchB-GigabitEthernet1/1/2] port link-type trunk
[SwitchB-GigabitEthernet1/1/2] port trunk permit vlan 100 400
[SwitchB-GigabitEthernet1/1/2] quit
# Enable voice VLAN legacy on Ethernet 1/0/2.
[SwitchB] interface Ethernet 1/0/2
[SwitchB-Ethernet1/0/2] voice vlan legacy
[SwitchB-Ethernet1/0/2] quit
# Configure the voice VLAN to operate in manual mode on Ethernet 1/0/1 and Ethernet
1/0/2, and enable voice VLAN on the two ports.
[SwitchB] interface Ethernet 1/0/1
[SwitchB-Ethernet1/0/1] undo voice vlan mode auto
[SwitchB-Ethernet1/0/1] voice vlan enable
[SwitchB-Ethernet1/0/1] quit
[SwitchB] interface Ethernet 1/0/2
[SwitchB-Ethernet1/0/2] undo voice vlan mode auto
[SwitchB-Ethernet1/0/2] voice vlan enable
[SwitchB-Ethernet1/0/2] quit
# Add an OUI address 00e3-f200-0000 with the description of Meeting room1 globally.
[SwitchB]
description Meeting room1
# Enable voice VLAN security mode so that only voice traffic is transmitted in the voice
VLAN. This step is optional. The voice VLAN security mode is enabled by default.
[SwitchB] voice vlan security enable
# Configure VLAN 400 as the voice VLAN globally.
[SwitchB] voice vlan 400 enable
Configure the core switch
# Create VLAN 100, VLAN 200, VLAN 300, VLAN 400, and VLAN 500 on the core
switch. Assign the specified ports to their respective VLANs according to
configuration procedure is omitted here.
# Create VLAN interfaces and assign IP addresses to the VLAN interfaces according to
Table
2-3. The configuration procedure is omitted here.
# Enable DHCP globally.
<CoreSwitch> system-view
[CoreSwitch] dhcp enable
# Create a global address pool vlan100 to allocate IP addresses on the network
segment 192.168.1.1/24 to devices in the default VLAN (VLAN 100).
voice
vlan
mac-address
Chapter 2 Configuration Examples
00e3-f200-0000
2-8
mask
ffff-ff00-0000
Table
2-3. The

Advertisement

Table of Contents
loading

Table of Contents