Perform required SRL CLI configurations

Purpose

The CLI commands in this procedure are used to configure iBGP, VXLAN, VRF, and IRB0.

Note: Once the configuration files are loaded, BGP will be operational.

Steps
 

The below configuration must be performed using SRL CLI for nodes 1-1 and 1-2:

      "name": "mac-vrf-111", 

      "type": "srl_nokia-network-instance:mac-vrf", 

      "admin-state": "enable", 

      "description": "Simple EVPN layer 2", 

      "interface": [ 

        { 

          "name": "ethernet-1/11.111" 

        } 

      ], 

      "vxlan-interface": [ 

        { 

          "name": "vxlan0.111" 

        } 

      ], 

      "protocols": { 

        "bgp-evpn": { 

          "srl_nokia-bgp-evpn:bgp-instance": [ 

            { 

              "id": 1, 

              "admin-state": "enable", 

              "vxlan-interface": "vxlan0.111", 

              "evi": 111, 

              "ecmp": 2, 

              "routes": { 

                "bridge-table": { 

                  "next-hop": "use-system-ipv4-address", 

                  "mac-ip": { 

                    "advertise": true 

                  }, 

                  "inclusive-mcast": { 

                    "advertise": true 

                  } 

                } 

              } 

            } 

          ] 

        }, 

        "srl_nokia-bgp-vpn:bgp-vpn": { 

          "bgp-instance": [ 

            { 

              "id": 1, 

              "route-distinguisher": { 

                "rd": "64500:111" 

              }, 

              "route-target": { 

                "export-rt": "target:64500:111", 

                "import-rt": "target:64500:111" 

              } 

            } 

          ] 

        } 

      } 

    }, 


Execute the following command to create the irb interface:

set interface irb0

End of steps