167
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface view.
interface
interface-type
interface-number
N/A
3.
Configure an advertised
voice VLAN ID.
lldp tlv-enable med-tlv
network-policy
vlan-id
By default, no advertised
voice VLAN ID is configured.
For more information about
the command, see
Layer
2—LAN Switching Command
Reference
.
4.
(Optional.) Display the voice
VLAN advertised by LLDP.
display lldp local-information
N/A
Configuring CDP to advertise a voice VLAN
If an IP phone supports CDP but does not support LLDP, it will send out CDP packets to the device to
request the voice VLAN ID. If the IP phone does not receive the voice VLAN ID within a time period,
it will send out untagged packets. The device cannot differentiate untagged voice packets from other
types of packets.
You can configure CDP compatibility on the device to enable it to perform the following operations:
•
Receive and identify CDP packets from the IP phone.
•
Send CDP packets to the IP phone. The voice VLAN information is carried in the CDP packets.
After receiving the advertised VLAN information, the IP phone performs automatic voice VLAN
configuration. Packets from the IP phone will be transmitted in the dedicated voice VLAN.
LLDP packets sent from the device carry the priority information. CDP packets sent from the device
do not carry the priority information.
Before you configure this feature, enable LLDP globally and on access ports.
To configure CDP to advertise a voice VLAN:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable CDP compatibility.
lldp compliance cdp
By default, CDP compatibility
is disabled.
3.
Enter Layer 2 Ethernet
interface view.
interface
interface-type
interface-number
N/A
4.
Configure CDP-compatible
LLDP to operate in TxRx
mode.
lldp compliance admin-status cdp
txrx
CDP-compatible LLDP
operating in TxRx mode can
send and receive CDP
packets.
5.
Configure an advertised
voice VLAN ID.
cdp voice-vlan
vlan-id
By default, no advertised
voice VLAN ID is configured.
For more information about
the command, see
Layer
2—LAN Switching Command
Reference
.
Summary of Contents for H3C S7500E-X
Page 70: ...57 ...