vlan domain

Function

The vlan domain command specifies the mapping between packets with the specified VLAN IDs and domains.

The undo vlan domain command cancels the mapping between packets with the specified VLAN IDs and domains.

By default, there is no mapping between packets with the specified VLAN IDs and domains.

This command is supported only on the NetEngine 8000 F1A.

Format

vlan vlan-id1 [ vlan-id2 ] domain domain-name

undo vlan vlan-id1 [ vlan-id2 ] domain domain-name

Parameters

Parameter Description Value
vlan-id1

Specifies the start VLAN ID. For a double-tagged packet, this parameter specifies the start VLAN ID of the inner or outer tag of the packet.

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

vlan-id2

Specifies the end VLAN ID. For a double-tagged packet, this parameter specifies the end VLAN ID of the inner or outer tag of the packet.

The value ranges from start-vlan-id + 1 to 4094.

domain-name

Specifies the domain name.

It is a string of 1 to 64 case-insensitive characters without spaces.

Views

Service policy view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-control write

Usage Guidelines

Usage Scenario

Before configuring the vlan domain command, you need to run the service-identify-policy command in the system view to create service identification policies, and to configure the mode of identifying services represented by the inner or outer VLAN ID by running the service-identify command.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Map the packets with the VLAN ID ranging from 100 to 200 to the domain named huawei.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] domain huawei
[*HUAWEI-aaa-domain-huawei] commit
[~HUAWEI-aaa-domain-huawei] quit
[~HUAWEI-aaa] quit
[~HUAWEI] service-identify-policy test
[~HUAWEI-serviceid-policy-test] service-identify inner-vlan
[~HUAWEI-serviceid-policy-test] vlan 100 200 domain huawei
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >