Qtech QSW-2100-12T [319/348] 1 example for configuring basic functions of lldp

Qtech QSW-2100-12T [319/348] 1 example for configuring basic functions of lldp
QTECH QSW-2100-12T Configuration Guide (CLI)
11 System management
303
11.2.11 Example for configuring basic functions of LLDP
Networking requirements
Switches are connected to the QNMS system. Enable LLDP on links between Switch A and
Switch B. And then you can query the Layer 2 link changes through the QNMS system. If the
neighbour is aged, the neighbour is added, or the neighbour information changes, Switch A
and Switch B sends LLDP alarm to the QNMS system.
Configuration steps
Step 1 Enable LLDP globally and enable LLDP alarm.
Configure Switch A.
QTECH#hostname SwitchA
SwitchA#config
SwitchA(config)#lldp enable
SwitchA(config)#snmp-server lldp-trap enable
Configure Switch B.
QTECH#hostname SwitchB
SwitchB#config
SwitchB(config)#lldp enable
SwitchB(config)#snmp-server lldp-trap enable
Step 2 Configure management IP addresses.
Configure Switch A.
SwitchA(config)#create vlan 1024 active
SwitchA(config)#interface port 1
SwitchA(config-port)#switchport access vlan 1024
SwitchA(config-port)#exit
SwitchA(config)#interface ip 1
SwitchA(config-ip)#ip address 10.10.10.1 1024
SwitchA(config-ip)#exit
Configure Switch B.
SwitchB(config)#create vlan 1024 active
SwitchB(config)#interface port 1
SwitchB(config-port)#switchport access vlan 1024

Содержание

Скачать