ON THIS PAGE
Predefined E-Line Service Definitions
The Connectivity Services Director application provides predefined service definitions that a service provisioner can choose from when creating a service order. This section provides information about predefined service definitions used for creating E-Line services. For information about predefined service definitions used to create other types of service, see the following topics:
If none of the predefined E-Line service definitions described here is appropriate for your needs, you can create a service definition as described in Creating a Point-to-Point Ethernet Service Definition,
The Connectivity Services Director application provides predefined service definitions for E-Line services that use LDP switching or BGP in the network core. The LDP based services are sometimes known as E-Line Martini services, and the BGP based services are sometimes known as E-Line Kompella services. Figure 1 shows an example of such a service.
Information specific to each service instance, such as the device name, endpoint name, and customer VLAN ID, is provided in the service order. Attributes that can apply across many service instances are typically defined in the service definition. These attributes include:
Ethernet option (dot1.q, port-port, qinq, asymmetric tag depth)
Traffic type (single VLAN, VLAN range, all traffic, VLAN list)
Physical interface encapsulation
Logical interface encapsulation
Rate limit range
Table 1 lists each of the standard E-Line service definitions. Each standard service definition is then described in detail in the sections that follow.
Standard Service Definition Name |
Service Attributes |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TDM Interface |
|
Static TDM pseudowire |
|
ATM pseudowire |
|
ATM-AAL5 pseudowire |
|
Static ATM pseudowire |
|
Static ATM-AAL5 pseudowire |
|
|
|
|
|
|
ELine-Dot1q-SingleVLAN Service Definition
This service definition provides a base for creating E-Line services that transport a single VLAN across an LDP or BGP network core using 802.1Q endpoint interface types and flexible-ethernet-services as the physical encapsulation type. Service provisioners can limit the bandwidth of services built from this service definition to specific values from 10 Mbps through 100 Mbps.
The following sections show the configuration data on each endpoint when you use this service definition to create the service shown in Figure 1:
Configuration on Endpoint A
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint A:
ge-0/1/1 { flexible-vlan-tagging; mtu 1522; encapsulation flexible-ethernet-services; unit 1 { description "Dot1q Eline Martini "; encapsulation vlan-ccc; vlan-id 1; family ccc { filter { input filter_in_ge-0/1/1_1; } } } } firewall { policer policer_in_ge-0/1/1_1 { if-exceeding { bandwidth-limit 100m; burst-size-limit 62500000; } then discard; } family ccc { filter filter_in_ge-0/1/1_1 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1_1; accept; } protocols { l2circuit { neighbor 192.168.1.40 interface ge-0/1/1.1 { virtual-circuit-id 786; no-control-word; mtu 1522; } } }
Configuration on Endpoint Z
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint Z:
ge-0/1/1 { flexible-vlan-tagging; mtu 1522; encapsulation flexible-ethernet-services; unit 1 { description "Dot1q Eline Martini "; encapsulation vlan-ccc; vlan-id 1; family ccc { filter { input filter_in_ge-0/1/1_1; } } } } firewall { policer policer_in_ge-0/1/1_1 { if-exceeding { bandwidth-limit 100m; burst-size-limit 62500000; } then discard; } family ccc { filter filter_in_ge-0/1/1_1 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1_1; accept; } protocols { l2circuit { neighbor 192.168.1.30 { interface ge-0/1/1.1 { virtual-circuit-id 786; no-control-word; mtu 1522; } } }
ELine-Dot1q-SingleVLAN-CCC Service Definition
This service definition provides a base for creating E-Line services that transport a single VLAN across an LDP or BGP network core using 802.1Q endpoint interface types and vlan-ccc as the physical encapsulation type. Service provisioners can limit the bandwidth of services built from this service definition to specific values from 10 Mbps through 100 Mbps.
The following sections show the configuration data on each endpoint when you use this service definition to create the service shown in Figure 1:
Configuration on Endpoint A
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint A:
ge-0/1/1 { flexible-vlan-tagging; mtu 1522; encapsulation vlan-ccc; unit 513 { description VLANCCC-SR; encapsulation vlan-ccc; vlan-id 513; family ccc { filter { input filter_in_ge-0/1/1_513; } } } } firewall { policer policer_in_ge-0/1/1_513 { if-exceeding { bandwidth-limit 100m; burst-size-limit 62500000; } then discard; } family ccc { filter filter_in_ge-0/1/1_513 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1_513; accept; } } } } } protocols { l2circuit { neighbor 192.168.1.40 { interface ge-0/1/1.513 { virtual-circuit-id 786; no-control-word; mtu 1522; } } } }
Configuration on Endpoint Z
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint Z:
ge-0/1/1 { flexible-vlan-tagging; mtu 1522; encapsulation vlan-ccc; unit 513 { description VLANCCC-SR; encapsulation vlan-ccc; vlan-id 513; family ccc { filter { input filter_in_ge-0/1/1_513; } } } } firewall { policer policer_in_ge-0/1/1_513 { if-exceeding { bandwidth-limit 100m; burst-size-limit 62500000; } then discard; } family ccc { filter filter_in_ge-0/1/1_513 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1_513; accept; } } } } } protocols { l2circuit { neighbor 192.168.1.30 { interface ge-0/1/1.513 { virtual-circuit-id 786; no-control-word; mtu 1522; } } } }
ELine-Dot1q-SingleVLAN-Ext-CCC Service Definition
This service definition provides a base for creating E-Line services that transport a single VLAN across an LDP or BGP network core using 802.1Q endpoint interface types and extended-vlan-ccc as the physical encapsulation type. Service provisioners can limit the bandwidth of services built from this service definition to specific values from 10 Mbps through 100 Mbps.
The following sections show the configuration data on each endpoint when you use this service definition to create the service shown in Figure 1:
Configuration on Endpoint A
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint A:
ge-0/1/1 { flexible-vlan-tagging; mtu 1522; encapsulation extended-vlan-ccc; unit 1 { description Extended-SR; vlan-id 1; family ccc { filter { input filter_in_ge-0/1/1_1; } } } } firewall { policer policer_in_ge-0/1/1_1 { if-exceeding { bandwidth-limit 100m; burst-size-limit 62500000; } then discard; } family ccc { filter filter_in_ge-0/1/1_1 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1_1; accept; } } } } } protocols { l2circuit { neighbor 192.168.1.40 { interface ge-0/1/1.1 { virtual-circuit-id 786; no-control-word; mtu 1522; } } } }
Configuration on Endpoint Z
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint Z:
ge-0/1/1 { flexible-vlan-tagging; mtu 1522; encapsulation extended-vlan-ccc; unit 1 { description Extended-SR; vlan-id 1; family ccc { filter { input filter_in_ge-0/1/1_1; } } } } firewall { policer policer_in_ge-0/1/1_1 { if-exceeding { bandwidth-limit 100m; burst-size-limit 62500000; } then discard; } family ccc { filter filter_in_ge-0/1/1_1 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1_1; accept; } } } } } protocols { l2circuit { neighbor 192.168.1.30 { interface ge-0/1/1.1 { virtual-circuit-id 786; no-control-word; mtu 1522; } } } }
ELine-PortBased Service Definition
This service definition provides a base for creating E-Line services that transport all traffic across an LDP or BGP network core using an entire port at each endpoint using ethernet-ccc as the physical encapsulation type. Service provisioners can limit the bandwidth of services built from this service definition to specific values from 10 Mbps to 100 Mbps.
The following sections show the configuration data on each endpoint when you use this service definition to create the service shown in Figure 1:
Configuration on Endpoint A
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint A:
ge-0/1/1 { encapsulation ethernet-ccc; unit 0 { family ccc { filter { input filter_in_ge-0/1/1; } } } } firewall { policer policer_in_ge-0/1/1 { if-exceeding { bandwidth-limit 10m; burst-size-limit 6250000; } then discard; } family ccc { filter filter_in_ge-0/1/1 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1; accept; } } } } } protocols { l2circuit { neighbor 192.168.1.40 { interface ge-0/1/1.0 { virtual-circuit-id 786; no-control-word; mtu 1522; } } } }
Configuration on Endpoint Z
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint Z:
ge-0/1/1 { encapsulation ethernet-ccc; unit 0 { family ccc { filter { input filter_in_ge-0/1/1; } } } } firewall { policer policer_in_ge-0/1/1 { if-exceeding { bandwidth-limit 10m; burst-size-limit 6250000; } then discard; } family ccc { filter filter_in_ge-0/1/1 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1; accept; } } } } } protocols { l2circuit { neighbor 192.168.1.30 { interface ge-0/1/1.0 { virtual-circuit-id 786; no-control-word; mtu 1522; } } } }
ELine-QinQ-AllVLAN Service Definition
This service definition provides a base for creating E-Line services that transport all customer traffic across an LDP or BGP network core using Q-in-Q endpoint interface types and flexible-ethernet-services as the physical encapsulation type. Service provisioners can limit the bandwidth of services built from this service definition to specific values from 10 Mbps through 100 Mbps.
The following sections show the configuration data on each endpoint when you use this service definition to create the service shown in Figure 1:
Configuration on Endpoint A
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint A:
ge-0/1/1 { flexible-vlan-tagging; mtu 1522; encapsulation flexible-ethernet-services; unit 1 { description "AllVlanTransport"; encapsulation vlan-ccc; vlan-tags outer 1; family ccc { filter { input filter_in_ge-0/1/1_1; } } } protocols { l2circuit { neighbor 192.168.1.40 { interface ge-0/1/1.1 { virtual-circuit-id 786; no-control-word; mtu 1522; } } } firewall { policer policer_in_ge-0/1/1_1 { if-exceeding { bandwidth-limit 100m; burst-size-limit 62500000; } then discard; } family ccc { filter filter_in_ge-0/1/1_1 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1_1; accept; } } } }
Configuration on Endpoint Z
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint Z:
ge-0/1/1 { flexible-vlan-tagging; mtu 1522; encapsulation flexible-ethernet-services; unit 1 { description "AllVlanTransport"; encapsulation vlan-ccc; vlan-tags outer 1; family ccc { filter { input filter_in_ge-0/1/1_1; } } } } firewall { policer policer_in_ge-0/1/1_1 { if-exceeding { bandwidth-limit 100m; burst-size-limit 62500000; } then discard; } family ccc { filter filter_in_ge-0/1/1_1 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1_1; accept; } } } } } protocols { l2circuit { neighbor 192.168.1.30 { interface ge-0/1/1.1 { virtual-circuit-id 786; no-control-word; mtu 1522; } } } }
ELine-QinQ-AllVLAN-CCC Service Definition
This service definition provides a base for creating E-Line services that transport all customer traffic across an LDP or BGP network core using Q-in-Q endpoint interface types and vlan-ccc as the physical encapsulation type. Service provisioners can limit the bandwidth of services built from this service definition to specific values from 10 Mbps through 100 Mbps.
The following sections show the configuration data on each endpoint when you use this service definition to create the service shown in Figure 1:
Configuration on Endpoint A
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint A:
ge-0/1/1 { flexible-vlan-tagging; mtu 1522; encapsulation vlan-ccc; unit 515 { description QinQ-ALLVLAN; encapsulation vlan-ccc; vlan-tags outer 515; family ccc { filter { input filter_in_ge-0/1/1_515; } } } } firewall { policer policer_in_ge-0/1/1_515 { if-exceeding { bandwidth-limit 100m; burst-size-limit 62500000; } then discard; } family ccc { filter filter_in_ge-0/1/1_515 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1_515; accept; } } } } } protocols { l2circuit { neighbor 192.168.1.40 { interface ge-0/1/1.515 { virtual-circuit-id 786; no-control-word; mtu 1522; } } } }
Configuration on Endpoint Z
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint Z:
ge-0/1/1 { flexible-vlan-tagging; mtu 1522; encapsulation vlan-ccc; unit 515 { description QinQ-ALLVLAN; encapsulation vlan-ccc; vlan-tags outer 515; family ccc { filter { input filter_in_ge-0/1/1_515; } } } } firewall { policer policer_in_ge-0/1/1_515 { if-exceeding { bandwidth-limit 100m; burst-size-limit 62500000; } then discard; } family ccc { filter filter_in_ge-0/1/1_515 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1_515; accept; } } } } } protocols { l2circuit { neighbor 192.168.1.30 { interface ge-0/1/1.515 { virtual-circuit-id 786; no-control-word; mtu 1522; } } } }
ELine-QinQ-AllVLAN-Ext-CCC Service Definition
This service definition provides a base for creating E-Line services that transport all customer traffic across an LDP or BGP network core using Q-in-Q endpoint interface types and extended-vlan-ccc as the physical encapsulation type. Service provisioners can limit the bandwidth of services built from this service definition to specific values from 10 Mbps through 100 Mbps.
The following sections show the configuration data on each endpoint when you use this service definition to create the service shown in Figure 1:
Configuration on Endpoint A
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint A:
ge-0/1/1 { flexible-vlan-tagging; mtu 1522; encapsulation extended-vlan-ccc; unit 1 { description Ext-AllVLAN; vlan-tags outer 1; family ccc { filter { input filter_in_ge-0/1/1_1; } } } } firewall { policer policer_in_ge-0/1/1_1 { if-exceeding { bandwidth-limit 100m; burst-size-limit 62500000; } then discard; } family ccc { filter filter_in_ge-0/1/1_1 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1_1; accept; } } } } } protocols { l2circuit { neighbor 192.168.1.40 { interface ge-0/1/1.1 { virtual-circuit-id 786; no-control-word; mtu 1522; } } } }
Configuration on Endpoint Z
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint Z:
ge-0/1/1 { flexible-vlan-tagging; mtu 1522; encapsulation extended-vlan-ccc; unit 1 { description Ext-AllVLAN; vlan-tags outer 1; family ccc { filter { input filter_in_ge-0/1/1_1; } } } } firewall { policer policer_in_ge-0/1/1_1 { if-exceeding { bandwidth-limit 100m; burst-size-limit 62500000; } then discard; } family ccc { filter filter_in_ge-0/1/1_1 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1_1; accept; } } } } } protocols { l2circuit { neighbor 192.168.1.30 { interface ge-0/1/1.1 { virtual-circuit-id 786; no-control-word; mtu 1522; } } } }
ELine-QinQ-VLANRange Service Definition
This service definition provides a base for creating E-Line services that transport a range of VLANs across an LDP or BGP network core using Q-in-Q endpoint interface types and flexible-ethernet-services as the physical encapsulation type. Service provisioners can limit the bandwidth of services built from this service definition to specific values from 10 Mbps through 100 Mbps.
The following sections show the configuration data on each endpoint when you use this service definition to create the service shown in Figure 1:
Configuration on Endpoint A
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint A:
ge-0/1/1 { flexible-vlan-tagging; mtu 1522; encapsulation flexible-ethernet-services; unit 2 { description "QinQ Eline Martini"; encapsulation vlan-ccc; vlan-tags outer 2 inner-range 100-110; family ccc { filter { input filter_in_ge-0/1/1_2; } } } } firewall { policer policer_in_ge-0/1/1_2 { if-exceeding { bandwidth-limit 100m; burst-size-limit 62500000; } family ccc { filter filter_in_ge-0/1/1_2 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1_2; accept; } protocols { l2circuit { neighbor 192.168.1.40 { interface ge-0/1/1.2 { virtual-circuit-id 786; no-control-word; mtu 1522; } } } }
Configuration on Endpoint Z
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint Z:
ge-0/1/1 { flexible-vlan-tagging; mtu 1522; encapsulation flexible-ethernet-services; unit 2 { description "QinQ Eline Martini"; encapsulation vlan-ccc; vlan-tags outer 2 inner-range 100-110; family ccc { filter { input filter_in_ge-0/1/1_2; } } } } firewall { policer policer_in_ge-0/1/1_2 { if-exceeding { bandwidth-limit 100m; burst-size-limit 62500000; } then discard; } family ccc { filter filter_in_ge-0/1/1_2 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1_2; accept; } } } } } protocols { l2circuit { interface ge-0/1/1.2 { virtual-circuit-id 786; no-control-word; mtu 1522; } } } }
ELine-QinQ-VLANRange-CCC Service Definition
This service definition provides a base for creating E-Line services that transport a range of VLANs across an LDP or BGP network core using Q-in-Q endpoint interface types and vlan-ccc as the physical encapsulation type. Service provisioners can limit the bandwidth of services built from this service definition to specific values from 10 Mbps through 100 Mbps.
The following sections show the configuration data on each endpoint when you use this service definition to create the service shown in Figure 1:
Configuration on Endpoint A
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint A:
ge-0/1/1 { flexible-vlan-tagging; mtu 1522; encapsulation vlan-ccc; unit 514 { description VLANRANGE-SR; encapsulation vlan-ccc; vlan-tags outer 514 inner-range 600-610; family ccc { filter { input filter_in_ge-0/1/1_514; } } } } firewall { policer policer_in_ge-0/1/1_514 { if-exceeding { bandwidth-limit 100m; burst-size-limit 62500000; } then discard; } family ccc { filter filter_in_ge-0/1/1_514 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1_514; accept; } } } } } protocols { l2circuit { neighbor 192.168.1.40 { interface ge-0/1/1.514 { virtual-circuit-id 786; no-control-word; mtu 1522; } } } }
Configuration on Endpoint Z
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint Z:
ge-0/1/1 { flexible-vlan-tagging; mtu 1522; encapsulation vlan-ccc; unit 514 { description VLANRANGE-SR; encapsulation vlan-ccc; vlan-tags outer 514 inner-range 600-610; family ccc { filter { input filter_in_ge-0/1/1_514; } } } } firewall { policer policer_in_ge-0/1/1_514 { if-exceeding { bandwidth-limit 100m; burst-size-limit 62500000; } then discard; } family ccc { filter filter_in_ge-0/1/1_514 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1_514; accept; } } } } } protocols { l2circuit { neighbor 192.168.1.30 { interface ge-0/1/1.514 { virtual-circuit-id 786; no-control-word; mtu 1522; } } } }
ELine-QinQ-VLANRange-Ext-CCC Service Definition
This service definition provides a base for creating E-Line services that transport a range of VLANs across an LDP or BGP network core using Q-in-Q endpoint interface types and extended-vlan-ccc as the physical encapsulation type. Service provisioners can limit the bandwidth of services built from this service definition to specific values from 10 Mbps through 100 Mbps.
The following sections show the configuration data on each endpoint when you use this service definition to create the service shown in Figure 1:
Configuration on Endpoint A
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint A:
ge-0/1/1 { flexible-vlan-tagging; mtu 1522; encapsulation extended-vlan-ccc; unit 2 { description Ext-VLANRange; vlan-tags outer 2 inner-range 100-110; family ccc { filter { input filter_in_ge-0/1/1_2; } } } } firewall { policer policer_in_ge-0/1/1_2 { if-exceeding { bandwidth-limit 100m; burst-size-limit 62500000; } then discard; } family ccc { filter filter_in_ge-0/1/1_2 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1_2; accept; } } } } } protocols { l2circuit { neighbor 192.168.1.30 { interface ge-0/1/1.2 { virtual-circuit-id 786; no-control-word; mtu 1522; } } } }
Configuration on Endpoint Z
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint Z:
ge-0/1/1 { flexible-vlan-tagging; mtu 1522; encapsulation extended-vlan-ccc; unit 2 { description Ext-VLANRange; vlan-tags outer 2 inner-range 100-110; family ccc { filter { input filter_in_ge-0/1/1_2; } } } } firewall { policer policer_in_ge-0/1/1_2 { if-exceeding { bandwidth-limit 100m; burst-size-limit 62500000; } then discard; } family ccc { filter filter_in_ge-0/1/1_2 { interface-specific; term 1 { then { policer policer_in_ge-0/1/1_2; accept; } } } } } protocols { l2circuit { neighbor 192.168.1.30 { interface ge-0/1/1.2 { virtual-circuit-id 786; no-control-word; mtu 1522; } } } }
ELine-BGP-Port-Based
The following sections show the configuration data on each endpoint when you use this service definition to create the service shown in Figure 1:
Configuration on Endpoint A
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint A:
routing-instances{ instance-type l2vpn; interface ge-1/0/7.0; route-distinguisher 69:27; vrf-target target:69:49165; protocols { l2vpn { encapsulation-type ethernet-vlan; no-control-word; site L2VPN_Site_1 { site-identifier 1; mtu 1522; interface ge-1/0/7.0 { remote-site-id 2; description P2P-BGP-PortBased; } } } } } ge-1/0/7 { mtu 1522; encapsulation ethernet-ccc; unit 0 { family ccc { filter { input filter_in_ge-1/0/7; } } } } firewall{ family ccc { filter filter_in_ge-1/0/7 { interface-specific; term 1 { then { policer policer_in_ge-1/0/7; accept; } } } } policer policer_in_ge-1/0/7 { if-exceeding { bandwidth-limit 10m; burst-size-limit 15220; } then discard; } }
Configuration on Endpoint Z
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint Z:
routing-instances{ instance-type l2vpn; interface ge-1/0/8.0; route-distinguisher 69:27; vrf-target target:69:49165; protocols { l2vpn { encapsulation-type ethernet-vlan; no-control-word; site L2VPN_Site_2 { site-identifier 2; mtu 1522; interface ge-1/0/8.0 { remote-site-id 1; description P2P-BGP-PortBased; } } } } } ge-1/0/8 { mtu 1522; encapsulation ethernet-ccc; unit 0 { family ccc { filter { input filter_in_ge-1/0/8; } } } } firewall{ family ccc { filter filter_in_ge-1/0/8 { interface-specific; term 1 { then { policer policer_in_ge-1/0/8; accept; } } } } policer policer_in_ge-1/0/8 { if-exceeding { bandwidth-limit 10m; burst-size-limit 15220; } then discard; } }
Eline-BGP-Dot1q-SingleVLAN
The following sections show the configuration data on each endpoint when you use this service definition to create the service shown in Figure 1:
Configuration on Endpoint A
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint A:
routing-instances { instance-type l2vpn; interface ge-0/0/2.823; route-distinguisher 69:26; vrf-target target:69:49164; protocols { l2vpn { encapsulation-type ethernet-vlan; no-control-word; site L2VPN_Site_1 { site-identifier 1; interface ge-0/0/2.823 { remote-site-id 2; } } } } } ge-0/0/2 { enable; flexible-vlan-tagging; mtu 1522; encapsulation flexible-ethernet-services; unit 823 { description "ELine-BGP-Dot1Q"; encapsulation vlan-ccc; vlan-id 823; family ccc { filter { input filter_in_ge-0/0/2_823; } } } } firewall{ family ccc { filter filter_in_ge-0/0/2_823 { interface-specific; term 1 { then { policer policer_in_ge-0/0/2_823; accept; } } } } policer policer_in_ge-0/0/2_823 { if-exceeding { bandwidth-limit 10m; burst-size-limit 15220; } then discard; } }
Configuration on Endpoint Z
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint Z:
routing-instances { instance-type l2vpn; interface ge-0/0/3.823; route-distinguisher 69:26; vrf-target target:69:49164; protocols { l2vpn { encapsulation-type ethernet-vlan; no-control-word; site L2VPN_Site_2 { site-identifier 2; interface ge-0/0/3.823 { remote-site-id 1; } } } } } ge-0/0/3 { enable; flexible-vlan-tagging; mtu 1522; encapsulation flexible-ethernet-services; unit 823 { description "ELine-BGP-Dot1Q"; encapsulation vlan-ccc; vlan-id 823; family ccc { filter { input filter_in_ge-0/0/3_823; } } } } firewall{ family ccc { filter filter_in_ge-0/0/3_823 { interface-specific; term 1 { then { policer policer_in_ge-0/0/3_823; accept; } } } } policer policer_in_ge-0/0/3_823 { if-exceeding { bandwidth-limit 10m; burst-size-limit 15220; } then discard; } }
Eline-BGP-QinQ-AllVLAN
The following sections show the configuration data on each endpoint when you use this service definition to create the service shown in Figure 1:
Configuration on Endpoint A
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint A:
routing-instances { instance-type l2vpn; interface ge-0/0/1.981; route-distinguisher 69:15; vrf-target target:69:49160; protocols { l2vpn { encapsulation-type ethernet-vlan; no-control-word; site L2VPN_Site_1 { site-identifier 1; mtu 1522; interface ge-0/0/1.981 { remote-site-id 2; description P2P-BGP-QnQAllVLan; } } } } } ge-0/0/3 { flexible-vlan-tagging; mtu 1522; encapsulation flexible-ethernet-services; unit 981 { description "No description available for selected UNI interface."; encapsulation vlan-ccc; vlan-tags outer 981; family ccc { filter { input filter_in_ge-0/0/3_981; } } } } firewall{ family ccc { filter filter_in_ge-0/0/3_981;{ interface-specific; term 1 { then { policer policer_in_ge-0/0/3_981; accept; } } } } policer policer_in_ge-0/0/3_981;{ if-exceeding { bandwidth-limit 10m; burst-size-limit 15220; } then discard; } }
Configuration on Endpoint Z
The following statements show the interface configuration, the filter configuration, and connectivity configuration on endpoint Z:
routing-instances { instance-type l2vpn; interface ge-0/0/5.981; route-distinguisher 69:15; vrf-target target:69:49160; protocols { l2vpn { encapsulation-type ethernet-vlan; no-control-word; site L2VPN_Site_2 { site-identifier 2; mtu 1522; interface ge-0/0/5.981 { remote-site-id 1; description P2P-BGP-QnQAllVLan; } } } } } ge-0/0/5 { flexible-vlan-tagging; mtu 1522; encapsulation flexible-ethernet-services; unit 981 { description "No description available for selected UNI interface."; encapsulation vlan-ccc; vlan-tags outer 981; family ccc { filter { input filter_in_ge-0/0/5.981 } } } } firewall{ family ccc { filter filter_in_ge-0/0/5.981 { interface-specific; term 1 { then { policer policer_in_ge-0/0/5.981 accept; } } } } policer policer_in_ge-0/0/5.981 { if-exceeding { bandwidth-limit 10m; burst-size-limit 15220; } then discard; } }