Configuring Ethernet OAM Support for Service VLANs with Double-Tagged Customer VLANs
You can enable propagation of the Ethernet IEEE 802.1ag Operation, Administration, and Maintenance (OAM) state of a static single-tagged service VLAN (S-VLAN) to the dynamic or static double-tagged customer VLAN (C-VLAN) that has the same S-VLAN (outer) tag as the S-VLAN, and, by extension, to subscriber interfaces configured on the C-VLAN. The static S-VLAN logical interface must be configured on a Gigabit Ethernet, 10-Gigabit Ethernet, or aggregated Ethernet physical interface.
Before you begin:
Make sure the static single-tagged S-VLAN logical interface is configured with the Ethernet 802.1ag OAM connectivity fault management (CFM) continuity check protocol.
See IEEE 802.1ag OAM Connectivity Fault Management Overview.
To enable propagation of the Ethernet OAM state of a static single-tagged S-VLAN to dynamic or static double-tagged C-VLAN logical interfaces:
Configure a Gigabit Ethernet (ge), 10-Gigabit Ethernet (xe), or aggregated Ethernet (ae) physical interface to propagate the S-VLAN Ethernet OAM state to C-VLAN logical interfaces that have the same S-VLAN (outer) tag as the S-VLAN interface.
[edit] user@host# set interfaces interface-name-fpc/pic/port oam-on-svlan
For example, the following statement enables propagation of the Ethernet OAM state of a static single-tagged S-VLAN on Gigabit Ethernet interface ge-1/0/5 to a dynamic or static double-tagged C-VLAN logical interface with the same S-VLAN (outer) tag as the S-VLAN interface.
[edit] user@host# set interfaces ge-1/0/5 oam-on-svlan
Including the
oam-on-svlan
statement when you configure a Gigabit Ethernet, 10-Gigabit Ethernet, or aggregated Ethernet physical interface causes the router to bring down both of the following when the CFM continuity check protocol detects that the OAM state of the S-VLAN logical interface is down:All dynamic or static double-tagged C-VLANs on the S-VLAN interface that have the same S-VLAN (outer) tag as the S-VLAN interface.
All DHCP, IP demultiplexing (IP demux), and PPPoE logical subscriber interfaces configured on the associated C-VLANs.
Example: Gigabit Ethernet Interface with Static S-VLAN, Dynamic C-VLAN, and Dynamic PPPoE Subscriber Interfaces
The following example shows a dynamic subscriber access configuration
that uses the oam-on-svlan
statement on a Gigabit Ethernet
interface. This example configures Gigabit Ethernet physical interface
ge-1/0/5 with a static single-tagged S-VLAN logical interface (ge-1/0/5.1)
that runs the Ethernet 802.1ag OAM CFM continuity check protocol.
A dynamic profile named double-vlans creates a dynamic double-tagged
C-VLAN interface, and a dynamic profile named pppoe-profile creates
dynamic PPPoE subscriber interfaces on the C-VLAN interface. The oam-on-svlan
statement for ge-1/0/5 propagates the Ethernet
OAM state of S-VLAN interface ge-1/0/5.1 to the C-VLAN interface and
the dynamic PPPoE subscriber interfaces.
For clarity, the configuration is divided into five steps.