Displaying and maintaining voice vlans – H3C Technologies H3C S5560 Series Switches User Manual
Page 212
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
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module