H3C SR8800 Configuration Manual page 158

10g core routers layer 2 - lan switching
Hide thumbs Also See for SR8800:
Table of Contents

Advertisement

# 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
GigabitEthernet 4/1/1 and GigabitEthernet 4/1/2.
[RouterA] interface gigabitethernet 4/1/1
[RouterA-GigabitEthernet4/1/1] lldp enable
[RouterA-GigabitEthernet4/1/1] lldp admin-status txrx
[RouterA-GigabitEthernet4/1/1] lldp compliance admin-status cdp txrx
[RouterA-GigabitEthernet4/1/1] quit
[RouterA] interface gigabitethernet 4/1/2
[RouterA-GigabitEthernet4/1/2] lldp enable
[RouterA-GigabitEthernet4/1/2] lldp admin-status txrx
[RouterA-GigabitEthernet4/1/2] lldp compliance admin-status cdp txrx
[RouterA-GigabitEthernet4/1/2] quit
Verify the configuration:
2.
# Display the neighbor information on Router A.
[RouterA] display lldp neighbor-information
CDP neighbor-information of port 1[GigabitEthernet4/1/1]:
CDP neighbor index : 1
Chassis ID
Port ID
Sofrware version
Platform
Duplex
CDP neighbor-information of port 2[GigabitEthernet4/1/2]:
CDP neighbor index : 2
Chassis ID
Port ID
Sofrware version
Platform
Duplex
The output shows that Router A has discovered the IP phones connected to GigabitEthernet 4/1/1
and GigabitEthernet 4/1/2, and has obtained their LLDP device information.
: SEP00141CBCDBFE
: Port 1
: P0030301MFG2
: Cisco IP Phone 7960
: Full
: SEP00141CBCDBFF
: Port 1
: P0030301MFG2
: Cisco IP Phone 7960
: Full
148

Advertisement

Table of Contents
loading

Table of Contents