# Ethernet Virtual Private Network (EVPN)

# URL

frinx-evpn:evpn

# OPENCONFIG YANG

YANG models

{
    "frinx-evpn:evpn": {
        "config": {
            "enabled": ,
            "cost-out": ,
            "startup-cost-in": 
        },

        "groups": {
            "group": [
                {
                    "id": ,
                    "config": {
                        "id": 
                    },
                    "core-interfaces": {
                        "interface": [
                            {
                                "name": "",
                                "config": {
                                    "name": ""
                                }
                            }
                        ]
                    }
                }
            ]
        },

        "interfaces": {
            "interface": [
                "name": "",
                "config": {
                    "name": ""
                },
                "ethernet-segment": {
                    "config": {
                        "identifier": "",
                        "load-balancing-mode": "",
                        "bgp-route-target": ""
                    }
                },
                "core-isolation-group": {
                    "config": {
                        "id": 
                    }
                }
            ]
        }
    }
}

# OS Configuration Commands

# Cisco IOS XR 6.6.1 (via NetConf)

# CLI

evpn
 group 
  core interface Bundle-Ether 
 interface Bundle-Ether 
  ethernet-segment
   identifier type 0 
   load-balancing-mode 
   bgp route-target 
  core-isolation-group 

evpn is a conversion of set to true no evpn is a conversion of set to false
is parsed from
example is Bundle-Ether100 -> is 100
is parsed from
Bundle-Ether is a conversion of set to "iana-if-type:ieee8023adLag"
mode port-active is a conversion of set to "frinx-es-lb-mode:PORT-ACTIVE"
mode single-active is a conversion of set to "frinx-es-lb-mode:SINGLE-ACTIVE"

# Unit

Link to github : xr-unit

# Cisco IOS XR 6.6.1 (no NetConf)

# CLI

evpn
 cost-out|no cost-out
 startup-cost-in 

evpn is a conversion of set true
no evpn is a conversion of set false
cost-out is a conversion of set true
no cost-out is a conversion of set false or null

# Unit

Link to github : xr-unit