Blade ICE G8124-E Manuale Utente

Pagina di 388
BLADEOS 6.5.2 Application Guide
BMD00220, October 2010
Chapter 25: Link Layer Discovery Protocol  

  353
LLDP Example Configuration
1.
Turn LLDP on globally.
2.
Set the global LLDP timer features.
3.
Set LLDP options for each port.
4.
Enable syslog reporting.
5.
Verify the configuration settings:
6.
View remote device information as needed.
RS G8124(config)# lldp enable
RS G8124(config)# lldp transmission-delay 30
(Transmit each 30 seconds)
RS G8124(config)# lldp transmission-delay 2
(No more often than 2 sec.)
RS G8124(config)# lldp holdtime-multiplier 4
(Remote hold 4 intervals)
RS G8124(config)# lldp reinit-delay 2
(Wait 2 sec. after reinit.)
RS G8124(config)# lldp trap-notification-interval
5
(Minimum 5 sec. between)
RS G8124(config)# interface port
<n>
(Select a switch port)
RS G8124(config-if)# lldp admin-status tx_rx
(Transmit and receive LLDP)
RS G8124(config-if)# lldp trap-notification
(Enable SNMP trap notifications)
RS G8124(config-if)# lldp tlv all
(Transmit all optional information)
RS G8124(config-if)# exit
RS G8124(config)# logging log lldp
RS G8124(config)# show lldp
RS G8124(config)# show lldp remote-device
or
RS G8124(config)# show lldp remote-device
<index number>