Hà Nội: NTT03, Line 1, Thống Nhất Complex, 82 Nguyễn Tuân, Thanh Xuân, Hà Nội. ● HCM: Số 31B, Đường 1, Phường An Phú, Quận 2 (Thủ Đức), TP HCM. ===> Đơn Vị Hàng Đầu Trong Lĩnh Vực Cung Cấp Thiết Bị Security - Network - Wifi - CCTV - Conference - Máy chủ Server - Lưu trữ Storge.
Danh mục sản phẩm

Configure MAD Fast-Hello Function Example

Network Requirements

  • Device0 and Device1 form the stacking system with Device0 as the control device.
  • Configure the MAD Fast-Hello function so that the services do not become abnormal because of the network configuration conflict after Device1 is split from the stacking system because of the VSL channel failure.

Network Topology

Networking of configuring the MAD Fast-Hello

Figure 2-2 Networking of configuring the MAD Fast-Hello

Configuration Steps

Step 1: Make Device0 and Device1 form the stacking system with Device0 as the control device.

Omitted

Step 2: Configure the MAD Fast-Hello function on Device0.

#Create VLAN2 on Device0 and configure as the control VLAN of MAD Fast-Hello.

Device0#configure terminal
Device0(config)#vlan 2
Device0(config-vlan2)#mad fast-hello control-vlan
Device0(config-vlan2)#exit

#On Device0, configure the link type of port gigabitethernet0/0/1,gigabitethernet1/0/1 as Trunk and add to the control VLAN of MAD Fast-Hello.

Device0(config)#interface tengigabitethernet 0/0/1,1/0/1
Device0(config-if-range)#switchport mode trunk
Device0(config-if-range)#mad fast-hello vlan 2
Device0(config-if-range)#exit

#Disable the spanning tree function of the port gigabitethernet0/0/1, gigabitethernet1/0/1on Device0.

Device0(config)#interface tengigabitethernet 0/0/1,1/0/1
Device0(config-if-range)#no spanning-tree enable
Device0(config-if-range)#exit

Step 3: Configure Device2.

#Create VLAN2 on Device2, configure the link type of the port gigabitethernet0/1,gigabitethernet0/2 as Trunk, and permit the services of VLAN2 to pass.

Device2#configure terminal
Device2(config)#vlan 2
Device2(config-vlan2)#exit
Device2(config)#interface tengigabitethernet 0/1,0/2
Device2(config-if-range)#switchport mode trunk
Device2(config-if-range)#switchport trunk allowed vlan add 2
Device2(config-if-range)#exit

#Disable the spanning tree function of the port gigabitethernet0/1,gigabitethernet0/2 on Device2.

Device2(config)#interface tengigabitethernet 0/1,0/2
Device2(config-if-range)#no spanning-tree enable
Device2(config-if-range)#exit

Step 4: Check the result.

#View the MAD Fast-Hello enabling on Device0.

Device0#show mad fast-hello  
 MAD Fast-Hello Information: 
  Normal interval    : 2000 ms(default: 2000) 
  Aggressive interval : 500 ms(default: 500) 
  Aggressive duration : 120 s (default: 120) 
  Control vlan       : 2 
  --------------  ------------- 
  Interface       Control vlan  
  --------------  -------------
  te0/0/1         2             
  te1/0/1         2             

#After Device1 is split from the stacking system because of the VSL channel failure, the MAD status of the stacking system with Device0 as the control device is Active, and the MAD status of the stacking system with Device1 as the control device is Recovery.

Device0#show mad status  
 MAD status: active 
 
Device1# show mad status  
 MAD status: recovery