set lldp port status
5-24 Discovery Protocol Configuration
Example
ThisexamplesetsthenumberoffaststartLLDPDUstobesentto4.
D2(rw)->set lldp med-fast-repeat 4
set lldp port status
UsethiscommandtoenableordisabletransmittingandprocessingreceivedLLDPDUsonaport
orrangeofports.
Syntax
set lldp port status {tx-enable | rx-enable | both | disable} port-string
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Example
ThisexampleenablesbothtransmittingLLDPDUsandreceivingandprocessingLLDPDUsfrom
remotesystemsonports
ge.1.1throughge.1.6.
D2(rw)->set lldp port status both ge.1.1-6
set lldp port trap
UsethiscommandtoenableordisablesendingLLDPnotifications(traps)whenaremotesystem
changeisdetected.
Syntax
set lldp port trap {enable | disable} port-string
Parameters
tx‐enable EnablestransmittingLLDPDUsonthespecifiedports.
rx‐enable EnablesreceivingandprocessingLLDPDUsfromremotesystemson
thespecifiedports.
both Enablesbothtransmitti ngand processingreceivedLLDPDUsonthe
specifiedports.
disable DisablesbothtransmittingandprocessingreceivedLLDPDUsonthe
specifiedports.
port‐string Specifiestheportorrangeof
portstobeaffected.
enable EnabletransmittingLLDPtrapsonthespecifiedports.
disable DisabletransmittingLLDPtrapsonthespecifiedports.
port‐string Specifiestheportorrangeofportstobeaffected.