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

Command Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
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).
Virtualization Perception Configuration Commands

Virtualization Perception Configuration Commands

NOTE:

The CE6880EI does not support this feature.

access-mode active-standby

Function

The access-mode active-standby command sets the access mode of a device to active/standby.

The undo access-mode active-standby command restores the access mode of a device to non-active/standby.

By default, the device uses the non-active/standby mode as the access mode.

Format

access-mode active-standby

undo access-mode active-standby

Parameters

None

Views

VM management view

Default Level

2: Configuration level

Usage Guidelines

A server can access the data center network using a single NIC or using active and standby NICs. The access mode of a network device must match the access mode of the server. If a server accesses the network using a single NIC, a network device must access the network in non-active/standby mode. If the server accesses the network using active and standby NICs, the network device must access the network in active/standby mode.

Example

# Set the access mode of the device to active/standby.

<HUAWEI> system-view
[~HUAWEI] vm-manager
[~HUAWEI-vm-manager] access-mode active-standby

# Restore the access mode of the device to non-active/standby.

<HUAWEI> system-view
[~HUAWEI] vm-manager
[~HUAWEI-vm-manager] undo access-mode active-standby

default-profile

Function

The default-profile command configures a default QoS policy and ACL for VMs.

The undo default-profile command deletes a default QoS policy and ACL configured for VMs.

By default, no default QoS policy or ACL is configured for VMs.

Format

default-profile [ qos cir cir-value [ pir pir-value ] outbound | acl name acl-name { outbound | inbound } ]

undo default-profile { qos | acl }

Parameters

Parameter Description Value
qos

Indicates quality of service.

-

cir cir-value

Indicates the committed information rate.

The value is an integer ranging from 8 to 838860800, in kbit/s.

pir pir-value

Indicates the peak information rate.

The value is an integer ranging from 8 to 838860800, in kbit/s. The PIR must be larger than CIR.

outbound

Indicates the outbound direction of an interface.

-

name acl-name

Indicates the name of an ACL.

The value is a string of 1 to 32 case-sensitive characters except spaces. The value must start with a letter (case-sensitive).

inbound

Specifies the inbound direction of an interface.

-

Views

VM management view

Default Level

2: Configuration level

Usage Guidelines

When a VM fails to obtain a policy, the default-profile command can be used to configure a default QoS policy or ACL for the VM.

Example

# Configure a default QoS policy for VMs.

<HUAWEI> system-view
[~HUAWEI] vm-manager
[~HUAWEI-vm-manager] default-profile qos cir 100 pir 200 outbound

display vm-manager vsi

Function

The display vm-manager vsi command displays information about VMs.

Format

display vm-manager vsi [ interface interface-type interface-number | mac-address mac-address | vlan vlan-id ] [ verbose ]

Parameters

Parameter Description Value
interface interface-type interface-number Displays VM login information on an interface.
  • interface-type specifies an interface type.
  • interface-number specifies an interface number.
-
mac-address mac-address Displays the login information of a VM with a specific MAC address. The value is in H-H-H format. An H is a hexadecimal number of 1 to 4 digits. The value cannot be a broadcast or multicast MAC address.
vlan vlan-id Displays the login information of a VM in a specific VLAN. The value is an integer that ranges from 1 to 4094, except reserved VLAN IDs, which can be configured using the vlan reserved command.
verbose Displays details of VMs. -

Views

all views

Default Level

1: Monitoring level

Usage Guidelines

After a VM goes online on a server virtualization perception network, the display vm-manager vsi command can be used to display VM information on a ToR.

Example

# Display VM information on 10GE1/0/1.

<HUAWEI> display vm-manager vsi interface 10ge 1/0/1
Total items = 1         
----------------------------------------------------
VLAN  MAC Address     Interface                  IP Address      
----------------------------------------------------
2     0000-0000-0001  10GE1/0/1                  10.10.10.10   
# Display information about VM login and logout in VLAN 2.
<HUAWEI> display vm-manager vsi vlan 2
VLAN      : 2
MAC       : 0000-0000-0001
Interface : 10GE1/0/1
IP        : 10.10.10.10
Profile   : 1
Download Profile : fail
Upload Profile   : fail

User Defined QoS Information:
    Committed Access Rate:
    CIR : 661        (Kbps)
    PIR : 661        (Kbps)

User Defined Security Information:
    ACL Name : zdsacl222
    Direction  Action  Protocol Source IP/Mask     Destination IP/Mask
                                Source Port        Destination Port  
    ------------------------------------------------------------------
    inbound    permit  ip       10.10.10.1/23      any                
                                any                any      
