The flush send command enables a Smart Link group to send Flush packets.
The undo flush send command disables a Smart Link group from sending Flush packets.
By default, a Smart Link group is disabled from sending Flush packets.
flush send control-vlan vlan-id [ password { simple | sha } password ]
undo flush send [ control-vlan vlan-id [ password { simple | sha } password ] ]
Parameter |
Description |
Value |
---|---|---|
control-vlan vlan-id |
Specifies the control VLAN ID of the Flush packets to be sent. |
The value is an integer that ranges from 1 to 4094. |
password simple |
Indicates that the Flush packets sent from the Smart Link group contain a password in plain text. NOTE:
The password is saved in the configuration file in cipher text for security. |
- |
password sha |
Indicates that the Flush packets sent from the Smart Link group contain an SHA2-256-encrypted password. NOTE:
The password is saved in the configuration file in cipher text for security. |
- |
password |
Specifies the password carried in Flush packets. |
The value is a string of 6 to 16 case-sensitive characters in plain text and consists of at least two of the following: lowercase letters, uppercase letters, digits, and special characters excluding question marks (?) and spaces. |
Usage Scenario
When a switchover occurs between the master and slave links in a Smart Link group, the existing forwarding entries do not apply to the new topology. All the MAC address entries and ARP entries on the network need to be updated. Therefore, the Smart Link group sends Flush packets to request other devices to update their MAC address tables and ARP tables.
The flush send command enables a Smart Link group to send Flush packets and sets the encryption mode, control VLAN ID, and password for Flush packets.
Prerequisites
A Smart Link group has been created using the smart-link group command.
Follow-up Procedure
Run the smart-link flush receive command on the upstream device interface to enable the interface to receive Flush packets. Ensure that the control VLAN ID and password set for the Flush packets received by the upstream device are the same as those set for the Flush packets sent by the local device. That is, the control VLAN ID and password in Flush packets sent by a device must be the same as those in Flush packets received by the device.
Precautions
The specified control VLAN exists on the device. If it does not exist, the Flush packets fail to send.
The control VLAN cannot be the VLAN mapped by a VBST dynamic instance.
The control VLAN must be in the protected instance list configured by the protected-vlan reference-instance command.
The Flush packets mentioned here are used only for communication between Huawei S series switches and CE series switches. Other manufacturers may define the Flush packet format differently. The peer device must be enabled to receive Flush packets.
The original encryption mode and password are deleted after you run this command to configure the new ones.
For security purposes, you are advised to use SHA as the authentication algorithm of Smart Link.
The original password cannot be retrieved after it is encrypted using the SHA2-256 algorithm. If you forget your password, configure a new password.