DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual
256
Example usage
To configure the port’s transmit and receive mode:
DES-1228/ME:4# config lldp ports 1-5 admin_status tx_and_rx
Command: config lldp ports 1-5 admin_status tx_and_rx
Success.
DES-1228/ME:4#
config mgt_addr
Purpose
Used to enable or disable the port(s) which have been specified for advertising the
indicated management address instances.
Syntax
config lldp ports [<portlist>|all] mgt_addr ipv4 <ipaddr> [enable | disable]
Description
This command specifies whether the system’s IP address needs to be advertised from the
specified port. For layer 3 devices, each managed address can be individually specified.
The management addresses that are added in the list will be advertised in the LLDP from
the specified interface associated with each management address. The interface for that
management address will be also advertised in the if-index form.
Parameters
<portlist>
−
Specified a range of ports to be configured.
all
−
To set all ports in the system, you may use the “all” parameter.
ipv4
−
IP address of IPV4.
Restrictions
Only Administrator-level users can issue this command.
Example usage
To enable port 1 to port 2 for manage address entries:
DES-1228/ME:4# config lldp ports 1-2 mgt_addr ipv4 192.168.254.10 enable
Command: config lldp ports 1-2 mgt_addr ipv4 192.168.254.10 enable
Success
DES-1228/ME:4#
config lldp basic_tlvs
Purpose
Used to configure an individual port or group of ports to exclude one or more of the
optional TLV data types from outbound LLDP advertisements.
Syntax
config lldp ports [<portlist>|all] basic_tlvs [all | {port_description | system_name |
system_description | system_capabilities}] [enable | disable]
Description
An active LLDP port on the switch always includes the mandatory data in its outbound
advertisements. And there are four optional data that can be configured for an individual
port or group of ports to exclude one or more of these data types from outbound LLDP
advertisements. The mandatory data type includes four basic types of information (end of
LLDPDU TLV, chassis ID TLV, port ID TLV, Time to Live TLV). The mandatory type can
not be disabled. There are also four data types which can be optionally selected. They are
port_description, system_name, system_description, and system_capability.
Parameters
<portlist>
−
Specified a range of ports to be configured.
all
−
To set all ports in the system, you may use the “all” parameter.
port_description
−
This TLV optional data type indicates that LLDP agent should transmit
'Port Description TLV on the port.
The default state is disabled.
system_name
−
This TLV optional data type indicates that the LLDP agent should transmit