Verify The Configuration - HP 3100 Series Configuration Manual

Table of Contents

Advertisement

Configure voice VLAN 2 on Switch A. Enable CDP compatibility of LLDP on Switch A to allow the
Cisco IP phones to automatically configure the voice VLAN. The voice VLAN feature performs the
following actions:
Confines the voice traffic within the voice VLAN.
Isolates the voice traffic from other types of traffic.
Figure 67 Network diagram
Configuration procedure
Configure a voice VLAN on Switch A:
1.
# Create VLAN 2.
<SwitchA> system-view
[SwitchA] vlan 2
[SwitchA-vlan2] quit
# Set the link type of Ethernet 1/0/1 and Ethernet 1/0/2 to trunk, and enable voice VLAN on
them.
[SwitchA] interface ethernet 1/0/1
[SwitchA-Ethernet1/0/1] port link-type trunk
[SwitchA-Ethernet1/0/1] voice vlan 2 enable
[SwitchA-Ethernet1/0/1] quit
[SwitchA] interface ethernet 1/0/2
[SwitchA-Ethernet1/0/2] port link-type trunk
[SwitchA-Ethernet1/0/2] voice vlan 2 enable
[SwitchA-Ethernet1/0/2] quit
Configure CDP-compatible LLDP on Switch A:
2.
# Enable LLDP globally and enable CDP compatibility globally.
[SwitchA] lldp enable
[SwitchA] lldp compliance cdp
# Enable LLDP on Ethernet 1/0/1. By default, LLDP is enabled on ports.
[SwitchA] interface ethernet 1/0/1
[SwitchA-Ethernet1/0/1] lldp enable
# Configure LLDP to operate in TxRx mode.
[SwitchA-Ethernet1/0/1] lldp admin-status txrx
[SwitchA-Ethernet1/0/1] lldp compliance admin-status cdp txrx
[SwitchA-Ethernet1/0/1] quit
# Enable LLDP on Ethernet 1/0/2. By default, LLDP is enabled on ports.
[SwitchA] interface ethernet 1/0/2
[SwitchA-Ethernet1/0/2] lldp enable
# Configure LLDP to operate in TxRx mode.
[SwitchA-Ethernet1/0/2] lldp admin-status txrx
[SwitchA-Ethernet1/0/2] lldp compliance admin-status cdp txrx
[SwitchA-Ethernet1/0/2] quit

Verify the configuration

# Verify that Switch A has completed the following tasks:
191

Advertisement

Table of Contents
loading

Table of Contents