Table 14-61  Description of the display vm-manager vsi command output

Item

Description

Interface

Interface that connects a server on which a VM resides to a ToR

VLAN

VLAN ID of a VM If the VLAN ID is 0, the field value is default.

MAC Address

MAC address of a VM

IP Address

IP address of a VM

MAC

MAC address of a VM

IP

IP address of a VM

Profile

Profile ID

Download Profile

The result of downloading a VM policy:
  • waiting

  • fail

  • success

Upload Profile

The result of uploading a VM policy:
  • waiting

  • fail

  • success

User Defined QoS Information

User-defined QoS information

Committed Access Rate

Committed access rate

CIR

Committed information rate

PIR

Peak information rate

User Defined Security Information:

User-defined security information

ACL Name

ACL name

Direction

Direction of an interface:
  • inbound

  • outbound

Action

Action taken on protocol packets:
  • deny

  • permit

Protocol

Protocol type

Source IP/Mask

Source IP address/mask

Destination IP/Mask

Destination IP address/mask

Source Port

Source port number

Destination Port

Destination port number

display snmp-agent trap feature-name virtual-perception all

Function

The display snmp-agent trap feature-name virtual-perception all command displays all trap information about the virtual-perception module.

Format

display snmp-agent trap feature-name virtual-perception all

Parameters

None

Views

All views

Default Level

3: Management level

Usage Guidelines

The Simple Network Management Protocol (SNMP) is a standard network management protocol widely used on TCP/IP networks. It uses a central computer (a network management station) that runs network management software to manage network elements. The management agent on the network element automatically reports traps to the network management station. Then, the network administrator immediately takes measures to resolve the problem.

The display snmp-agent trap feature-name virtual-perception all command can be used to display all traps on the error-down module.
  • Name of a trap supported on the error-down module: The trap name must be the same as that specified by the snmp-agent trap enable feature-name virtual-perception trap-name trap-name command. The name of each trap indicates a fault on the network element.

  • Trap status on the virtual-perception module: The trap name shows whether sending a trap is enabled.

Example

# Display all trap information about the virtual-perception module.

<HUAWEI> display snmp-agent trap feature-name virtual-perception all
------------------------------------------------------------------------------
Feature name: VIRTUAL-PERCEPTION
Trap number : 2
------------------------------------------------------------------------------
Trap name                      Default switch status   Current switch status  
hwVpVmDownloadProfileFault     on                      on
hwVpVmDownloadProfileFaultResume
                               on                      on
Table 14-62  Description of the display snmp-agent trap feature-name error-down all command output

Item

Description

Feature name

Name of the module that the trap message belongs

Trap number

Number of trap messages

Trap name

Alarm name:
  • hwVpVmDownloadProfileFault: downloading a VM policy failed alarm

  • hwVpVmDownloadProfileFaultResume: downloading a VM policy failed clear alarm

Default switch status

Status of the trap function by default:
  • on: The trap function is enabled.
  • off: The trap function is disabled.

Current switch status

Current status of the trap function:
  • on: The trap function is enabled.
  • off: The trap function is disabled.

radius server group (VM management view)

Function

The radius server group command configures a RADIUS server template for a domain.

The undo radius server group command deletes the RADIUS server template configured for a domain.

Format

radius server group group-name

undo radius server group

Parameters

Parameter Description Value
group-name Specifies the name of a RADIUS server template. The name of a RADIUS server template must already exist.

Views

VM management view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A VM-based ACL or QoS policy applies to a TOR to control user service types and traffic policies on a virtualization perception network. RADIUS is used to deliver an ACL or a QoS policy to a TOR.

Prerequisites

You have run the radius server group command in the system view to configure a RADIUS server template.

Example

# Configure a RADIUS server template named huawei for a domain.

<HUAWEI> system-view
[~HUAWEI] vm-manager
[~HUAWEI-vm-manager] radius server group huawei

share-interface

Function

The share-interface command adds an interface to a shared interface group.

The undo share-interface command removes an interface from a shared interface group.

By default, a shared interface group has no interface.

Format

share-interface { interface-type interface-number } &<1–4>

undo share-interface { interface-type interface-number } &<1–4>

Parameters

Parameter Description Value
interface-type interface-number Specifies the name of an interface added to a shared interface group.
  • interface-type specifies an interface type.
  • interface-number specifies an interface number.
-

Views

