How do I configure VSs

22

The following describes the basic configuration procedure, which is for reference only. For the detailed configuration procedure and precautions, see the appropriate configuration guide.
<HUAWEI> system-view
[~HUAWEI] admin
[~HUAWEI-admin] virtual-system vs1      //Create a VS named vs1.
[*HUAWEI-admin-vs:vs1] port-mode group      //Configure vs1 to work in group mode.(VSs can work in group or port mode.)
[*HUAWEI-admin-vs:vs1] assign interface 10GE 1/0/0      //Allocate a physical port to vs1.
Warning: All configurations of the interfaces will be deleted. All interfaces of
 the same group will be assigned. Continue? [Y/N]: y
[*HUAWEI-admin-vs:vs1] quit
[*HUAWEI-admin] commit
[~HUAWEI-admin] display virtual-system
---------------------------------------------
Name                             Status
---------------------------------------------
Admin-VS                         running
vs1                              running
---------------------------------------------
If the status of a VS is running, the VS is created.

Other related questions:
How to assign ports to VSs
VSs work in group mode and port mode. The admin-VS cannot be configured and can be considered a VS in port mode.

- All the ports on the same forwarding chip of an LPU must be assigned to VSs in group mode.
You can run the display device port-map [ slot slot-id ] command in the user or system view to check ports on an LPU that belong to the same forwarding chip.
<HUAWEI> display device port-map slot 1
-------------------------------------------------------------------------
Slot    Type           Engine    Interface
-------------------------------------------------------------------------
1       CE-L24XS-EA    0         10GE1/0/0     - 10GE1/0/23
-------------------------------------------------------------------------
For example, if 24 ports on a CE-L24XS-EA belong to the same forwarding chip, all these ports will be assigned to VSs in group mode.

- Any ports on an LPU can be assigned to VSs in port mode according to network requirements.

How are patch files loaded for VSs
System patch files can only be loaded in the Admin-VS, but not in other VSs.

Do VSs on CE series switches support multicast functions
Among all VSs in port mode, only the admin-VS supports multicast functions. All VSs in group mode support multicast functions.

Can VSs directly communicate with each other
Each VS can be considered an independent device. VSs cannot directly communicate even if they reside on the same physical device. VSs can directly communicate only when they are connected using physical ports, similar to the direct communication between physical devices.

How to check the port groups on CE12800 switches when VSs are allocated
Two modes are available for the VSs on CE12800 switches:
- Port mode: Any port on an interface card can be flexibly allocated to any VS.

- Port group mode: All ports on the same forwarding chip of an interface card must be allocated to the same VS. When VSs in port group mode are allocated, you need to know the mappings between the ports and forwarding chips to reasonably plan the use of the ports. You can run the display device port-map [ slot slot-id ] command on a CE12800 to check the mappings between the ports and forwarding chips.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top