<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
2)
Configure CDP-compatible LLDP on Switch A.
# Enable LLDP globally and enable LLDP to be compatible with CDP globally.
[SwitchA] lldp enable
[SwitchA] lldp compliance cdp
# Enable LLDP (you can skip this step because LLDP is enabled on ports by default), configure LLDP to
operate in TxRx mode, and configure CDP-compatible LLDP to operate in TxRx mode on Ethernet 1/0/1
and Ethernet 1/0/2.
[SwitchA] interface ethernet 1/0/1
[SwitchA-Ethernet1/0/1] lldp enable
[SwitchA-Ethernet1/0/1] lldp admin-status txrx
[SwitchA-Ethernet1/0/1] lldp compliance admin-status cdp txrx
[SwitchA-Ethernet1/0/1] quit
[SwitchA] interface ethernet 1/0/2
[SwitchA-Ethernet1/0/2] lldp enable
[SwitchA-Ethernet1/0/2] lldp admin-status txrx
[SwitchA-Ethernet1/0/2] lldp compliance admin-status cdp txrx
[SwitchA-Ethernet1/0/2] quit
3)
Verify the configuration
# Display the neighbor information on Switch A.
[SwitchA] display lldp neighbor-information
CDP neighbor-information of port 1[Ethernet1/0/1]:
CDP neighbor index : 1
Chassis ID
Port ID
Sofrware version
Platform
Duplex
CDP neighbor-information of port 2[Ethernet1/0/2]:
CDP neighbor index : 2
Chassis ID
Port ID
Sofrware version
: SEP00141CBCDBFE
: Port 1
: P0030301MFG2
: Cisco IP Phone 7960
: Full
: SEP00141CBCDBFF
: Port 1
: P0030301MFG2
1-16
Need help?
Do you have a question about the 4210 9-Port and is the answer not in the manual?
Questions and answers