Configure VLAN Manipulation

To configure a VLAN manipulation in regular by-rule maps and shared collector maps, refer to the following example:

Regular by-rule map

Map level configuration

Step

Description

Command

1.    

Configure port 1/1/x1 with the type network.

(config) # port 1/1/x1 type network

2.  

Configure port 1/1/x11 with the type tool.

(config) # port 1/1/x11 type tool

3.  

Configure map with the alias of m2.

(config) # map alias m2

4.  

Configure the source port for map m2.

(config map alias m2) # from 1/1/x1

5.  

Configure the destination port for map m2.

(config map alias m2) # to 1/1/x11

6.  

Configure the VLAN ID 100 and TPID ID 0x9100.

(config map alias m2) # vlan-op add 100 tpid 0x9100

7.  

Configures rule 1 which qualifies packet with VLAN ID 200.

(config map alias m2) # rule add pass vlan 200

8.  

Exit map configuration.

(config map alias m2) # exit

Rule level configuration

Step

Description

Command

1.    

Configures port 1/1/x1 with the type network.

(config) # port 1/1/x1 type network

2.  

Configures port 1/1/x11 with the type tool.

(config) # port 1/1/x11 type tool

3.  

Configures map with the alias m2.

(config) # map alias m2

4.  

Configure the source port for map m2.

(config map alias m2) # from 1/1/x1

5.  

Configure the destination port for map m2.

(config map alias m2) # to 1/1/x11

6.  

Add rule to pass packets from IP source 1.1.1.1/32 and configure VLAN ID 300 with TPID ID 0x88a8.

(config map alias m2) # rule add pass ipsrc 1.1.1.1 /32 vlan-op add 300 tpid 0x88a8

7.  

Exit map configuration.

(config map alias m2) # exit

Shared collector map

Map level configuration

Step

Description

Command

1.    

Configures port 1/1/x1 with the type network.

(config) # port 1/1/x1 type network

2.  

Configures port 1/1/x12 with the type tool.

(config) # port 1/1/x12 type tool

3.  

Configures map-scollector with the alias of ms1.

(config) # map-scollector alias ms1

4.  

configure the source port for map ms1.

(config map alias m2) # from 1/1/x1

5.  

configure the collector port for map ms1.

(config map alias m2) # collector 1/1/x12

6.  

Configure VLAN ID 100 and TPID ID 0x9100.

(config map alias m2) # vlan-op add 100 tpid 0x9100

7.  

Exit map-scollector configuration.

(config map-scollector alias ms1) # exit

Related Topics:

■   To configure VLAN manipulation using GigaVUE-FM, refer to the VLAN Manipulation chapter in the GigaVUE Fabric Management Guide.