Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Connectivity Services Director User Guide
Table of Contents Expand all
list Table of Contents

Predefined E-Line Service Definitions

date_range 17-Oct-23

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.

Figure 1: E-Line ServiceE-Line 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.

Table 1: Standard E-Line Service Definitions

Standard Service Definition Name

Service Attributes

ELine-Dot1q-SingleVLAN Service Definition

  • E-Line service for M Series and MX Series routers

  • Gigabit Ethernet interfaces

  • 802.1Q endpoint interface types

  • Customer traffic is single VLAN

  • Flexible-ethernet-services physical encapsulation type

  • Rate limiting from 10 Mbps to 100 Mbps with 10 Mbps increment

ELine-Dot1q-SingleVLAN-CCC Service Definition

  • E-Line service for M Series and MX Series routers

  • Gigabit Ethernet interfaces

  • 802.1Q endpoint interface types

  • Customer traffic is single VLAN

  • Vlan-ccc physical encapsulation type

  • Rate limiting from 10 Mbps to 100 Mbps with 10 Mbps increment

ELine-Dot1q-SingleVLAN-Ext-CCC Service Definition

  • E-Line service for M Series and MX Series routers

  • Gigabit Ethernet interfaces

  • 802.1Q endpoint interface types

  • Customer traffic is single VLAN

  • Extended-vlan-ccc physical encapsulation type

  • Rate limiting from 10 Mbps to 100 Mbps with 10 Mbps increment

ELine-PortBased Service Definition

  • E-Line service for M Series and MX Series routers

  • Gigabit Ethernet interfaces

  • Port-based UNI

  • Ethernet-ccc physical encapsulation type

  • Rate limiting from 10 Mbps to 100 Mbps with 10 Mbps increment

ELine-QinQ-AllVLAN Service Definition

  • E-Line service for M Series and MX Series routers

  • Gigabit Ethernet interfaces

  • Q-in-Q endpoint interface types

  • All customer traffic

  • Flexible-ethernet-services physical encapsulation type

  • Rate limiting from 10 Mbps to 100 Mbps with 10 Mbps increment

ELine-QinQ-AllVLAN-CCC Service Definition

  • E-Line service for M Series and MX Series routers

  • Gigabit Ethernet interfaces

  • Q-in-Q endpoint interface types

  • All customer traffic

  • Vlan-ccc physical encapsulation type

  • Rate limiting from 10 Mbps to 100 Mbps with 10 Mbps increment

ELine-QinQ-AllVLAN-Ext-CCC Service Definition

  • E-Line service for M Series and MX Series routers

  • Gigabit Ethernet interfaces

  • Q-in-Q endpoint interface types

  • All customer traffic

  • Extended-vlan-ccc physical encapsulation type

  • Rate limiting from 10 Mbps to 100 Mbps with 10 Mbps increment

ELine-QinQ-VLANRange Service Definition

  • E-Line service for MX Series routers only

  • Gigabit Ethernet interfaces

  • Q-in-Q endpoint interface types

  • Customer traffic is range of VLANs

  • Flexible-ethernet-services physical encapsulation type

  • Rate limiting from 10 Mbps to 100 Mbps with 10 Mbps increment

ELine-QinQ-VLANRange-CCC Service Definition

  • E-Line service for MX Series routers only

  • Gigabit Ethernet interfaces

  • Q-in-Q endpoint interface types

  • Customer traffic is range of VLANs

  • Vlan-ccc physical encapsulation type

  • Rate limiting from 10 Mbps to 100 Mbps with 10  Mbps increment

ELine-QinQ-VLANRange-Ext-CCC Service Definition

  • E-Line service for MX Series routers only

  • Gigabit Ethernet interfaces

  • Q-in-Q endpoint interface types

  • Customer traffic is range of VLANs

  • Extended-vlan-ccc physical encapsulation

  • Rate limiting from 10 Mbps to 100 Mbps with 10 Mbps increment

TDM Interface

  • E-Line service for MX Series routersonly

  • T1 interfaces

  • satop physical encapsulation

Static TDM pseudowire

  • E-Line service for MX Series routers only

  • T1 interfaces

  • satop physical encapsulation

  • Static pseudowire

ATM pseudowire

  • E-Line service for MX Series routers only

  • ATM/T1interfaces

  • atm-cc-cell-relay physical encapsulation

ATM-AAL5 pseudowire

  • E-Line service for MX Series routers only

  • ATM/T1interfaces

  • atm-ccc-vc-mux/aal5 physical encapsulation

Static ATM pseudowire

  • E-Line service for MX Series routers only

  • ATM/T1 interfaces

  • atm-ccc-cell-relay/atm physical encapsulation

  • Static pseudowire

Static ATM-AAL5 pseudowire

  • E-Line service for MX Series routers only

  • ATM/T1 interfaces

  • atm-ccc-vc-mux / aal5 physical encapsulation

  • Static pseudowire

Eline-BGP-QinQ-AllVLAN

  • Ethernet service for M Series, MX Series, and ACX Series routers

  • Gigabit Ethernet interface

  • Q-in-Q endpoint interface type

  • Transport all traffic

  • Flexible-ethernet-services physical encapsulation type

  • Rate limit from 10 Mbps to 100 Mbps with 10 Mbps increment

Eline-BGP-Dot1q-SingleVLAN

  • Ethernet service for M Series, MX Series, and ACX Series routers

  • Gigabit Ethernet interface

  • 802.1Q endpoint interface types

  • Single VLAN traffic

  • Flexible-ethernet-services physical encapsulation type

  • Rate limit from 10 Mbps to 100 Mbps with 10 Mbps increment

ELine-BGP-Port-Based

  • Ethernet service for M Series, MX Series, and ACX routers

  • Gigabit Ethernet interface

  • Port-based UNIs

  • Ethernet-ccc physical encapsulation type

  • Rate limit from 10 Mbps to 100 Mbps with 10 Mbps increment

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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
 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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
 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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
    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:

content_copy zoom_out_map
 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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
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:

content_copy zoom_out_map
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;
    }
}
footer-navigation