No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

NE40E-M2 V800R010C10SPC500 Configuration Guide - System Management 01

This is NE40E-M2 V800R010C10SPC500 Configuration Guide - System Management
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Managing VSs by a PS Administrator

Managing VSs by a PS Administrator

A Physical System (PS) administrator has the authority to manage Virtual Systems (VSs), including configuring VSs, allocating resources to VSs, and configuring services on VSs.

Usage Scenario

To fully utilize hardware resources and share board resources, a PS can be divided into multiple VSs. Each VS can bear a new type of service independently.

Pre-configuration Tasks

Before configuring VSs, complete the following tasks:

  • Install the PS and power it on properly.

  • Ensure that the PS administrator has the authority to create VSs.

Configuration Procedures

Figure 2-3 Flowchart for VS management by a PS administrator

Creating a VS

A Physical System (PS) administrator can create Virtual Systems (VSs) on the PS, but cannot create, or delete the Admin-VS. The Admin-VS is the default VS on a PS and manages the entire PS. The Admin-VS is automatically created when a PS is being started. All the unassigned resources on a PS belong to the Admin-VS by default. A VS is started as soon as it is created.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run admin

    The admin view is displayed.

  3. Run virtual-system vs-name

    A VS is created and started.

  4. Run port-mode port [ resource-template template-name ]

    A port mode is configured for the VS.

    NOTE:
    You cannot delete the port mode that has been configured for a VS.

  5. (Optional) Run description description

    The description of a VS is displayed.

    The network administrator can configure a description for the VS to describe the service type or usage.

  6. Run commit

    The configuration is committed.

    NOTE:
    In the VS creation process, the NetStream function becomes unavailable in two minutes.

Configuring Hardware Resources for the VS

A Physical System (PS) administrator can allocate board and interface resources to Virtual Systems (VSs) so that the VSs can carry services, or delete board and interface resources so that the services on the VSs can be stopped.

Context

The Admin-VS is the default VS in a PS and manages the PS. All unallocated resources in the PS belong to the Admin-VS by default.

The Admin-VS has all board and interface resources of a PS, and the board and interface resources of the Admin-VS cannot be added to or deleted.

NOTE:
This configuration process is supported only on the Admin-VS.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run admin

    The admin view is displayed.

  3. Run virtual-system vs-name

    The VS view is displayed.

  4. Run assign interface interface-type interface-number

    Interface resources are allocated to the VS.

    Interface allocation must comply with the following rules:
    • The board and interface resources of a VS can be allocated by a PS administrator only.
    • A VS administrator only has the authority to perform operations on the managed VS but not the other VSs.
    • When an interface in the admin VS is allocated to a VS, all configurations on the interface are cleared.
    • Each VS can be allocated a maximum of two PVMB resources.
    • The slot resources deleted from a VS are automatically allocated to the Admin-VS, and the Admin-VS takes over services carried using these slot resources.

  5. (Optional) Run resource cpu weight weight-limit

    A CPU weight value is assigned to the VS.

    You can run this command to change the default CPU weight value.

  6. Run commit

    The configuration is committed.

    NOTE:
    In the VS creation process, the NetStream function becomes unavailable in two minutes.

(Optional) Configuring Logical Resources for the VS

A Physical System (PS) administrator can allocate logical resources to Virtual Systems through two methods.

Context

PS administrator can assign a logical resource to a VS each time, or use a resource template to assign multiple logical resources to a VS in a batch.

NOTE:
This configuration process is supported only on the Admin-VS.

Procedure

  • Assign a logical resource to a VS each time.
    1. Run system-view

      The system view is displayed.

    2. Run admin

      The admin view is displayed.

    3. Run virtual-system vs-name

      A VS is created and started.

    4. Run port-mode port [ resource-template template-name ]

      A port mode is configured for the VS.

      NOTE:
      You cannot delete the port mode that has been configured for a VS.

    5. In virtual system view, run resource { m4route | m6route | u4route | u6route | vpn-instance } upper-limit resource-limit

      Logical resources are assigned to the VS.

    6. Run commit

      The configuration is committed.

  • Assign multiple logical resources to a VS in a batch
    1. Run system-view

      The system view is displayed.

    2. Run admin

      The admin view is displayed.

    3. Run virtual-system vs-name

      A VS is created and started.

    4. Run port-mode port [ resource-template template-name ]

      A port mode is configured for the VS.

      NOTE:
      You cannot delete the port mode that has been configured for a VS.

    5. Run resource-template template-name

      A resources template is created.

    6. In resource template view, run resource { m4route | m6route | u4route | u6route | vpn-instance } upper-limit resource-limit

      Resource items are added to the resource template.

    7. Run assign resource-template template-name

      The resource template is assigned to the VS.

    8. Run commit

      The configuration is committed.

