beautypg.com

Displaying and maintaining voice vlans – H3C Technologies H3C S5560 Series Switches User Manual

Page 212

background image

178

Step Command

Remarks

3.

Configure LLDP or CDP to

advertise a voice VLAN.

Configure LLDP to advertise a voice
VLAN:

lldp tlv-enable med-tlv

network-policy vlan-id

Configure CDP to advertise a voice

VLAN:

a.

Specify the ID of an advertised

VLAN:

cdp voice-vlan vlan-id

b.

Configure CDP compatibility:

For more information, see
"Configuring LLDP."

By default, LLDP and CDP
advertise the voice VLAN

configured on the port.
For more information about the

lldp tlv-enable med-tlv
network-policy command, see

Layer 2—LAN Switching

Command Reference.

4.

(Optional.) Display the voice

VLAN advertised by LLDP.

display lldp local-information

The advertised voice LAN
information is displayed in the

MED information fields in the

command output.

Dynamically advertising an authorization VLAN
through LLDP or CDP

This function is available only on IP phones that support LLDP or CDP.
Dynamic authorization VLAN advertisement through LLDP or CDP works with 802.1X or MAC

authentication. If 802.1X authentication is used, make sure the IP phone support 802.1X authentication.
After the IP phone passes authentication, LLDP advertises the authorization VLAN in the LLDP-MED

Network Policy TLV to the IP phone. If the IP phone supports only CDP, CDP advertises the authorization

VLAN in CDP packets to the IP phone. The port connected to the IP phone will be added to the

authorization VLAN.
To implement this function, perform the following configuration tasks:

1.

Enable LLDP globally and on the port connected to the IP phone.
If the IP phone supports only CDP, configure CDP compatibility on the device.

2.

Configure 802.1X or MAC authentication to ensure that the IP phone can pass security
authentication. For more information about 802.1X and MAC authentication, see Security

Configuration Guide.

3.

Configure the authorization VLAN for the IP phone on the authentication server. For more
information about authorization VLANs, see Security Configuration Guide.

Displaying and maintaining voice VLANs

Execute display commands in any view.

Task Command

Display the voice VLAN state.

display voice-vlan state

Display the OUI addresses that the system supports.

display voice-vlan mac-address