4.4. Configuring an EVPN Service with CLI

This section provides information to configure EVPN services using the CLI for 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C.

4.4.1. EVPN-MPLS Configuration Examples

This section provides EVPN-MPLS configuration examples.

4.4.1.1. EVPN All-active Multi-homing Example

This section shows a configuration example, given the following assumptions.

  1. PE-1 and PE-2 are multi-homed to CE-12 that uses a LAG to get connected to the network. CE-12 is connected to LAG SAPs configured in an all-active multi-homing ES.
  2. PE-3 is a remote PE that performs aliasing for traffic destined for the CE-12

The following configuration example applies to a VPLS-1 on PE-1 and PE-2, as well as the corresponding ethernet-segment and lag commands.

*A:Dut-C>config>lag# info 
----------------------------------------------
        mode access
        encap-type dot1q
        port 1/4/6
        lacp active administrative-key 1 system-id 00:00:00:00:69:72
        no shutdown
----------------------------------------------
*A:Dut-C>config>lag# /configure service system bgp-evpn 
*A:Dut-D>config>service>system>bgp-evpn>eth-seg# info 
----------------------------------------------
                esi 00:de:01:00:00:00:00:00:00:01
                service-carving
                    mode auto
                exit
                multi-homing all-active
                lag 6
                no shutdown
----------------------------------------------
 description "Default tls description
            split-horizon-group "vpls1" create
                description "Default description for SHG vpls1"
            exit
            bgp-evpn
                evi 1
                mpls
                    control-word
                    split-horizon-group "vpls1"
                    ingress-replication-bum-label
                    auto-bind-tunnel
                        resolution any
                    exit
                    no shutdown
                exit
            exit
            stp
                shutdown
            exit
            sap lag-6:1 create
                description "Default sap description for service id 1"
                egress
                exit
            exit
            static-mac
                mac 00:81:00:00:00:02 create sap lag-6:1 monitor fwd-status
            exit
            no shutdown
*A:Dut-C>config>service>vpls#         
A:Dut-B>config>lag# info 
*A:Dut-E>config>service>system>bgp-evpn>eth-seg# info 
----------------------------------------------
                esi 00:de:01:00:00:00:00:00:00:01
                service-carving
                    mode auto
                exit
                multi-homing all-active
                lag 6
                no shutdown
----------------------------------------------
*A:Dut-B>config>service>system>bgp-evpn# /configure service vpls 1 
*A:Dut-E>config>service>vpls# info 
----------------------------------------------
            description "Default tls description for service id 1"
            split-horizon-group "vpls1" create
                description "Default description for SHG vpls1"
            exit
            bgp-evpn
                evi 1
                mpls
                    control-word
                    split-horizon-group "vpls1"
                    ingress-replication-bum-label
                    auto-bind-tunnel
                        resolution any
                    exit
                    no shutdown
                exit
            exit
            stp
                shutdown
            exit
            sap lag-6:1 create
                description "Default sap description for service id 1"
                egress
                exit
            exit
            no shutdown

The configuration on the remote PE (for example, PE-3), which supports aliasing to PE-1 and PE-2, is shown below. PE-3 does not have any ES configured and to perform aliasing requires only the VPLS-1 configuration and ecmp>1.

*A:PE3>config>service>vpls# info 
----------------------------------------------
            bgp
            exit
            bgp-evpn
                evi 1
                mpls
                    ingress-replication-bum-label
                    ecmp 4
                    auto-bind-tunnel
                        resolution any
                    exit
                    no shutdown
                exit
            exit
            stp
                shutdown
            exit
            sap 1/1/1:1 create
            exit
            spoke-sdp 4:13 create
                no shutdown
            exit
            no shutdown
----------------------------------------------

4.4.1.2. 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