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 | |||
| 
 | Configure port 1/1/x1 with the type network. | (config) # port 1/1/x1 type network | |||
| 
 | Configure port 1/1/x11 with the type tool. | (config) # port 1/1/x11 type tool | |||
| 
 | Configure map with the alias of m2. | (config) # map alias m2 | |||
| 
 | Configure the source port for map m2. | (config map alias m2) # from 1/1/x1 | |||
| 
 | Configure the destination port for map m2. | (config map alias m2) # to 1/1/x11 | |||
| 
 | Configure the VLAN ID 100 and TPID ID 0x9100. | (config map alias m2) # vlan-op add 100 tpid 0x9100 | |||
| 
 | Configures rule 1 which qualifies packet with VLAN ID 200. | (config map alias m2) # rule add pass vlan 200 | |||
| 
 | Exit map configuration. | (config map alias m2) # exit | 
Rule level configuration
| Step | Description | Command | |||
| 
 | Configures port 1/1/x1 with the type network. | (config) # port 1/1/x1 type network | |||
| 
 | Configures port 1/1/x11 with the type tool. | (config) # port 1/1/x11 type tool | |||
| 
 | Configures map with the alias m2. | (config) # map alias m2 | |||
| 
 | Configure the source port for map m2. | (config map alias m2) # from 1/1/x1 | |||
| 
 | Configure the destination port for map m2. | (config map alias m2) # to 1/1/x11 | |||
| 
 | 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 | |||
| 
 | Exit map configuration. | (config map alias m2) # exit | 
Shared collector map
Map level configuration
| Step | Description | Command | |||
| 
 | Configures port 1/1/x1 with the type network. | (config) # port 1/1/x1 type network | |||
| 
 | Configures port 1/1/x12 with the type tool. | (config) # port 1/1/x12 type tool | |||
| 
 | Configures map-scollector with the alias of ms1. | (config) # map-scollector alias ms1 | |||
| 
 | configure the source port for map ms1. | (config map alias m2) # from 1/1/x1 | |||
| 
 | configure the collector port for map ms1. | (config map alias m2) # collector 1/1/x12 | |||
| 
 | Configure VLAN ID 100 and TPID ID 0x9100. | (config map alias m2) # vlan-op add 100 tpid 0x9100 | |||
| 
 | 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. | 



