< Home

vm-user association-type

Function

The vm-user association-type command configures the association type of a virtual user.

Only the S5720-EI supports this command.

Format

vm-user association-type { online | pre-online | offline } mac-address mac-address interface interface-type interface-number vlan vlan-id [ ip-address ip-address | profile profile-name | vsi vsi-name ] *

Parameters

Parameter Description Value
online

Indicates that the association type of the virtual user is online.

-

pre-online

Indicates that the association type of the virtual user is pre-online.

-

offline

Indicates that the association type of the virtual user is offline.

-

mac-address mac-address

Specifies the MAC address of the virtual user.

The value is in H-H-H format. H contains 1 to 4 hexadecimal digits.

interface interface-type interface-number

Specifies the number or name of an interface for associating with a virtual user.

  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

vlan vlan-id

Specifies the VLAN to which the virtual user belongs.

The value is an integer that ranges from 0 to 4094.

ip-address ip-address

Specifies the IP address of the virtual user.

The value is in dotted decimal notation.

profile profile-name

Specifies the profile to which the virtual user belongs.

The value is a string of 1 to 64 case-sensitive characters without spaces.

vsi vsi-name

Specifies the name of the virtual site interface.

The value is a string of 1 to 64 case-sensitive characters without spaces.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In virtual network management, you must configure the function specified by the vm-user association-type command on the network management system (NMS) so that virtual users can access the network. The NMS then delivers the function configuration to the device. After receiving the related function configuration, the device automatically runs the vm-user association-type command to configure the association type of the virtual user.

Precautions

This command should be configured by the network administrator on the NMS and delivered to the device. You are not advised to directly run this command on the device.

Example

# Set the association type of the virtual user with the MAC address 1-1-1 in VLAN 10 on GE0/0/1 to pre-online.
<HUAWEI> system-view
[HUAWEI] vm-user association-type pre-online mac-address 1-1-1 interface gigabitethernet 0/0/1 vlan 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >