Дерево страниц
Перейти к концу метаданных
Переход к началу метаданных

lldp enable

This command enables switch operation via LLDP.

The use of a negative form (no) of the command disables LLDP protocol usage by switch.

Syntax     

[no] lldp enable

Parameters

The command contains no arguments.

Command mode

CONFIG

Example

ma4000(config)# lldp enable	

lldp hold-multiplier

This command specifies the amount of time for the receiver to keep LLDP packets before dropping them.

This value will be transmitted to the receiving side in the LLDP update packets; and should be an increment for the LLDP timer. Thus, the lifetime of LLDP packets is calculated by the formula: TTL = min(65535, LLDP-Timer * LLDP-HoldMultiplier).

The use of a negative form (no) of the command sets the default value.

Syntax     

lldp hold-multiplier <HOLD>
no lldp hold-multiplier

Parameters

<HOLD> – time, may take values [2 .. 10] seconds.

Default value

4 seconds

Command mode

CONFIG

Example

ma4000(config)# lldp hold-multiplier 5	

lldp reinit

This command sets ninimum amount of time for the LLDP port to wait before LLDP reinitialization.

The use of a negative form (no) of the command sets the default value.

Syntax     

lldp reinit <REINIT>
no lldp reinit

Parameters

<REINIT> – time, may take values [1 .. 10] seconds.

Default value

2 seconds

Command mode

CONFIG

Example

ma4000(config)# lldp reinit 3	

lldp timer

This command specifies how frequently the device will send LLDP information updates.

The use of a negative form (no) of the command sets the default value.

Syntax     

lldp timer <TIMER>
no lldp timer

Parameters

<TIMER> – time, may take values [5..32768] seconds.

Default value

30 seconds

Command mode

CONFIG

Example

ma4000(config)# lldp timer 60	

lldp tx-delay

This commans specifies the delay between the subsequent LLDP packet transmissions caused by the changes of values or status in the local LLDP MIB database.

It is recommended that this delay be less than 0.25* LLDP-Timer.

The use of a negative form (no) of the command sets the default value.

Syntax     

lldp tx-delay <TXDELAY>
no lldp tx-delay

Parameters

<TXDELAY> – time, may take values [1..8192] seconds.

Default value

2 seconds

Command mode

CONFIG

Example

ma4000(config)# lldp tx-delay 3

lldp lldpdu

This command sets the LLDP packet processing mode when LLDP is disabled.

The use of a negative form (no) of the command sets the default value (filtering).

Syntax     

lldp lldpdu <MODE>
no lldp lldpdu

Parameters

<MODE> – LLDP packets processing mode:

  • filtering – LLDP packets are filtered if LLDP is disabled on the switch;
  • flooding – LLDP packets are transmitted if LLDP is disabled on the switch.

Command mode

CONFIG

Example

ma4000(config)# lldp lldpdu flooding

lldp mode

This command sets the operating mode of the LLDP protocol for a specific interface.

The use of a negative form (no) of the command sets the default value.

Syntax     

lldp mode <MODE>
no lldp mode

Parameters

<MODE> – operation mode of LLDP on interface:

  • disabled – denies operation via LLDP;
  • transmit-only – allows only the transmission of packets via LLDP;    
  • receive-only – allows only the reception of packets via LLDP;
  • transmit-receive  – allows transmission and reception of packets via LLDP.

Default value

transmit-receive

Command mode

FRONT-PORT

Example

ma4000(front-port-all)# lldp mode receive-only	

show lldp configuration

This command allows to view the LLDP configuration of all physical interfaces of the device or specified interfaces.

Syntax     

show lldp configuration [front-port <RANGE>]

Parameters

<RANGE> – interface number. The range of values and numbering rules are described in Table 4.1. If you specify the value 'all' in the command, all interfaces of the given type will be specified.
You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - ).

Command mode

ROOT

Example

