HP A5120 EI Series Configuration Manual page 188

Lan switching
Hide thumbs Also See for A5120 EI Series:
Table of Contents

Advertisement

<SwitchA> system-view
[SwitchA] lldp enable
# Enable LLDP on GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2. (You can skip this step because
LLDP is enabled on ports by default.) Set the LLDP operating mode to Rx.
[SwitchA] interface gigabitethernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] lldp enable
[SwitchA-GigabitEthernet1/0/1] lldp admin-status rx
[SwitchA-GigabitEthernet1/0/1] quit
[SwitchA] interface gigabitethernet 1/0/2
[SwitchA-GigabitEthernet1/0/2] lldp enable
[SwitchA-GigabitEthernet1/0/2] lldp admin-status rx
[SwitchA-GigabitEthernet1/0/2] quit
Configure Switch B.
2.
# Enable LLDP globally. (You can skip this step because LLDP is enabled globally by default.)
<SwitchB> system-view
[SwitchB] lldp enable
# Enable LLDP on GigabitEthernet1/0/1. (You can skip this step because LLDP is enabled on ports by
default.) Set the LLDP operating mode to Tx.
[SwitchB] interface gigabitethernet 1/0/1
[SwitchB-GigabitEthernet1/0/1] lldp enable
[SwitchB-GigabitEthernet1/0/1] lldp admin-status tx
[SwitchB-GigabitEthernet1/0/1] quit
Verify the configuration
3.
# Display the global LLDP status and port LLDP status on Switch A.
[SwitchA] display lldp status
Global status of LLDP: Enable
The current number of LLDP neighbors: 2
The current number of CDP neighbors: 0
LLDP neighbor information last changed time: 0 days,0 hours,4 minutes,40 seconds
Transmit interval
Hold multiplier
Reinit delay
Transmit delay
Trap interval
Fast start times
Port 1 [GigabitEthernet1/0/1]:
Port status of LLDP
Admin status
Trap flag
Polling interval
Number of neighbors:
Number of MED neighbors
Number of CDP neighbors
Number of sent optional TLV
: 30s
: 4
: 2s
: 2s
: 5s
: 3
: Enable
: Rx_Only
: No
: 0s
1
: 1
: 0
: 0
181

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents