Configure VFP Action Group
VFP (VLAN Filter Processor) action group classifies the packets and then specifies the packet with the single-layer VLAN tag, the packet with double-layer VLAN tag, and the packet without VLAN tag.
Configuration Condition
Before configuring the VFP action group, first complete the following task:
Configure Processing for the Packet with Single-layer VLAN Tag
In the VFP action group, configure the processing for the packet with single-layer VLAN tag, especially for matching and processing the 802.1p priority and VLAN numbers in the VLAN tag.
Table 1-15 Configure the processing for the packet with single-layer VLAN tag
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Configure the VFP action group and enter the VFP action group configuration mode
|
vfp-action-group vfp-action-group-name
|
Mandatory
By default, the VFP action group is not configured.
|
Configure the processing for the packet with single-layer VLAN tag
|
one-tag { match-vlan { any | vlan-id } | ovlan-act { add-ovlan vlan-id [ priority priority-value ] } | replace-vlan vlan-id }
|
Mandatory
By default, the processing for the packet with single-layer VLAN tag is not configured.
|
Configure Processing for Packet with Double-layer VLAN Tag
In the VFP action group, configure the processing for the packet with double-layer VLAN tag, especially for matching and processing the 802.1p priority and VLAN numbers in the inner and outer VLAN tag.
Table1-16 Configure the processing for the packet with double-layer VLAN tag
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Configure the VFP action group and enter the VFP action group configuration mode
|
vfp-action-group vfp-action-group-name
|
Mandatory
By default, the CFP action group is not configured.
|
Configure the processing for the packet with double-layer VLAN tag
|
double-tag { invlan-act { delete-invlan | replace-invlan vlan-id } | match-invlan { any | vlan-id } | match-ovlan { any | vlan-id } | ovlan-act replace-ovlan vlan-id }
|
Mandatory
By default, the processing for the packet with double-layer VLAN tag is not configured.
|
Configure Processing for Packet without VLAN Tag
In the VFP action group, configure the processing for the packet without VLAN tag, especially for adding the inner and outer VLAN tag.
Table 1-17 Configure the processing for the packet without VLAN tag
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Configure the VFP action group and enter the VFP action group configuration mode
|
vfp-action-group vfp-action-group-name
|
Mandatory
By default, the VFP action group is not configured.
|
Configure the processing for the packet without VALN tag
|
untag { invlan-act add-invlan vlan-id } | ovlan-act add-ovlan vlan-id
|
Mandatory
By default, the processing for the packet without VLAN tag is not configured.
|
Configure Binding VRF in VFP Action Group
Table 1-18 Configure binding VRF in the VFP action group
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Configure the VFP action group and enter the VFP action group configuration mode
|
vfp-action-group vfp-action-group-name
|
Mandatory
By default, the VFP action group is not configured.
|
Configure binding VRF in the VFP action group
|
vrfset vrf-name
|
Mandatory
By default, binding VRF in the VFP action group is not configured.
|