(Optional) Switching a VS

A Physical System (PS) administrator can switch from one Virtual System (VS) to another.

Context

NOTE:
This configuration process is supported only on the Admin-VS.

Procedure

  • Run switch virtual-system vs-name

    The administrator is switched to a target VS.

    The VS name is displayed in the Name field in the display virtual-system command output.

Verifying the VS Configuration

Verify the VS configuration as a PS administrator.

Prerequisites

All VS configurations are complete.

Procedure

  • Run the display virtual-system [ name vs-name ] [ verbose ] command to check basic VS information.
  • Run the display virtual-system [ name vs-name ] resource command to check resource information about a specified VS or all VSs of a PS.

    The parameter name is supported only on the Admin-VS.

  • Run the display virtual-system resource-template command to check resource template information about a specified VS or all VSs of a PS.
  • Run the display virtual-system configuration state command to check the VS configuration status.

Example

# View details of all VSs (Admin-VS and VS1) in the admin view.

[~HUAWEI-admin] display virtual-system verbose
Name         : Admin-VS
Status       : running
Description  : 
Create time  : 2017-03-15 15:07:16
Port mode    : port
System MAC   : 380b-0111-1200
Slot(s)
pvmb         : 17
pvmb         : 18
CPU(s)
slot 17      : 4%
slot 18      : 4%
Resource(s)
u4route      : 4294957295(Max)
m4route      : 15000(Max)
u6route      : 4294966295(Max)
m6route      : 15000(Max)
vpn-instance : 3840(Max)
cpu          : 10(weight)
                                  
Name              : vs1           
Status            : stop          
Description       :               
Port mode         : PORT          
System MAC        : 38ba-98be-d901
Assigned slot(s)                  
  pvmb : 1/5                       
  pvmb : 1/6                       
Assigned interface(s)             
  gigabitethernet0/3/0, slot 3                
Assigned resource(s)              
  u4route : 10000                 
  m4route : 10000                 
  u6route : 1000                  
  m6route : 1000                  
  vpn-instance : 16               
  cpu          : 5(weight)        

# Run the display virtual-system name vs1 resource command to check the logical resource usage of VS1.

[~HUAWEI-admin-vs:vs1] display virtual-system name vs1 resource
VS : vs1
-----------------------------------------------------------
item                   available    used         unused
-----------------------------------------------------------
u4route                10000        0            10000
m4route                10000        0            10000
u6route                1000         0            1000
m6route                1000         0            1000
vpn-instance           16           1            15
cpu weight             10           --           --          
-----------------------------------------------------------    

# Run the display virtual-system resource-template command to check the resource template information of all VSs.

[~HUAWEI-admin] display virtual-system resource-template
source template name: resTemplt1
---------------------------------------
item    amount                
---------------------------------------
u4route          5000                  
u6route          5000                  
m4route          5000                  
m6route          5000                  
vpn-instance     50                    
---------------------------------------
Resource template name: resTemplt2
----------------------------------------
item    amount                    
----------------------------------------
u4route         1000                    
vpn-instance    100                     
----------------------------------------
# Run the display virtual-system configuration state command to check the VS configuration status.
<HUAWEI> system-view
[~HUAWEI] admin
[~HUAWEI-admin] display virtual-system configuration state
-----------------------------------------------------------------
Name                             Saved-configuration             
-----------------------------------------------------------------
Admin-VS                         not saved                       
vs1                              not saved                       
-----------------------------------------------------------------
Download
Updated: 2019-01-02

Document ID: EDOC1100058392

Views: 18310

Downloads: 31

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next