The ais vlan command sets a range for VLANs to which the maintenance association end point (MEP) of an MA sends alarm indication signal (AIS) packets.
The undo ais vlan command deletes the configuration.
By default, a MEP is disabled from sending AIS packets within a VLAN.
Parameter | Description | Value |
---|---|---|
vid low-vid |
Specifies a lower limit for the VLAN ID in an AIS packet. |
The value is an integer ranging from 1 to 4094. |
to high-vid |
Specifies the upper limit of the VLAN ID in an AIS packet. |
The value is an integer ranging from 1 to 4094. |
to hig-ce-vid |
Specifies an upper limit for the VLAN ID in the inner tag of a VLAN frame. |
The value is an integer ranging from 1 to 4094. |
pe-vid pe-vid |
Specifies a VLAN ID in the outer tag of a VLAN frame. |
The value is an integer ranging from 1 to 4094. |
ce-vid low-ce-vid |
Specifies a lower limit for the VLAN ID in the inner tag of a VLAN frame. |
The value is an integer ranging from 1 to 4094. |
mep mep-id |
Specifies the ID of a MEP. The ID identifies a MEP. The MEP ID must be unique in an MA and in a VLAN or a virtual switching instance (VSI). |
The value is an integer ranging from 1 to 8191. |
Usage Scenario
You must run the ais vlan command to set a range for VLANs to which the MEP of an MA sends AIS packets.
Prerequisites
Configuration Impact
If the ais vlan command is run more than once, all configurations take effect.
<HUAWEI> system-view [~HUAWEI] vlan 1 [*HUAWEI-vlan1] quit [*HUAWEI] interface GigabitEthernet 0/1/1 [*HUAWEI-GigabitEthernet0/1/1] portswitch [*HUAWEI-GigabitEthernet0/1/1] port trunk allow-pass vlan 1 [*HUAWEI-GigabitEthernet0/1/1] quit [*HUAWEI] cfm enable [*HUAWEI] cfm md md1 [*HUAWEI-md-md1] ma ma1 [*HUAWEI-md-md1-ma-ma1] map vlan 1 [*HUAWEI-md-md1-ma-ma1] mep mep-id 1 interface GigabitEthernet 0/1/1 outward [*HUAWEI-md-md1-ma-ma1] ais enable [*HUAWEI-md-md1-ma-ma1] ais vlan pe-vid 10 ce-vid 1 to 100 mep 1