Дерево страниц
Перейти к концу метаданных
Переход к началу метаданных

profile vlan

The command allows you to switch to the VLAN profile configuration mode.

The use of a negative form (no) of the command removes a specified profile.

Syntax     

[no] profile vlan <NAME>

Parameters

<NAME> – profile name, case sensitive.

Command mode

CONFIG

Example

ma4000(config)# profile vlan test
ma4000(config-vlan)("test")#	

name

The command changes the name of the configured profile.

The use of a negative form (no) of the command removes a name.

Syntax     

[no] name <STRING>

Parameters

<STRING> – profile name.

Command mode

PROFILE VLAN

Example

ma4000(config-vlan)("test")# name EL

description

The command allows you to add a description for the configured VLAN profile.

The use of a negative form (no) of the command removes description.

Syntax     

[no] description <STRING>

Parameters

<STRING> – text description.

Command mode

PROFILE VLAN

Example

ma4000(config-vlan)("test")# description TEST

downlink extended

This command sets an additional Ethertype in the downstream to recognize the service VLAN.

The use of a negative form (no) of the command removes a specified value.

Syntax

[no] downlink extended <TYPE> <VALUE>

Parameters

<TYPE>  – Ethertype type:

  • cvlan-type – ETHERTYPE value for inner VID;
  • svlan-type – ETHERTYPE value for outer VID.

<VALUE> – ethertype value, may take values [0x0..0xFFFF].

Command mode

PROFILEVLAN

Example

ma4000(config-vlan)("test")# downlink extended svlan-type 0x8100

downlink insertion

This command sets the value of the Ethertype field inserted into the package for SVLAN or CVLAN in the downstream.

The use of a negative form (no) of the command removes a specified value.

Syntax

[no] downlink insertion <TYPE> <VALUE>

Parameters

<TYPE>  – Ethertype type:

  • cvlan-type – ETHERTYPE value for inner VID;
  • svlan-type – ETHERTYPE value for outer VID.

<VALUE> – ethertype value, may take values [0x0..0xFFFF].

Command mode

PROFILEVLAN

Example

ma4000(config-vlan)("test")# downlink insertion svlan-type 0x8100

uplink extended

This command sets an additional Ethertype in the upstream to recognize the service VLAN. Regardless of the set value, the chip always recognizes Ethertype 0x9100 and 0x88A8.

The use of a negative form (no) of the command removes a specified value.

Syntax

[no] uplink extended <TYPE> <VALUE>

Parameters

<TYPE>  – Ethertype type:

  • cvlan-type – ETHERTYPE value for inner VID;
  • svlan-type – ETHERTYPE value for outer VID.

<VALUE> – ethertype value, may take values [0x0..0xFFFF].

Command mode

PROFILEVLAN

Example

ma4000(config-vlan)("test")# uplink extended svlan-type 0x9100

uplink insertion

This command sets the value of the Ethertype field inserted into the package for SVLAN or CVLAN in the upstream.

Syntax

uplink insertion <TYPE><VALUE>

Parameters

<TYPE>  – Ethertype type:

  • cvlan-type – ETHERTYPE value for inner VID;
  • svlan-type – ETHERTYPE value for outer VID.

<VALUE> – ethertype value, may take values [0x0..0xFFFF].

Command mode

PROFILEVLAN

Example

ma4000(config-vlan)("test")# uplink insertion svlan-type 0x9100

show profile vlan

This command is used to view the created VLAN profiles.

When you specify a profile name, you will see the settings of the configured VLAN profile:

Syntax     

show profile vlan [<NAME>]

Parameters

<NAME> – profile name, optional parameter.  

Command mode

ROOT

Example 1

ma4000# show PROFILE VLAN vlan-00
Description:                                       'OLT Profile Vlan 0'
    Config general [uplink]:
        Extended svlan type:                           0x8100
        Extended cvlan type:                           0x8100
        Insertion svlan ethertype:                     0x8100
        Insertion cvlan ethertype:                     0x8100
    Config general [downlink]:
        Extended svlan type:                           0x8100
        Extended cvlan type:                           0x8100
        Insertion svlan ethertype:                     0x8100
        Insertion cvlan ethertype:                     0x8100

Example 2

ma4000# show profile vlan 
    ##                Name    Description
1             vlan-00    OLT Profile Vlan 0
  • Нет меток