H3C Technologies H3C S10500 Series Switches User Manual

Page 245

Advertising
background image

234

[SwitchA-GigabitEthernet1/0/1] lldp admin-status txrx

[SwitchA-GigabitEthernet1/0/1] lldp compliance admin-status cdp txrx

[SwitchA-GigabitEthernet1/0/1] quit

[SwitchA] interface gigabitethernet 1/0/2

[SwitchA-GigabitEthernet1/0/2] lldp enable

[SwitchA-GigabitEthernet1/0/2] lldp admin-status txrx

[SwitchA-GigabitEthernet1/0/2] lldp compliance admin-status cdp txrx

[SwitchA-GigabitEthernet1/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[GigabitEthernet1/0/1]:

CDP neighbor index : 1

Chassis ID : SEP00141CBCDBFE

Port ID : Port 1

Sofrware version : P0030301MFG2

Platform : Cisco IP Phone 7960

Duplex : Full

CDP neighbor-information of port 2[GigabitEthernet1/0/2]:

CDP neighbor index : 2

Chassis ID : SEP00141CBCDBFF

Port ID : Port 1

Sofrware version : P0030301MFG2

Platform : Cisco IP Phone 7960

Duplex : Full

As the sample output shows, Switch A has discovered the IP phones connected to GigabitEthernet 1/0/1
and GigabitEthernet 1/0/2, and has obtained their LLDP device information.

Advertising