Configuring an AS
Context
An AS in an SVF system can be a standalone switch or a stack. If an AS is a stack, pre-configure the stack function on the AS and then connect the AS to the SVF system. That is, you can perform the following operations in sequence: log in to the AS through the console port, set up a stack for the AS, clear the configuration on the AS, restart the AS, log out from the AS, configure the parent, and connect the AS to the SVF system using cables. For stack configuration details, see Stack Configuration in the Configuration Guide - Device Management of fixed switches.
When the parent is connected to an AS across a network, the fabric port, management VLAN, and client mode of the AS must be manually configured. Additionally, the AS must meet the following conditions before going online.
No. |
Condition |
Description |
---|---|---|
1 |
The AS is unconfigured (without any startup configuration file and input on the console port). |
If one of the following conditions is met, the AS has gone online and input is allowed on its console port:
|
2 |
If the AS is a stack, it contains a maximum of five member switches of which the stack ID ranges from 0 to 4. |
If the number of member switches exceeds 5 or the stack ID is larger than 4, the AS cannot go online to connect to the SVF system. |
3 |
Each AS has a unique management MAC address. |
By default, an AS uses its system MAC address as the management MAC address to connect to an SVF system. When the management MAC address of an AS conflicts with that of another AS, you can run the as access manage-mac mac-address command to change the management MAC address so as to prevent MAC address conflicts. When an AS is a stack of multiple devices:
|
Configuring a Management VLAN and Enabling the Client Mode
Context
When an AS connects to an SVF system through a Layer 2 network, you must configure the device to work in client mode, configure a management VLAN.
- The management VLAN of the AS must be consistent with the management VLAN configured on the parent.
- The VCMP role switching command is mutually exclusive with the command that configures a device to work in client mode. If the current device is not a silent switch in a VCMP domain, the device cannot be configured to work in client mode. You must run the vcmp role silent command in the system view to set the VCMP role of the device to silent. After a device is configured to work in client mode, the VCMP role switching command cannot be executed. That is, the device cannot change from the silent role to another role.
- The slot ID of the AS cannot be greater than or equal to 5. Otherwise, the management VLAN cannot be configured for the AS.
- The management VLAN cannot be configured for the AS after the slot ID of the AS is changed using the stack slot slot-id renumber new-slot-id command.
Configuring a Fabric Port (on an AS)
Context
When an AS connects to an SVF system across a Layer 2 network, the fabric port that connects the AS to the parent needs to be manually configured and has member ports added. A switch's uplink and downlink ports can be configured as member ports of an AS-side fabric port.
The command that configures the stack ID is mutually exclusive with the command that configures a member port for a fabric port:
After the stack slot slot-id renumber new-slot-id command is executed in a specified slot, the port in the slot cannot be configured as a member port of a fabric port, and the message "Error: Operation failed. The slot already has stack slot renumber configuration." is displayed.
After a port in a slot is configured as a member port of a fabric port, the stack ID of the slot cannot be configured using the stack slot slot-id renumber new-slot-id command, and the message "Error: The slot already has fabric port member configuration. Delete the existing fabric port member configuration first." is displayed.
You need to configure a member port of a fabric port according to the network configuration. A member port needs to be reconfigured if the stack ID changes because the stack changes, for example, the stacking function is disabled, or existing stack IDs conflict after member devices are added to the stack.
Procedure
- Run the uni-mng indirect fabric-port member interface interface-type interface-number command to configure the switch's specified uplink port as a member port of the fabric port that connects the AS to the parent across a network.
- (Optional) Run the uni-mng up-direction fabric-port member interface interface-type interface-number [ to interface-number ] command to configure the switch's specified downlink port as a member port of the fabric port that connects the AS to the parent across a network.
If you use a downlink port as a member port of a fabric port, you must run the uni-mng up-direction fabric-port command.
You can run this command multiple times to add multiple member ports to the fabric port. A maximum of eight member ports can be added to a fabric port.
Member ports of a fabric port are added to Eth-Trunk0 by default.
Ports used to set up a stack cannot be configured as member ports of a fabric port.