Configuring Egress EFP Filtering
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)# interface GigabitEthernet0/5/0/0.20
Adds an interface to a bridge domain that allows packets to be forwarded and received from other interfaces that are
part of the same bridge domain. The interface EFP now becomes an attachment circuit on this bridge domain.
Step 10
interface [GigabitEthernet | TenGigE] instance.subinterface
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-ac)# interface GigabitEthernet0/5/0/1.15
Adds an interface to a bridge domain that allows packets to be forwarded and received from other interfaces that are
part of the same bridge domain. The interface EFP now becomes an attachment circuit on this bridge domain.
Step 11
Use the commit or end command.
commit - Saves the configuration changes and remains within the configuration session.
end - Prompts user to take one of these actions:
• Yes - Saves configuration changes and exits the configuration session.
• No - Exits the configuration session without committing the configuration changes.
• Cancel - Remains in the configuration mode, without committing the configuration changes.
Step 12
show run interface [GigabitEthernet | TenGigE] instance.subinterface
Example:
RP/0/RSP0/CPU0:router# show run interface GigabitEthernet0/5/0/1.15
(Optional) Displays statistics for the subinterface on the router.
Configuring Egress EFP Filtering
This section describes the procedures for configuring the egress EFP filtering feature on the Cisco ASR 9000
Series Routers.
Egress EFP filtering is a L2 subinterface specific feature that controls how strictly subinterface encapsulation
filtering is performed in the egress direction. According to the EFP behavior and model, all packets transmitted
out of a subinterface should match the subinterface encapsulation or rewrite criteria if the same packet is to
be received on the subinterface (with the source and destination MAC addresses swapped).
Egress EFP filtering has two stages; first stage is without rewrite command, and the second stage is with
rewrite command.
In the first stage filtering, the packet is checked against the encapsulation to ensure the match, the same way
it is checked on ingress to determine that the packet is forwarded to that EFP.
In the second stage filtering, the packet is checked before the egress rewrite occurs to ensure that the packet
in its egress pre-rewrite state is correct. This means that the egress packet's VLAN encapsulation should be
same as a hypothetical ingress packet after the ingress rewrite occurs.
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
28
The Carrier Ethernet Model