beautypg.com

3 port loopback detection function example, Oopback, Etection – QTECH QSW-8300 Инструкция по настройке User Manual

Page 23: Unction, Xample

background image

+7(495) 797-3311 www.qtech.ru

Москва, Новозаводская ул., 18, стр. 1

22

Command

Explanation

Global Mode

loopback-detection control-recovery

timeout <0-3600>

Configure the loopback-detection control

mode (automatic recovery enabled or not) or

recovery time.

3.3 Port Loopback Detection Function Example

Typical example of port loopback detection

As shown in the above configuration, the switch will detect the existence of loopbacks in the

network topology. After enabling the function of loopback detection on the port connecting the

switch with the outside network, the switch will notify the connected network about the

existence of a loopback, and control the port on the switch to guarantee the normal operation

of the whole network.

The configuration task sequence of switch:

Switch(config)#loopback-detection interval-time 35 15

Switch(config)#interface ethernet 1/0/1

Switch(Config-If-Ethernet1/0/1)#loopback-detection special-vlan 1-3

Switch(Config-If-Ethernet1/0/1)#loopback-detection control block

If adopting the control method of block, MSTP should be globally enabled. And the

corresponding relation between the spanning tree instance and the VLAN should be

configured.

Switch(config)#spanning-tree

Switch(config)#spanning-tree mst configuration

Switch(Config-Mstp-Region)#instance 1 vlan 1

Switch(Config-Mstp-Region)#instance 2 vlan 2