4.4. Configuring an EVPN Service with CLI

This section provides information to configure EVPN services using the CLI for 7210 SAS-Mxp.

4.4.1. EVPN-MPLS Configuration Examples

This section provides EVPN-MPLS configuration examples.

4.4.1.1. EVPN Single-active Multi-homing Example

To use single-active multi-homing on PE-1 and PE-2 instead of all-active multi-homing perform the following:

  1. change the LAG configuration to multi-homing single-active
    The CE-12 is now configured with two different LAGs; therefore, the key, system ID, and system priority values must be different on PE-1 and PE-2
  2. change the Ethernet segment configuration to multi-homing single-active

No changes are needed at the service level on any of the three PEs.

The following configuration example shows the differences between single-active multi-homing and all-active multi-homing.

A:PE1# configure lag 1 
A:PE1>config>lag# info 
----------------------------------------------
        mode access
        encap-type dot1q
        port 1/1/2 
        lacp active administrative-key 1 system-id 00:00:00:00:69:69 
        no shutdown
----------------------------------------------
A:PE1>config>lag# /configure service system bgp-evpn 
A:PE1>config>service>system>bgp-evpn# info 
 esi 00:de:01:00:00:00:00:00:00:01
                service-carving
                    mode auto
                exit
                multi-homing single-active
                lag 6
                no shutdown
----------------------------------------------
A:PE2# configure lag 1 
A:PE2>config>lag# info 
----------------------------------------------
        mode access
        encap-type dot1q
        port 1/1/3 
        lacp active administrative-key 1 system-id 00:00:00:00:72:72 
        no shutdown
----------------------------------------------
A:PE2>config>lag# /configure service system bgp-evpn 
A:PE2>config>service>system>bgp-evpn# info 
 esi 00:de:01:00:00:00:00:00:00:01
                service-carving
                    mode auto
                exit
                multi-homing single-active
                lag 6
                no shutdown