


// define images directory relative to pwd if not defined in master.   
ifndef::imagesdir[:imagesdir: ../images]

.Show Edge Router Configuration
[source,json]
[%collapsible]
====
----
{
  "ietf-restconf:data": {
    "rtbrick-config:system": {
      "load-last-config": "true"
    },
    "rtbrick-config:interface": [
      {
        "name": "hostif-0/0/0",
        "host-if": "RR-16-R1",
        "unit": [
          {
            "unit-id": 10,
            "address": {
              "ipv4": [
                {
                  "prefix4": "192.0.2.94/30"
                }
              ],
              "ipv6": [
                {
                  "prefix6": "2001:db8::94/127"
                }
              ]
            }
          }
        ]
      },
      {
        "name": "hostif-0/0/1",
        "host-if": "RR-18-R2",
        "unit": [
          {
            "unit-id": 10,
            "address": {
              "ipv4": [
                {
                  "prefix4": "192.0.2.98/30"
                }
              ],
              "ipv6": [
                {
                  "prefix6": "2001:db8::98/127"
                }
              ]
            }
          }
        ]
      },
      {
        "name": "hostif-0/0/2",
        "host-if": "RR-19-SN",
        "unit": [
          {
            "unit-id": 10,
            "address": {
              "ipv4": [
                {
                  "prefix4": "192.0.2.129/30"
                }
              ],
              "ipv6": [
                {
                  "prefix6": "2001:db8::129/127"
                }
              ]
            }
          },
          {
            "unit-id": 20,
            "vlan": 20,
            "address": {
              "ipv4": [
                {
                  "prefix4": "198.51.100.97/30"
                }
              ]
            }
          }
        ]
      },
      {
        "name": "lo-0/0/0",
        "unit": [
          {
            "unit-id": 10,
            "address": {
              "ipv4": [
                {
                  "prefix4": "192.0.2.51/32"
                }
              ],
              "ipv6": [
                {
                  "prefix6": "2001:db8::51/128"
                }
              ]
            }
          },
          {
            "unit-id": 20,
            "address": {
              "ipv4": [
                {
                  "prefix4": "192.0.2.52/32"
                }
              ],
              "ipv6": [
                {
                  "prefix6": "2001:db8::52/128"
                }
              ]
            }
          }
        ]
      }
    ],
    "rtbrick-config:instance": [
      {
        "name": "default",
        "protocol": {
          "isis": {
            "system-id": "1921.6800.1005",
            "area": [
              "49.0002/24"
              ],
            "interface": [
              {
                "name": "hostif-0/0/0/10",
                "type": "point-to-point",
                "ldp-synchronization": "enable",
                "level-2": {
                  "adjacency-disable": "true"
                }
              },
              {
                "name": "hostif-0/0/1/10",
                "type": "point-to-point",
                "ldp-synchronization": "enable",
                "level-2": {
                  "adjacency-disable": "true"
                }
              },
              {
                "name": "hostif-0/0/2/10",
                "type": "point-to-point",
                "ldp-synchronization": "enable",
                "level-2": {
                  "adjacency-disable": "true"
                }
              },
              {
                "name": "lo-0/0/0/10",
                "type": "point-to-point",
                "passive": "true"
              }
            ]
          },
          "bgp": {
            "domain-name": "aggregated_route",
            "hostname": "aggregated_route",
            "local-as": 4200000001,
            "router-id": "192.0.2.51",
            "address-family": [
              {
                "afi": "ipv4",
                "safi": "unicast",
                "multipath": 10,
                "resolve-nexthop": {
                  "safi": "labeled-unicast"
                }
              },
              {
                "afi": "ipv6",
                "safi": "labeled-unicast"
              },
              {
                "afi": "ipv6",
                "safi": "unicast",
                "multipath": 10,
                "resolve-nexthop": {
                  "safi": "labeled-unicast"
                }
              }
            ],
            "peer": {
              "ipv4": [
                {
                  "peer-address": "192.0.2.1",
                  "update-source": "192.0.2.51",
                  "peer-group": "cbng"
                },
                {
                  "peer-address": "192.0.2.2",
                  "update-source": "192.0.2.51",
                  "peer-group": "cbng"
                }
              ]
            },
            "peer-group": [
              {
                "pg-name": "cbng",
                "remote-as": 4200000001,
                "address-family": [
                  {
                    "afi": "ipv4",
                    "safi": "unicast"
                  },
                  {
                    "afi": "ipv6",
                    "safi": "labeled-unicast"
                  },
                  {
                    "afi": "ipv6",
                    "safi": "unicast",
                    "send-label": "true"
                  }
                ]
              }
            ]
          },
          "ldp": {
            "router-id": "192.0.2.51",
            "interface": [
              {
                "name": "hostif-0/0/0/10"
              },
              {
                "name": "hostif-0/0/1/10"
              },
              {
                "name": "hostif-0/0/2/10"
              },
              {
                "name": "lo-0/0/0/10"
              }
            ]
          }
        }
      }
    ]
  }
}

----
====