Configure MAD Fast-Hello Function
The protocol packets of MAD Fast-Hello are defined by Maipu and directly carry the data needed by the MAD and election.
Configuration Condition
None
Configure MAD Fast-Hello Function
Table 2-3 Configure the MAD Fast-Hello function
Step
|
Command
|
Description
|
Enter the global mode
|
configure terminal
|
-
|
Configure the sending period of the MAD Fast-Hello packets in the normal mode
|
mad fast-hello normal interval interval-time
|
Optional
By default, the sending period of the MAD Fast-Hello packets in the normal mode is 2000ms.
|
Configure the sending period of the MAD Fast-Hello packets in the aggressive mode
|
mad fast-hello aggressive interval interval-time
|
Optional
By default, the sending period of the MAD Fast-Hello packets in the aggressive mode is 500ms.
|
Configure the direction of the aggressive mode
|
mad fast-hello aggressive duration duration-time
|
Optional
By default, the duration of the aggressive mode is 120s.
|
Enter the VLAN configuration mode
|
vlan vlan-id
|
-
|
Configure the control VLAN
|
mad fast-hello control-vlan
|
Mandatory
By default, do not configure the control VLAN.
|
Enter the global mode
|
exit
|
-
|
Enter the L2 Ethernet interface configuration mode
|
interface interface-name
|
-
|
Configure the link type of the port as Trunk
|
switchport mode trunk
|
Mandatory
By default, the port link type is Access.
|
Disable the spanning tree function of the port
|
no spanning-tree enable
|
Mandatory
By default, the port enables the spanning tree function.
|
Configure the control port
|
mad fast-hello vlan vlan-id
|
Mandatory
By default, do not configure the control port.
|
-
The control VLAN and control port of MAD Fast-Hello can only be used for MAD Fast-Hello and cannot configure other services any more.
- On the control port of MAD Fast-Hello, disable the spanning tree function of the port.