ma4000# show lldp configuration 
LLDP state: Enabled
Timer: 30 Seconds
Hold multiplier: 4
Reinit delay: 2 Seconds
Tx delay: 2 Seconds
LLDP packets handling: Flooding

   LLDP configuration
   ~~~~~~~~~~~~~~~~~~
Interface              Status             Optional TLVs          
--------------------   ----------------   --------------------   
front-port 1/0         transmit-receive                          
front-port 1/1         transmit-receive                          
front-port 1/2         transmit-receive                          
front-port 1/3         transmit-receive                          
front-port 1/4         transmit-receive                          
front-port 1/5         transmit-receive                          
front-port 2/0         transmit-receive                          
front-port 2/1         transmit-receive                          
front-port 2/2         transmit-receive                          
front-port 2/3         transmit-receive                          
front-port 2/4         transmit-receive                          
front-port 2/5         transmit-receive                    
PD – port description, SN – system name, SD – system descriprion, SC – system capabilities      

show lldp neighbor

This command allows to view information on the neighbour devices on which LLDP is enabled.

Syntax     

show lldp neighbor  [front-port <RANGE>]

Parameters

<RANGE> – interface number. The range of values and numbering rules are described in Table 4.1. If you specify the value 'all' in the command, all interfaces of the given type will be specified.

You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - ).

Command mode

ROOT

Example

ma4000# show lldp neighbor

   LLDP neighbors
   ~~~~~~~~~~~~~~
Interface         Device ID          Port ID            System Name        Capabilities        TTL          
---------------   ---------------   ----------------   ----------------   -------------   ---------   
front-port 1/0    00:02:11:22:e3:a9      g15                                                 94/120       

show lldp local

This command allows to view the LLDP information announced by this interface.

Syntax     

show lldp local [front-port <RANGE>]

Parameters

<RANGE> – interface number. The range of values and numbering rules are described in Table 4.1. If you specify the value 'all' in the command, all interfaces of the given type will be specified.

You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - ).

Command mode

ROOT

Example

ma4000# show lldp local 

   LLDP local TLVs
   ~~~~~~~~~~~~~~~
Interface              Device ID                          Port ID                            TTL          
----------------   --------------------------------   --------------------------------   ----------   
front-port 1/0         a8:f9:4b:88:33:a0                  front-port 1/0                     120        

show lldp statistics

This command allows to view LLDP statistics for front-port, port-channel interfaces.

Syntax     

show lldp statistics [front-port <RANGE>]

Parameters

<RANGE> – interface number. The range of values and numbering rules are described in Table 4.1. If you specify the value 'all' in the command, all interfaces of the given type will be specified.

You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - ).

Command mode

ROOT

Example

ma4000# show lldp statistics 

Tables Last Change Time: 0:0:2:3
Tables Inserts: 1
Tables Deletes: 0
Tables Dropped: 0
Tables Ageouts: 0

   LLDP statistics
   ~~~~~~~~~~~~~~~
Interface    Tx total Rx total Rx errors Rx discarded TLVs discarded TLVs unrecognized Agouts total      
-----------  -------- -------- --------- ------------ -------------- ----------------- ------------   
front-port 1/0   1060   1059      0          0               0               0               0                 
front-port 1/1     0     0        0          0               0               0               0                 
front-port 1/2     0     0        0          0               0               0               0                 
front-port 1/3     0     0        0          0               0               0               0                 
front-port 1/4     0     0        0          0               0               0               0                 
front-port 1/5     0     0        0          0               0               0               0                 
front-port 2/0     0     0        0          0               0               0               0                 
front-port 2/1     0     0        0          0               0               0               0                 
front-port 2/2     0     0        0          0               0               0               0                 
front-port 2/3     0     0        0          0               0               0               0                 
front-port 2/4     0     0        0          0               0               0               0                 
front-port 2/5     0     0        0          0               0               0               0  
  • Нет меток