Shared interface group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a server with dual network cards is connected to a TOR stack in master/slave or load balancing mode and the user-policy share-group command is used to create a shared interface group, the share-interface command can be used to add the interfaces that connect the TOR to the master and slave network cards to the shared interface group. When a VM goes online, the policy of the VM applies to the shared interface group.

Prerequisites

You have run the user-policy share-group command in the VM view to create a shared interface group.

Configuration Impact

After the share-interface command is used to add interfaces to a shared interface group and a VM goes online from an interface in the shared interface group, all interfaces in the shared interface group will apply the policy, such as an ACL or a QoS policy, of the VM.

Example

# Add 10GE1/0/1 to shared interface group 1.

<HUAWEI> system-view
[~HUAWEI] vm-manager
[~HUAWEI-vm-manager] user-policy share-group 1
[*HUAWEI-vm-manager-1] share-interface 10ge 1/0/1

snmp-agent trap enable feature-name virtual-perception

Function

Using the snmp-agent trap enable feature-name virtual-perception command, you can enable the trap function of the virtual-perception module.

Using the undo snmp-agent trap enable feature-name virtual-perception command, you can disable the trap function of the virtual-perception module.

By default, the trap function of the virtual-perception module is enabled.

Format

snmp-agent trap enable feature-name virtual-perception trap-name trap-name

undo snmp-agent trap enable feature-name virtual-perception [ trap-name trap-name ]

Parameters

Parameter Description Value
trap-name trap-name
Indicates the trap function of a specified type of trap messages of the error-down module.
  • hwVpVmDownloadProfileFault: downloading a VM policy failed alarm.

  • hwVpVmDownloadProfileFaultResume: downloading a VM policy failed clear alarm.

-

Views

System view

Default Level

3: Management level

Usage Guidelines

To enable the trap function for one or more specific events of the virtual-perception module, specify trap-name.

Example

# Enable the trap function of virtual-perception alarms.

<HUAWEI> system-view
[~HUAWEI] snmp-agent trap enable feature-name virtual-perception trap-name hwvpvmdownloadprofilefault

user-policy share-group

Function

The user-policy share-group command creates a shared interface group and displays the shared interface group view.

The undo user-policy share-group command deletes a shared interface group.

By default, no shared interface group is configured on a device.

Format

user-policy share-group group-name

undo user-policy share-group group-name

Parameters

Parameter Description Value
group-name Specifies the name of a shared interface group. The name is a string of 1 to 15 case-insensitive characters without spaces. The characters can be letters (including A to Z and a to z), digits (0 to 9), dot (.), en dash (-), and underscore (_).

Views

VM management view

Default Level

2: Configuration level

Usage Guidelines

When a server with dual network cards is connected to a TOR stack in master/slave or load balancing mode, you can run the command to add the interfaces that add the interfaces that connect the TOR to the master and slave network cards to a shared interface group. The interfaces in a shared interface group use the same ACL or QoS policy.

Example

# Create shared interface group 1.

<HUAWEI> system-view
[~HUAWEI] vm-manager
[~HUAWEI-vm-manager] user-policy share-group 1
[*HUAWEI-vm-manager-1]

vm-manager

Function

The vm-manager command displays the VM management view.

Format

vm-manager

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

During server virtualization perception, run the vm-manager command to enter the VM management view before configure a shared interface group or a RADIUS server template on a TOR.

Example

# Displays the VM management view.

<HUAWEI> system-view
[~HUAWEI] vm-manager
[~HUAWEI-vm-manager]

vsi authentication

Function

The vsi authentication command sets the RADIUS authentication password for VMs.

The undo vsi authentication command deletes the RADIUS authentication password for VMs.

Format

vsi authentication password cipher password

undo vsi authentication password cipher

Parameters

Parameter

Description

Value

cipher password

Configures a password in cipher text.

The value is a character string. A simple password is a string of 6 to 16 characters. A valid ciphertext password contains 48, 108, or 128 characters. The password must contain at least two types of uppercase letters (A to Z), lowercase letters (a to z), digits (0 to 9), periods (.), hyphens (-), and underscores (_).

NOTE:

A 24-character or 32-character ciphertext password configured in an earlier version is also supported in this version.

Views

VM management view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a VM attempts to go online, the ToR switch sends a password to nCenter to initiate RADIUS authentication. This command sets the RADIUS authentication password.

Prerequisites

You have entered the VM management view using the vm-manager command.

Example

# Set the RADIUS authentication password for VMs to Huawei-123.

<HUAWEI> system-view
[~HUAWEI] vm-manager
[~HUAWEI-vm-manager] vsi authentication password cipher Huawei-123
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 52519

Downloads: 339

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