Zyxel XGS4700-48F [172/358] This example enables lldp on the switch sets port 2 to send and receive lldp packets and allows the switch to send optional basic management tlvs such as management address...

Zyxel XGS4700-48F [172/358] This example enables lldp on the switch sets port 2 to send and receive lldp packets and allows the switch to send optional basic management tlvs such as management address...
Chapter 35 Link Layer Discovery Protocol (LLDP) Commands
Ethernet Switch CLI Reference Guide
172
35.3 Command Examples
This example enables LLDP on the Switch, sets port 2 to send and receive LLDP packets and
allows the Switch to send optional basic management TLVs (such as management-address,
port-description and system-description TLVs) on port 2. This example also shows the LLDP
settings on port 2 and global LLDP settings on the Switch.
show lldp statistic interface port-
channel <port-list>
Displays LLDP statistics of the specified port(s). E 13
clear lldp statistic Resets the LLDP statistics counters to zero. E 13
clear lldp remote_info Deletes all device information from the neighboring
devices.
E13
clear lldp remote_info interface
port-channel <port-list>
Deletes remote device information on the specified
port(s).
E13
Table 96 lldp Command Summary (continued)
COMMAND DESCRIPTION M P
sysname# configure
sysname(config)# lldp
sysname(config)# interface port-channel 2
sysname(config-interface)# lldp admin-status tx-rx
sysname(config-interface)# lldp basic-tlv management-address
sysname(config-interface)# lldp basic-tlv port-description
sysname(config-interface)# lldp basic-tlv system-description
sysname(config-interface)# exit
sysname(config)# exit
sysname# show lldp config interface port-channel 2
LLDP Port Configuration:
Port AdminStatus Notification BasicTLV Dot1TLV Dot3TLV
2 tx-rx Disable P-D-M -- ----
Basic TLV Flags: (P)Port Description, (N)System Name, (D)System
Description
(C)System Capabilities, (M)Management Address
802.1 TLV Flags: (P)Port & Protocol VLAN ID, (V)Port VLAN ID
802.3 TLV Flags: (L)Link Aggregation, (M)MAC/PHY Configuration/Status
(F)Maximun Frame Size, (P)Power Via MDI
sysname# show lldp config
LLDP Global Configuration:
Active: Yes
Transmit Interval: 30 seconds
Transmit Hold: 4
Transmit Delay: 2 seconds
Reinitialize Delay: 2 seconds
sysname#

Содержание

Похожие устройства

Скачать