show bgp all dampening flap-statistics

show bgp all dampening flap-statistics

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show bgp all dampening flap-statistics",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_vrf": {
                        "ROW_vrf": {
                            "TABLE_afi": {
                                "ROW_afi": [
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": {
                                                        "TABLE_prefix": {
                                                            "ROW_prefix": [
                                                                {
                                                                    "best": "false", 
                                                                    "duration": "6d02h", 
                                                                    "flapcount": "35147", 
                                                                    "ipprefix": "2.0.0.0/24", 
                                                                    "pathtype": "e", 
                                                                    "peer": "19.0.102.3", 
                                                                    "penalty": "35", 
                                                                    "reuse": "00:01:50", 
                                                                    "reuselimit": "10", 
                                                                    "status": "d", 
                                                                    "suppresslimit": "30"
                                                                }, 
                                                                {
                                                                    "best": "false", 
                                                                    "duration": "6d02h", 
                                                                    "flapcount": "35147", 
                                                                    "ipprefix": "2.0.1.0/24", 
                                                                    "pathtype": "e", 
                                                                    "peer": "19.0.102.3", 
                                                                    "penalty": "35", 
                                                                    "reuse": "00:01:50", 
                                                                    "reuselimit": "10", 
                                                                    "status": "d", 
                                                                    "suppresslimit": "30"
                                                                }
                                                            ]
                                                        }, 
                                                        "dampenedpaths": "2", 
                                                        "dampening": "true", 
                                                        "historypaths": "0"
                                                    }
                                                }, 
                                                "af-name": "IPv4 Unicast", 
                                                "safi": "1"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": {
                                                        "TABLE_prefix": {
                                                            "ROW_prefix": [
                                                                {
                                                                    "best": "false", 
                                                                    "duration": "6d02h", 
                                                                    "flapcount": "35147", 
                                                                    "ipprefix": "2.1.0.0/24", 
                                                                    "pathtype": "e", 
                                                                    "peer": "19.0.102.3", 
                                                                    "penalty": "35", 
                                                                    "reuse": "00:01:50", 
                                                                    "reuselimit": "10", 
                                                                    "status": "d", 
                                                                    "suppresslimit": "30"
                                                                }, 
                                                                {
                                                                    "best": "false", 
                                                                    "duration": "6d02h", 
                                                                    "flapcount": "35147", 
                                                                    "ipprefix": "2.1.1.0/24", 
                                                                    "pathtype": "e", 
                                                                    "peer": "19.0.102.3", 
                                                                    "penalty": "35", 
                                                                    "reuse": "00:01:50", 
                                                                    "reuselimit": "10", 
                                                                    "status": "d", 
                                                                    "suppresslimit": "30"
                                                                }
                                                            ]
                                                        }, 
                                                        "dampenedpaths": "2", 
                                                        "dampening": "true", 
                                                        "historypaths": "0"
                                                    }
                                                }, 
                                                "af-name": "IPv4 Multicast", 
                                                "safi": "2"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": {
                                                        "dampenedpaths": "0", 
                                                        "dampening": "true", 
                                                        "historypaths": "0"
                                                    }
                                                }, 
                                                "af-name": "IPv6 Unicast", 
                                                "safi": "1"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": {
                                                        "dampenedpaths": "0", 
                                                        "dampening": "true", 
                                                        "historypaths": "0"
                                                    }
                                                }, 
                                                "af-name": "IPv6 Multicast", 
                                                "safi": "2"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": [
                                                        {
                                                            "TABLE_prefix": {
                                                                "ROW_prefix": [
                                                                    {
                                                                        "best": "false", 
                                                                        "duration": "6d02h", 
                                                                        "flapcount": "35147", 
                                                                        "ipprefix": "2.3.1.0/24", 
                                                                        "pathtype": "e", 
                                                                        "peer": "19.0.102.3", 
                                                                        "penalty": "35", 
                                                                        "reuse": "00:01:50", 
                                                                        "reuselimit": "10", 
                                                                        "status": "d", 
                                                                        "suppresslimit": "30"
                                                                    }, 
                                                                    {
                                                                        "best": "false", 
                                                                        "duration": "6d02h", 
                                                                        "flapcount": "35147", 
                                                                        "ipprefix": "2.3.2.0/24", 
                                                                        "pathtype": "e", 
                                                                        "peer": "19.0.102.3", 
                                                                        "penalty": "35", 
                                                                        "reuse": "00:01:50", 
                                                                        "reuselimit": "10", 
                                                                        "status": "d", 
                                                                        "suppresslimit": "30"
                                                                    }
                                                                ]
                                                            }, 
                                                            "dampenedpaths": "2", 
                                                            "dampening": "true", 
                                                            "historypaths": "0", 
                                                            "rd_val": "0:0"
                                                        }, 
                                                        {
                                                            "dampenedpaths": "2", 
                                                            "dampening": "true", 
                                                            "historypaths": "0", 
                                                            "rd_val": "101:100"
                                                        }, 
                                                        {
                                                            "dampenedpaths": "2", 
                                                            "dampening": "true", 
                                                            "historypaths": "0", 
                                                            "rd_val": "102:100"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "VPNv4 Unicast", 
                                                "safi": "128"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": [
                                                        {
                                                            "dampenedpaths": "0", 
                                                            "dampening": "true", 
                                                            "historypaths": "0", 
                                                            "rd_val": "100:200"
                                                        }, 
                                                        {
                                                            "dampenedpaths": "0", 
                                                            "dampening": "true", 
                                                            "historypaths": "0", 
                                                            "rd_val": "0xbb00010000000000"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "VPNv6 Unicast", 
                                                "safi": "128"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "af-name": "IPv4 MVPN", 
                                                "safi": "5"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "af-name": "IPv6 MVPN", 
                                                "safi": "5"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": [
                                                        {
                                                            "dampenedpaths": "4", 
                                                            "dampening": "true", 
                                                            "historypaths": "0", 
                                                            "rd_val": "101:1000"
                                                        }, 
                                                        {
                                                            "dampenedpaths": "4", 
                                                            "dampening": "true", 
                                                            "historypaths": "0", 
                                                            "rd_val": "101:1001"
                                                        }, 
                                                        {
                                                            "dampenedpaths": "4", 
                                                            "dampening": "true", 
                                                            "historypaths": "0", 
                                                            "rd_val": "101:10001"
                                                        }, 
                                                        {
                                                            "TABLE_prefix": {
                                                                "ROW_prefix": [
                                                                    {
                                                                        "best": "false", 
                                                                        "duration": "6d02h", 
                                                                        "flapcount": "35634", 
                                                                        "nonipprefix": "[2]:[0]:[0]:[48]:[0201.0201.0201]:[32]:[2.7.1.1]/248", 
                                                                        "pathtype": "e", 
                                                                        "peer": "19.0.102.3", 
                                                                        "penalty": "35", 
                                                                        "reuse": "00:01:50", 
                                                                        "reuselimit": "10", 
                                                                        "status": "d", 
                                                                        "suppresslimit": "30"
                                                                    }, 
                                                                    {
                                                                        "best": "false", 
                                                                        "duration": "6d02h", 
                                                                        "flapcount": "35634", 
                                                                        "nonipprefix": "[2]:[0]:[0]:[48]:[0201.0201.0202]:[32]:[2.7.1.2]/248", 
                                                                        "pathtype": "e", 
                                                                        "peer": "19.0.102.3", 
                                                                        "penalty": "35", 
                                                                        "reuse": "00:01:50", 
                                                                        "reuselimit": "10", 
                                                                        "status": "d", 
                                                                        "suppresslimit": "30"
                                                                    }, 
                                                                    {
                                                                        "best": "false", 
                                                                        "duration": "6d02h", 
                                                                        "flapcount": "35147", 
                                                                        "nonipprefix": "[5]:[0]:[0]:[24]:[2.8.1.0]:[0.0.0.0]/224", 
                                                                        "pathtype": "e", 
                                                                        "peer": "19.0.102.3", 
                                                                        "penalty": "35", 
                                                                        "reuse": "00:01:50", 
                                                                        "reuselimit": "10", 
                                                                        "status": "d", 
                                                                        "suppresslimit": "30"
                                                                    }, 
                                                                    {
                                                                        "best": "false", 
                                                                        "duration": "6d02h", 
                                                                        "flapcount": "35147", 
                                                                        "nonipprefix": "[5]:[0]:[0]:[24]:[2.8.2.0]:[0.0.0.0]/224", 
                                                                        "pathtype": "e", 
                                                                        "peer": "19.0.102.3", 
                                                                        "penalty": "35", 
                                                                        "reuse": "00:01:50", 
                                                                        "reuselimit": "10", 
                                                                        "status": "d", 
                                                                        "suppresslimit": "30"
                                                                    }
                                                                ]
                                                            }, 
                                                            "dampenedpaths": "4", 
                                                            "dampening": "true", 
                                                            "historypaths": "0", 
                                                            "rd_val": "201:2000"
                                                        }, 
                                                        {
                                                            "dampenedpaths": "4", 
                                                            "dampening": "true", 
                                                            "historypaths": "0", 
                                                            "rd_val": "2.2.2.101:1002"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "L2VPN EVPN", 
                                                "safi": "70"
                                            }
                                        }, 
                                        "afi": "25"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": {
                                                        "TABLE_prefix": {
                                                            "ROW_prefix": [
                                                                {
                                                                    "best": "false", 
                                                                    "duration": "6d02h", 
                                                                    "flapcount": "35147", 
                                                                    "nonipprefix": "[2]:[77][7,0][39.39.39.39,1,656877351][39.1.1.1,22][19.0.102.3,39.0.1.30]/616", 
                                                                    "pathtype": "e", 
                                                                    "peer": "19.0.102.3", 
                                                                    "penalty": "35", 
                                                                    "reuse": "00:01:50", 
                                                                    "reuselimit": "10", 
                                                                    "status": "d", 
                                                                    "suppresslimit": "30"
                                                                }, 
                                                                {
                                                                    "best": "false", 
                                                                    "duration": "6d02h", 
                                                                    "flapcount": "35147", 
                                                                    "nonipprefix": "[2]:[77][7,0][39.39.39.39,2,656877351][39.1.1.1,22][19.0.102.3,39.0.1.31]/616", 
                                                                    "pathtype": "e", 
                                                                    "peer": "19.0.102.3", 
                                                                    "penalty": "35", 
                                                                    "reuse": "00:01:50", 
                                                                    "reuselimit": "10", 
                                                                    "status": "d", 
                                                                    "suppresslimit": "30"
                                                                }
                                                            ]
                                                        }, 
                                                        "dampenedpaths": "2", 
                                                        "dampening": "true", 
                                                        "historypaths": "0"
                                                    }
                                                }, 
                                                "af-name": "Link-State", 
                                                "safi": "71"
                                            }
                                        }, 
                                        "afi": "16388"
                                    }
                                ]
                            }, 
                            "vrf-name-out": "default"
                        }
                    }
                }, 
                "code": "200", 
                "input": "show bgp all dampening flap-statistics", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show bgp all dampening flap-statistics command, see the CLI command reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

Note: This example was added in Cisco NX-OS Release 7.0(3)I7(4).

CLI Output
Switch# show bgp all dampening flap-statistics

Flap Statistics for VRF default, address family IPv4 Unicast:
Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 2 dampened paths

    Network                 Peer              Flaps  Duration ReuseTime P / S / R
d e 2.0.0.0/24        19.0.102.3                351476d02h    00:01:50  35/30/10
d e 2.0.1.0/24        19.0.102.3                351476d02h    00:01:50  35/30/10

Flap Statistics for VRF default, address family IPv4 Multicast:
Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 2 dampened paths

    Network                 Peer              Flaps  Duration ReuseTime P / S / R
d e 2.1.0.0/24        19.0.102.3                351476d02h    00:01:50  35/30/10
d e 2.1.1.0/24        19.0.102.3                351476d02h    00:01:50  35/30/10

Flap Statistics for VRF default, address family IPv6 Unicast:
Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 0 dampened paths

    Network                 Peer              Flaps  Duration ReuseTime P / S / R

Flap Statistics for VRF default, address family IPv6 Multicast:
Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 0 dampened paths

    Network                 Peer              Flaps  Duration ReuseTime P / S / R

Flap Statistics for VRF default, address family VPNv4 Unicast:
Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 2 dampened paths

Route Distinguisher: 0:0
    Network                 Peer              Flaps  Duration ReuseTime P / S / R
d e 2.3.1.0/24        19.0.102.3                351476d02h    00:01:50  35/30/10
d e 2.3.2.0/24        19.0.102.3                351476d02h    00:01:50  35/30/10

Flap Statistics for VRF default, address family VPNv4 Unicast:
Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 2 dampened paths

Route Distinguisher: 101:100
    Network                 Peer              Flaps  Duration ReuseTime P / S / R

Flap Statistics for VRF default, address family VPNv4 Unicast:
Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 2 dampened paths

Route Distinguisher: 102:100
    Network                 Peer              Flaps  Duration ReuseTime P / S / R

Flap Statistics for VRF default, address family VPNv6 Unicast:
Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 0 dampened paths

Route Distinguisher: 100:200
    Network                 Peer              Flaps  Duration ReuseTime P / S / R

Flap Statistics for VRF default, address family VPNv6 Unicast:
Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 0 dampened paths

Route Distinguisher: 0xbb00010000000000
    Network                 Peer              Flaps  Duration ReuseTime P / S / R

Flap Statistics for VRF default, address family L2VPN EVPN:
Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 4 dampened paths

Route Distinguisher: 101:1000
    Network                 Peer              Flaps  Duration ReuseTime P / S / R

Flap Statistics for VRF default, address family L2VPN EVPN:
Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 4 dampened paths

Route Distinguisher: 101:1001
    Network                 Peer              Flaps  Duration ReuseTime P / S / R

Flap Statistics for VRF default, address family L2VPN EVPN:
Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 4 dampened paths

Route Distinguisher: 101:10001
    Network                 Peer              Flaps  Duration ReuseTime P / S / R

Flap Statistics for VRF default, address family L2VPN EVPN:
Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 4 dampened paths

Route Distinguisher: 201:2000
    Network                 Peer              Flaps  Duration ReuseTime P / S / R
d e [2]:[0]:[0]:[48]:[0201.0201.0201]:[32]:[2.7.1.1]/248 19.0.102.3                356346d02h    00:01:50  35/30/10
d e [2]:[0]:[0]:[48]:[0201.0201.0202]:[32]:[2.7.1.2]/248 19.0.102.3                356346d02h    00:01:50  35/30/10
d e [5]:[0]:[0]:[24]:[2.8.1.0]:[0.0.0.0]/224 19.0.102.3                351476d02h    00:01:50  35/30/10
d e [5]:[0]:[0]:[24]:[2.8.2.0]:[0.0.0.0]/224 19.0.102.3                351476d02h    00:01:50  35/30/10

Flap Statistics for VRF default, address family L2VPN EVPN:
Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 4 dampened paths

Route Distinguisher: 2.2.2.101:1002
    Network                 Peer              Flaps  Duration ReuseTime P / S / R

Flap Statistics for VRF default, address family Link-State:
Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 2 dampened paths

    Network                 Peer              Flaps  Duration ReuseTime P / S / R
d e [2]:[77][7,0][39.39.39.39,1,656877351][39.1.1.1,22][19.0.102.3,39.0.1.30]/616 19.0.102.3                351476d02h    00:01:50  35/30/10
d e [2]:[77][7,0][39.39.39.39,2,656877351][39.1.1.1,22][19.0.102.3,39.0.1.31]/616 19.0.102.3                351476d02h    00:01:50  35/30/10

show bgp all extcommunity 4byteas-generic transitive 3:100

show bgp all extcommunity 4byteas-generic transitive 3:100

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show bgp all extcommunity 4byteas-generic transitive 3:100",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_vrf": {
                        "ROW_vrf": {
                            "TABLE_afi": {
                                "ROW_afi": [
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "af-name": "IPv4 Unicast", 
                                                "router-id": "19.0.0.6", 
                                                "safi": "1", 
                                                "table-version": "140602"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "af-name": "IPv4 Multicast", 
                                                "router-id": "19.0.0.6", 
                                                "safi": "2", 
                                                "table-version": "140597"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "af-name": "IPv6 Unicast", 
                                                "router-id": "19.0.0.6", 
                                                "safi": "1", 
                                                "table-version": "3"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "af-name": "IPv6 Multicast", 
                                                "safi": "2"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": [
                                                        {
                                                            "rd_val": "0:0"
                                                        }, 
                                                        {
                                                            "rd_val": "101:100"
                                                        }, 
                                                        {
                                                            "rd_val": "102:100"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "VPNv4 Unicast", 
                                                "router-id": "19.0.0.6", 
                                                "safi": "128", 
                                                "table-version": "140611"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": [
                                                        {
                                                            "rd_val": "100:200"
                                                        }, 
                                                        {
                                                            "rd_val": "0xbb00010000000000"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "VPNv6 Unicast", 
                                                "router-id": "19.0.0.6", 
                                                "safi": "128", 
                                                "table-version": "13"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": [
                                                        {
                                                            "rd_val": "201:201"
                                                        }, 
                                                        {
                                                            "rd_val": "202:202"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "IPv4 MVPN", 
                                                "router-id": "19.0.0.6", 
                                                "safi": "5", 
                                                "table-version": "39"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": [
                                                        {
                                                            "rd_val": "301:301"
                                                        }, 
                                                        {
                                                            "rd_val": "303:303"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "IPv6 MVPN", 
                                                "router-id": "19.0.0.6", 
                                                "safi": "5", 
                                                "table-version": "24"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": [
                                                        {
                                                            "rd_val": "101:1000"
                                                        }, 
                                                        {
                                                            "rd_val": "101:1001"
                                                        }, 
                                                        {
                                                            "rd_val": "101:10001"
                                                        }, 
                                                        {
                                                            "rd_val": "201:2000"
                                                        }, 
                                                        {
                                                            "rd_val": "2.2.2.101:1002"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "L2VPN EVPN", 
                                                "router-id": "19.0.0.6", 
                                                "safi": "70", 
                                                "table-version": "282172"
                                            }
                                        }, 
                                        "afi": "25"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "af-name": "Link-State", 
                                                "router-id": "19.0.0.6", 
                                                "safi": "71", 
                                                "table-version": "140596"
                                            }
                                        }, 
                                        "afi": "16388"
                                    }
                                ]
                            }, 
                            "vrf-name-out": "default"
                        }
                    }
                }, 
                "code": "200", 
                "input": "show bgp all extcommunity 4byteas-generic transitive 3:100", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show bgp all extcommunity 4byteas-generic transitive 3:100 command, see the CLI command reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

Note: This example was added in Cisco NX-OS Release 7.0(3)I7(4).

CLI Output
Switch# show bgp all extcommunity 4byteas-generic transitive 3:100
BGP routing table information for VRF default, address family IPv4 Unicast
BGP table version is 140602, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path

BGP routing table information for VRF default, address family IPv4 Multicast
BGP table version is 140597, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path

BGP routing table information for VRF default, address family IPv6 Unicast
BGP table version is 3, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path

BGP routing table information for VRF default, address family VPNv4 Unicast
BGP table version is 140611, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
Route Distinguisher: 0:0

Route Distinguisher: 101:100

Route Distinguisher: 102:100

BGP routing table information for VRF default, address family VPNv6 Unicast
BGP table version is 13, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
Route Distinguisher: 100:200

Route Distinguisher: 0xbb00010000000000

BGP routing table information for VRF default, address family IPv4 MVPN
BGP table version is 39, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
Route Distinguisher: 201:201

Route Distinguisher: 202:202

BGP routing table information for VRF default, address family IPv6 MVPN
BGP table version is 24, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
Route Distinguisher: 301:301

Route Distinguisher: 303:303

BGP routing table information for VRF default, address family L2VPN EVPN
BGP table version is 282172, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
Route Distinguisher: 101:1000

Route Distinguisher: 101:1001

Route Distinguisher: 101:10001

Route Distinguisher: 201:2000

Route Distinguisher: 2.2.2.101:1002

BGP routing table information for VRF default, address family Link-State
BGP table version is 140596, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path


show bgp all neighbors 19.0.102.3 flap-statistics vrf all

show bgp all neighbors 19.0.102.3 flap-statistics vrf all

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show bgp all neighbors 19.0.101.1 flap-statistics vrf all",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{
    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_vrf": {
                        "ROW_vrf": {
                            "TABLE_afi": {
                                "ROW_afi": [
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": {
                                                        "TABLE_prefix": {
                                                            "ROW_prefix": [
                                                                {
                                                                    "best": "false", 
                                                                    "duration": "1w6d", 
                                                                    "flapcount": "9429", 
                                                                    "ipprefix": "2.0.0.0/24", 
                                                                    "pathtype": "e", 
                                                                    "peer": "19.0.102.3", 
                                                                    "penalty": "34", 
                                                                    "reuse": "00:01:40", 
                                                                    "reuselimit": "10", 
                                                                    "status": "d", 
                                                                    "suppresslimit": "30"
                                                                }, 
                                                                {
                                                                    "best": "false", 
                                                                    "duration": "1w6d", 
                                                                    "flapcount": "9429", 
                                                                    "ipprefix": "2.0.1.0/24", 
                                                                    "pathtype": "e", 
                                                                    "peer": "19.0.102.3", 
                                                                    "penalty": "34", 
                                                                    "reuse": "00:01:40", 
                                                                    "reuselimit": "10", 
                                                                    "status": "d", 
                                                                    "suppresslimit": "30"
                                                                }
                                                            ]
                                                        }, 
                                                        "dampenedpaths": "2", 
                                                        "dampening": "true", 
                                                        "historypaths": "0"
                                                    }
                                                }, 
                                                "af-name": "IPv4 Unicast", 
                                                "safi": "1"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": {
                                                        "TABLE_prefix": {
                                                            "ROW_prefix": [
                                                                {
                                                                    "best": "false", 
                                                                    "duration": "1w6d", 
                                                                    "flapcount": "9429", 
                                                                    "ipprefix": "2.1.0.0/24", 
                                                                    "pathtype": "e", 
                                                                    "peer": "19.0.102.3", 
                                                                    "penalty": "34", 
                                                                    "reuse": "00:01:40", 
                                                                    "reuselimit": "10", 
                                                                    "status": "d", 
                                                                    "suppresslimit": "30"
                                                                }, 
                                                                {
                                                                    "best": "false", 
                                                                    "duration": "1w6d", 
                                                                    "flapcount": "9429", 
                                                                    "ipprefix": "2.1.1.0/24", 
                                                                    "pathtype": "e", 
                                                                    "peer": "19.0.102.3", 
                                                                    "penalty": "34", 
                                                                    "reuse": "00:01:40", 
                                                                    "reuselimit": "10", 
                                                                    "status": "d", 
                                                                    "suppresslimit": "30"
                                                                }
                                                            ]
                                                        }, 
                                                        "dampenedpaths": "2", 
                                                        "dampening": "true", 
                                                        "historypaths": "0"
                                                    }
                                                }, 
                                                "af-name": "IPv4 Multicast", 
                                                "safi": "2"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": {
                                                        "dampenedpaths": "0", 
                                                        "dampening": "true", 
                                                        "historypaths": "0"
                                                    }
                                                }, 
                                                "af-name": "IPv6 Unicast", 
                                                "safi": "1"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": {
                                                        "dampenedpaths": "0", 
                                                        "dampening": "true", 
                                                        "historypaths": "0"
                                                    }
                                                }, 
                                                "af-name": "IPv6 Multicast", 
                                                "safi": "2"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "af-name": "VPNv4 Unicast", 
                                                "safi": "128"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "af-name": "VPNv6 Unicast", 
                                                "safi": "128"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "af-name": "IPv4 MVPN", 
                                                "safi": "5"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "af-name": "IPv6 MVPN", 
                                                "safi": "5"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "af-name": "L2VPN EVPN", 
                                                "safi": "70"
                                            }
                                        }, 
                                        "afi": "25"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": {
                                                        "TABLE_prefix": {
                                                            "ROW_prefix": [
                                                                {
                                                                    "best": "false", 
                                                                    "duration": "1w6d", 
                                                                    "flapcount": "9429", 
                                                                    "nonipprefix": "[2]:[77][7,0][39.39.39.39,1,656877351][39.1.1.1,22][19.0.102.3,39.0.1.30]/616", 
                                                                    "pathtype": "e", 
                                                                    "peer": "19.0.102.3", 
                                                                    "penalty": "34", 
                                                                    "reuse": "00:01:40", 
                                                                    "reuselimit": "10", 
                                                                    "status": "d", 
                                                                    "suppresslimit": "30"
                                                                }, 
                                                                {
                                                                    "best": "false", 
                                                                    "duration": "1w6d", 
                                                                    "flapcount": "9429", 
                                                                    "nonipprefix": "[2]:[77][7,0][39.39.39.39,2,656877351][39.1.1.1,22][19.0.102.3,39.0.1.31]/616", 
                                                                    "pathtype": "e", 
                                                                    "peer": "19.0.102.3", 
                                                                    "penalty": "34", 
                                                                    "reuse": "00:01:40", 
                                                                    "reuselimit": "10", 
                                                                    "status": "d", 
                                                                    "suppresslimit": "30"
                                                                }
                                                            ]
                                                        }, 
                                                        "dampenedpaths": "2", 
                                                        "dampening": "true", 
                                                        "historypaths": "0"
                                                    }
                                                }, 
                                                "af-name": "Link-State", 
                                                "safi": "71"
                                            }
                                        }, 
                                        "afi": "16388"
                                    }
                                ]
                            }, 
                            "vrf-name-out": "default"
                        }
                    }
                }, 
                "code": "200", 
                "input": "show bgp all neighbors 19.0.102.3 flap-statistics vrf all", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show bgp all neighbors 19.0.101.1 flap-statistics vrf all command, see the CLI command reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

Note: This example was added in Cisco NX-OS Release 7.0(3)I7(4).

CLI Output
Switch# show bgp all neighbors 19.0.102.3 flap-statistics vrf all
Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 2 dampened paths

    Network                 Peer              Flaps  Duration ReuseTime P / S / R
d e 2.0.0.0/24        19.0.102.3                9429 1w6d     00:01:40  34/30/10
d e 2.0.1.0/24        19.0.102.3                9429 1w6d     00:01:40  34/30/10

Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 2 dampened paths

    Network                 Peer              Flaps  Duration ReuseTime P / S / R
d e 2.1.0.0/24        19.0.102.3                9429 1w6d     00:01:40  34/30/10
d e 2.1.1.0/24        19.0.102.3                9429 1w6d     00:01:40  34/30/10

Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 0 dampened paths

    Network                 Peer              Flaps  Duration ReuseTime P / S / R

Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 0 dampened paths

    Network                 Peer              Flaps  Duration ReuseTime P / S / R






Flaps - Flap count of prefix, Duration - Duration of flap statistics
ReuseTime - Time after which a dampened path will be reused
P - Current Penalty  S - Suppress Limit  R- Reuse Limit
Dampening configured, 0 history paths, 2 dampened paths

    Network                 Peer              Flaps  Duration ReuseTime P / S / R
d e [2]:[77][7,0][39.39.39.39,1,656877351][39.1.1.1,22][19.0.102.3,39.0.1.30]/616 19.0.102.3                9429 1w6d     00:01:40  34/30/10
d e [2]:[77][7,0][39.39.39.39,2,656877351][39.1.1.1,22][19.0.102.3,39.0.1.31]/616 19.0.102.3                9429 1w6d     00:01:40  34/30/10


show bgp all route-map perMIT_aLL_RM

show bgp all route-map perMIT_aLL_RM

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show bgp all route-map perMIT_aLL_RM",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_vrf": {
                        "ROW_vrf": {
                            "TABLE_afi": {
                                "ROW_afi": [
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": {
                                                        "TABLE_prefix": {
                                                            "ROW_prefix": [
                                                                {
                                                                    "TABLE_path": {
                                                                        "ROW_path": [
                                                                            {
                                                                                "aspath": "1 2 3 65000 23", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipnexthop": "21.0.101.99", 
                                                                                "localpref": "100", 
                                                                                "metric": "2222", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }, 
                                                                            {
                                                                                "aspath": "{1956 38871 10250 47165 18545 55460 26839 63754 35134 6514}", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.102.4", 
                                                                                "localpref": "100", 
                                                                                "origin": "i", 
                                                                                "pathnr": "1", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        ]
                                                                    }, 
                                                                    "ipprefix": "1.1.1.0/24"
                                                                }, 
                                                                {
                                                                    "TABLE_path": {
                                                                        "ROW_path": [
                                                                            {
                                                                                "aspath": "1 2 3 65000 23", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipnexthop": "21.0.101.99", 
                                                                                "localpref": "100", 
                                                                                "metric": "2222", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }, 
                                                                            {
                                                                                "aspath": "{1956 38871 10250 47165 18545 55460 26839 63754 35134 6514}", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.102.4", 
                                                                                "localpref": "100", 
                                                                                "origin": "i", 
                                                                                "pathnr": "1", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        ]
                                                                    }, 
                                                                    "ipprefix": "1.1.2.0/24"
                                                                }, 
                                                                {
                                                                    "TABLE_path": {
                                                                        "ROW_path": {
                                                                            "aspath": "10 20 30 40 50 60 70 80 90", 
                                                                            "best": "bestpath", 
                                                                            "bestcode": ">", 
                                                                            "ipnexthop": "19.0.101.1", 
                                                                            "localpref": "100", 
                                                                            "origin": "i", 
                                                                            "pathnr": "0", 
                                                                            "status": "valid", 
                                                                            "statuscode": "*", 
                                                                            "type": "internal", 
                                                                            "typecode": "i", 
                                                                            "weight": "0"
                                                                        }
                                                                    }, 
                                                                    "ipprefix": "1.6.0.0/16"
                                                                }, 
                                                                {
                                                                    "TABLE_path": {
                                                                        "ROW_path": {
                                                                            "aspath": "10 20 30 40 50 60 70 80 90", 
                                                                            "best": "bestpath", 
                                                                            "bestcode": ">", 
                                                                            "ipnexthop": "19.0.101.1", 
                                                                            "localpref": "100", 
                                                                            "origin": "i", 
                                                                            "pathnr": "0", 
                                                                            "status": "valid", 
                                                                            "statuscode": "*", 
                                                                            "type": "internal", 
                                                                            "typecode": "i", 
                                                                            "weight": "0"
                                                                        }
                                                                    }, 
                                                                    "ipprefix": "1.6.1.128/25"
                                                                }, 
                                                                {
                                                                    "TABLE_path": {
                                                                        "ROW_path": {
                                                                            "aspath": "888 10 20 30 40 50 60 70 80 90", 
                                                                            "best": "none", 
                                                                            "bestcode": {}, 
                                                                            "ipnexthop": "19.0.102.3", 
                                                                            "origin": "i", 
                                                                            "pathnr": "0", 
                                                                            "status": "dampened", 
                                                                            "statuscode": "d", 
                                                                            "type": "external", 
                                                                            "typecode": "e", 
                                                                            "weight": "0"
                                                                        }
                                                                    }, 
                                                                    "ipprefix": "2.0.0.0/24"
                                                                }, 
                                                                {
                                                                    "TABLE_path": {
                                                                        "ROW_path": {
                                                                            "aspath": "888 10 20 30 40 50 60 70 80 90", 
                                                                            "best": "none", 
                                                                            "bestcode": {}, 
                                                                            "ipnexthop": "19.0.102.3", 
                                                                            "origin": "i", 
                                                                            "pathnr": "0", 
                                                                            "status": "dampened", 
                                                                            "statuscode": "d", 
                                                                            "type": "external", 
                                                                            "typecode": "e", 
                                                                            "weight": "0"
                                                                        }
                                                                    }, 
                                                                    "ipprefix": "2.0.1.0/24"
                                                                }, 
                                                                {
                                                                    "TABLE_path": {
                                                                        "ROW_path": {
                                                                            "aspath": "", 
                                                                            "best": "bestpath", 
                                                                            "bestcode": ">", 
                                                                            "ipnexthop": "0.0.0.0", 
                                                                            "localpref": "100", 
                                                                            "metric": "0", 
                                                                            "origin": "?", 
                                                                            "pathnr": "0", 
                                                                            "status": "valid", 
                                                                            "statuscode": "*", 
                                                                            "type": "redist", 
                                                                            "typecode": "r", 
                                                                            "weight": "32768"
                                                                        }
                                                                    }, 
                                                                    "ipprefix": "104.0.0.0/8"
                                                                }
                                                            ]
                                                        }
                                                    }
                                                }, 
                                                "af-name": "IPv4 Unicast", 
                                                "router-id": "19.0.0.6", 
                                                "safi": "1", 
                                                "table-version": "140602"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": {
                                                        "TABLE_prefix": {
                                                            "ROW_prefix": [
                                                                {
                                                                    "TABLE_path": {
                                                                        "ROW_path": {
                                                                            "aspath": "2 3 4", 
                                                                            "best": "bestpath", 
                                                                            "bestcode": ">", 
                                                                            "ipnexthop": "19.0.102.4", 
                                                                            "localpref": "100", 
                                                                            "origin": "i", 
                                                                            "pathnr": "0", 
                                                                            "status": "valid", 
                                                                            "statuscode": "*", 
                                                                            "type": "internal", 
                                                                            "typecode": "i", 
                                                                            "weight": "0"
                                                                        }
                                                                    }, 
                                                                    "ipprefix": "1.4.1.0/24"
                                                                }, 
                                                                {
                                                                    "TABLE_path": {
                                                                        "ROW_path": {
                                                                            "aspath": "2 3 4", 
                                                                            "best": "bestpath", 
                                                                            "bestcode": ">", 
                                                                            "ipnexthop": "19.0.102.4", 
                                                                            "localpref": "100", 
                                                                            "origin": "i", 
                                                                            "pathnr": "0", 
                                                                            "status": "valid", 
                                                                            "statuscode": "*", 
                                                                            "type": "internal", 
                                                                            "typecode": "i", 
                                                                            "weight": "0"
                                                                        }
                                                                    }, 
                                                                    "ipprefix": "1.4.2.0/24"
                                                                }, 
                                                                {
                                                                    "TABLE_path": {
                                                                        "ROW_path": {
                                                                            "aspath": "888 10 20 30 40 50 60 70 80 90", 
                                                                            "best": "none", 
                                                                            "bestcode": {}, 
                                                                            "ipnexthop": "19.0.102.3", 
                                                                            "origin": "i", 
                                                                            "pathnr": "0", 
                                                                            "status": "dampened", 
                                                                            "statuscode": "d", 
                                                                            "type": "external", 
                                                                            "typecode": "e", 
                                                                            "weight": "0"
                                                                        }
                                                                    }, 
                                                                    "ipprefix": "2.1.0.0/24"
                                                                }, 
                                                                {
                                                                    "TABLE_path": {
                                                                        "ROW_path": {
                                                                            "aspath": "888 10 20 30 40 50 60 70 80 90", 
                                                                            "best": "none", 
                                                                            "bestcode": {}, 
                                                                            "ipnexthop": "19.0.102.3", 
                                                                            "origin": "i", 
                                                                            "pathnr": "0", 
                                                                            "status": "dampened", 
                                                                            "statuscode": "d", 
                                                                            "type": "external", 
                                                                            "typecode": "e", 
                                                                            "weight": "0"
                                                                        }
                                                                    }, 
                                                                    "ipprefix": "2.1.1.0/24"
                                                                }
                                                            ]
                                                        }
                                                    }
                                                }, 
                                                "af-name": "IPv4 Multicast", 
                                                "router-id": "19.0.0.6", 
                                                "safi": "2", 
                                                "table-version": "140597"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": {
                                                        "TABLE_prefix": {
                                                            "ROW_prefix": {
                                                                "TABLE_path": {
                                                                    "ROW_path": {
                                                                        "aspath": "", 
                                                                        "best": "bestpath", 
                                                                        "bestcode": ">", 
                                                                        "ipv6nexthop": "0::", 
                                                                        "localpref": "100", 
                                                                        "metric": "0", 
                                                                        "origin": "?", 
                                                                        "pathnr": "0", 
                                                                        "status": "valid", 
                                                                        "statuscode": "*", 
                                                                        "type": "redist", 
                                                                        "typecode": "r", 
                                                                        "weight": "32768"
                                                                    }
                                                                }, 
                                                                "ipv6prefix": "106::/16"
                                                            }
                                                        }
                                                    }
                                                }, 
                                                "af-name": "IPv6 Unicast", 
                                                "router-id": "19.0.0.6", 
                                                "safi": "1", 
                                                "table-version": "3"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "af-name": "IPv6 Multicast", 
                                                "safi": "2"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": [
                                                        {
                                                            "TABLE_prefix": {
                                                                "ROW_prefix": [
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "888 10 20 30 40 50 60 70 80 90", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipnexthop": "19.0.102.3", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "dampened", 
                                                                                "statuscode": "d", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "ipprefix": "2.3.1.0/24"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "888 10 20 30 40 50 60 70 80 90", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipnexthop": "19.0.102.3", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "dampened", 
                                                                                "statuscode": "d", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "ipprefix": "2.3.2.0/24"
                                                                    }
                                                                ]
                                                            }, 
                                                            "rd_val": "0:0"
                                                        }, 
                                                        {
                                                            "TABLE_prefix": {
                                                                "ROW_prefix": [
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": [
                                                                                {
                                                                                    "aspath": "3 4 5 6", 
                                                                                    "best": "none", 
                                                                                    "bestcode": {}, 
                                                                                    "ipnexthop": "19.0.101.1", 
                                                                                    "localpref": "100", 
                                                                                    "metric": "4444", 
                                                                                    "origin": "i", 
                                                                                    "pathnr": "0", 
                                                                                    "status": "valid", 
                                                                                    "statuscode": "*", 
                                                                                    "type": "internal", 
                                                                                    "typecode": "i", 
                                                                                    "weight": "0"
                                                                                }, 
                                                                                {
                                                                                    "aspath": "{43428 14808 51723 23103 60017 31397 2777 39692 11071 47986}", 
                                                                                    "best": "bestpath", 
                                                                                    "bestcode": ">", 
                                                                                    "ipnexthop": "19.0.102.4", 
                                                                                    "localpref": "100", 
                                                                                    "origin": "i", 
                                                                                    "pathnr": "1", 
                                                                                    "status": "valid", 
                                                                                    "statuscode": "*", 
                                                                                    "type": "internal", 
                                                                                    "typecode": "i", 
                                                                                    "weight": "0"
                                                                                }
                                                                            ]
                                                                        }, 
                                                                        "ipprefix": "1.3.1.0/24"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": [
                                                                                {
                                                                                    "aspath": "3 4 5 6", 
                                                                                    "best": "none", 
                                                                                    "bestcode": {}, 
                                                                                    "ipnexthop": "19.0.101.1", 
                                                                                    "localpref": "100", 
                                                                                    "metric": "4444", 
                                                                                    "origin": "i", 
                                                                                    "pathnr": "0", 
                                                                                    "status": "valid", 
                                                                                    "statuscode": "*", 
                                                                                    "type": "internal", 
                                                                                    "typecode": "i", 
                                                                                    "weight": "0"
                                                                                }, 
                                                                                {
                                                                                    "aspath": "{43428 14808 51723 23103 60017 31397 2777 39692 11071 47986}", 
                                                                                    "best": "bestpath", 
                                                                                    "bestcode": ">", 
                                                                                    "ipnexthop": "19.0.102.4", 
                                                                                    "localpref": "100", 
                                                                                    "origin": "i", 
                                                                                    "pathnr": "1", 
                                                                                    "status": "valid", 
                                                                                    "statuscode": "*", 
                                                                                    "type": "internal", 
                                                                                    "typecode": "i", 
                                                                                    "weight": "0"
                                                                                }
                                                                            ]
                                                                        }, 
                                                                        "ipprefix": "1.3.2.0/24"
                                                                    }
                                                                ]
                                                            }, 
                                                            "rd_val": "101:100"
                                                        }, 
                                                        {
                                                            "TABLE_prefix": {
                                                                "ROW_prefix": [
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "200 300 400 500 600 700", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.102.4", 
                                                                                "localpref": "100", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "ipprefix": "102.1.1.0/24"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "200 300 400 500 600 700", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.102.4", 
                                                                                "localpref": "100", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "ipprefix": "102.1.2.0/24"
                                                                    }
                                                                ]
                                                            }, 
                                                            "rd_val": "102:100"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "VPNv4 Unicast", 
                                                "router-id": "19.0.0.6", 
                                                "safi": "128", 
                                                "table-version": "140611"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": [
                                                        {
                                                            "TABLE_prefix": {
                                                                "ROW_prefix": [
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "3 10 20 30", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipv6nexthop": "::ffff:19.0.101.1", 
                                                                                "localpref": "100", 
                                                                                "metric": "4444", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "ipv6prefix": "aaaa:1::/112"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "3 10 20 30", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipv6nexthop": "::ffff:19.0.101.1", 
                                                                                "localpref": "100", 
                                                                                "metric": "4444", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "ipv6prefix": "aaaa:1::1:0/112"
                                                                    }
                                                                ]
                                                            }, 
                                                            "rd_val": "100:200"
                                                        }, 
                                                        {
                                                            "TABLE_prefix": {
                                                                "ROW_prefix": [
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "888 10 20 30 40 50 60 70 80 90", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipv6nexthop": "::ffff:19.0.102.3", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "ipv6prefix": "0::/41"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "888 10 20 30 40 50 60 70 80 90", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipv6nexthop": "::ffff:19.0.102.3", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "ipv6prefix": "0:0:80::/41"
                                                                    }
                                                                ]
                                                            }, 
                                                            "rd_val": "0xbb00010000000000"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "VPNv6 Unicast", 
                                                "router-id": "19.0.0.6", 
                                                "safi": "128", 
                                                "table-version": "13"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": [
                                                        {
                                                            "TABLE_prefix": {
                                                                "ROW_prefix": [
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "3927 54703 18326", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[1][1.1.1.1]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "3927 54703 18326", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[1][1.1.1.2]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "3927 54703 18326", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[1][1.1.1.3]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "3927 54703 18326", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[1][1.1.1.4]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "3927 54703 18326", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[1][1.1.1.5]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "63262 64561", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][192.168.1.1][224.1.2.1]/64"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "63262 64561", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][192.168.1.2][224.1.2.1]/64"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "63262 64561", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][192.168.1.3][224.1.2.1]/64"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "63262 64561", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][192.168.1.4][224.1.2.1]/64"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "63262 64561", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][192.168.1.5][224.1.2.1]/64"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "17950 18047 58797", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][15000]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "17950 18047 58797", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][15001]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "17950 18047 58797", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][15002]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "17950 18047 58797", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][15003]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "17950 18047 58797", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][15004]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "17950 18047 58797", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][15005]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "17950 18047 58797", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][15006]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "17950 18047 58797", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][15007]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "17950 18047 58797", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][15008]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "17950 18047 58797", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.20", 
                                                                                "localpref": "104", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][15009]/32"
                                                                    }
                                                                ]
                                                            }, 
                                                            "rd_val": "201:201"
                                                        }, 
                                                        {
                                                            "TABLE_prefix": {
                                                                "ROW_prefix": [
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 48291", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.10", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][192.168.100.1][224.1.200.1]/64"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 48291", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.10", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][192.168.100.2][224.1.200.1]/64"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 48291", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.10", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][192.168.100.3][224.1.200.1]/64"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 48291", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.10", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][192.168.100.4][224.1.200.1]/64"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 48291", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.10", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][192.168.100.5][224.1.200.1]/64"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 39751", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.10", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][25000]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 39751", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.10", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][25001]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 39751", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.10", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][25002]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 39751", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.10", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][25003]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 39751", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.10", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][25004]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 39751", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.10", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][25005]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 39751", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.10", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][25006]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 39751", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.10", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][25007]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 39751", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.10", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][25008]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 39751", 
                                                                                "best": "bestpath", 
                                                                                "bestcode": ">", 
                                                                                "ipnexthop": "19.0.103.10", 
                                                                                "metric": "14", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "valid", 
                                                                                "statuscode": "*", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][25009]/32"
                                                                    }
                                                                ]
                                                            }, 
                                                            "rd_val": "202:202"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "IPv4 MVPN", 
                                                "router-id": "19.0.0.6", 
                                                "safi": "5", 
                                                "table-version": "39"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": [
                                                        {
                                                            "TABLE_prefix": {
                                                                "ROW_prefix": [
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "19908 27948 52583", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:11::2", 
                                                                                "localpref": "105", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][feaa::feaa][ff02::1]/256"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "19908 27948 52583", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:11::2", 
                                                                                "localpref": "105", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][feaa::feab][ff02::1]/256"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "19908 27948 52583", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:11::2", 
                                                                                "localpref": "105", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][feaa::feac][ff02::1]/256"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "19908 27948 52583", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:11::2", 
                                                                                "localpref": "105", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][feaa::fead][ff02::1]/256"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "19908 27948 52583", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:11::2", 
                                                                                "localpref": "105", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][feaa::feae][ff02::1]/256"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "1896 3534 64762 23166 49111 8516 62917 53288 56806 12608 5667 65476", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:11::2", 
                                                                                "localpref": "105", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][20000]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "1896 3534 64762 23166 49111 8516 62917 53288 56806 12608 5667 65476", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:11::2", 
                                                                                "localpref": "105", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][20001]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "1896 3534 64762 23166 49111 8516 62917 53288 56806 12608 5667 65476", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:11::2", 
                                                                                "localpref": "105", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][20002]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "1896 3534 64762 23166 49111 8516 62917 53288 56806 12608 5667 65476", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:11::2", 
                                                                                "localpref": "105", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][20003]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "1896 3534 64762 23166 49111 8516 62917 53288 56806 12608 5667 65476", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:11::2", 
                                                                                "localpref": "105", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][20004]/32"
                                                                    }
                                                                ]
                                                            }, 
                                                            "rd_val": "301:301"
                                                        }, 
                                                        {
                                                            "TABLE_prefix": {
                                                                "ROW_prefix": [
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 36132 15886 19181 39272", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:21::2", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][feaa::feaa][ff02::1]/256"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 36132 15886 19181 39272", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:21::2", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][feaa::feab][ff02::1]/256"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 36132 15886 19181 39272", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:21::2", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][feaa::feac][ff02::1]/256"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 36132 15886 19181 39272", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:21::2", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][feaa::fead][ff02::1]/256"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 36132 15886 19181 39272", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:21::2", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5][feaa::feae][ff02::1]/256"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 17914 8670 3845 14242", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:21::2", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][30000]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 17914 8670 3845 14242", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:21::2", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][30001]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 17914 8670 3845 14242", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:21::2", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][30002]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 17914 8670 3845 14242", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:21::2", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][30003]/32"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "999 17914 8670 3845 14242", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipv6nexthop": "1920:21::2", 
                                                                                "metric": "15", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2][30004]/32"
                                                                    }
                                                                ]
                                                            }, 
                                                            "rd_val": "303:303"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "IPv6 MVPN", 
                                                "router-id": "19.0.0.6", 
                                                "safi": "5", 
                                                "table-version": "24"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": [
                                                        {
                                                            "TABLE_prefix": {
                                                                "ROW_prefix": [
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": [
                                                                                {
                                                                                    "aspath": "101 {38050 9430 46344 17724 54639} 90", 
                                                                                    "best": "none", 
                                                                                    "bestcode": {}, 
                                                                                    "ipnexthop": "19.0.101.1", 
                                                                                    "localpref": "100", 
                                                                                    "origin": "i", 
                                                                                    "pathnr": "0", 
                                                                                    "status": "invalid", 
                                                                                    "statuscode": {}, 
                                                                                    "type": "internal", 
                                                                                    "typecode": "i", 
                                                                                    "weight": "0"
                                                                                }, 
                                                                                {
                                                                                    "aspath": "102 {13987 50902 22282 59197 30576} 90", 
                                                                                    "best": "none", 
                                                                                    "bestcode": {}, 
                                                                                    "ipnexthop": "19.0.102.4", 
                                                                                    "localpref": "100", 
                                                                                    "origin": "i", 
                                                                                    "pathnr": "1", 
                                                                                    "status": "invalid", 
                                                                                    "statuscode": {}, 
                                                                                    "type": "internal", 
                                                                                    "typecode": "i", 
                                                                                    "weight": "0"
                                                                                }
                                                                            ]
                                                                        }, 
                                                                        "nonipprefix": "[2]:[0]:[0]:[48]:[0226.51bd.c81c]:[32]:[1.7.1.1]/248"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": [
                                                                                {
                                                                                    "aspath": "101 {38050 9430 46344 17724 54639} 90", 
                                                                                    "best": "none", 
                                                                                    "bestcode": {}, 
                                                                                    "ipnexthop": "19.0.101.1", 
                                                                                    "localpref": "100", 
                                                                                    "origin": "i", 
                                                                                    "pathnr": "0", 
                                                                                    "status": "invalid", 
                                                                                    "statuscode": {}, 
                                                                                    "type": "internal", 
                                                                                    "typecode": "i", 
                                                                                    "weight": "0"
                                                                                }, 
                                                                                {
                                                                                    "aspath": "102 {13987 50902 22282 59197 30576} 90", 
                                                                                    "best": "none", 
                                                                                    "bestcode": {}, 
                                                                                    "ipnexthop": "19.0.102.4", 
                                                                                    "localpref": "100", 
                                                                                    "origin": "i", 
                                                                                    "pathnr": "1", 
                                                                                    "status": "invalid", 
                                                                                    "statuscode": {}, 
                                                                                    "type": "internal", 
                                                                                    "typecode": "i", 
                                                                                    "weight": "0"
                                                                                }
                                                                            ]
                                                                        }, 
                                                                        "nonipprefix": "[2]:[0]:[0]:[48]:[0226.51bd.c81d]:[32]:[1.7.1.2]/248"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": [
                                                                                {
                                                                                    "aspath": "101 {26019 62933 34313 5693 42608 13987 50902 22282 59197 30576} 91 101 {1956 38871 10250 47165 18545 55460 26839 63754 35134 6514} 95", 
                                                                                    "best": "none", 
                                                                                    "bestcode": {}, 
                                                                                    "ipnexthop": "19.0.101.1", 
                                                                                    "localpref": "100", 
                                                                                    "origin": "i", 
                                                                                    "pathnr": "0", 
                                                                                    "status": "valid", 
                                                                                    "statuscode": "*", 
                                                                                    "type": "internal", 
                                                                                    "typecode": "i", 
                                                                                    "weight": "0"
                                                                                }, 
                                                                                {
                                                                                    "aspath": "102 {19366 56281 27660 64575 35955 7335 44249 15629 52544 23924} 91", 
                                                                                    "best": "bestpath", 
                                                                                    "bestcode": ">", 
                                                                                    "ipnexthop": "19.0.102.4", 
                                                                                    "localpref": "100", 
                                                                                    "origin": "i", 
                                                                                    "pathnr": "1", 
                                                                                    "status": "valid", 
                                                                                    "statuscode": "*", 
                                                                                    "type": "internal", 
                                                                                    "typecode": "i", 
                                                                                    "weight": "0"
                                                                                }
                                                                            ]
                                                                        }, 
                                                                        "nonipprefix": "[5]:[0]:[0]:[24]:[1.8.1.0]:[0.0.0.0]/224"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": [
                                                                                {
                                                                                    "aspath": "101 {26019 62933 34313 5693 42608 13987 50902 22282 59197 30576} 91 101 {1956 38871 10250 47165 18545 55460 26839 63754 35134 6514} 95", 
                                                                                    "best": "none", 
                                                                                    "bestcode": {}, 
                                                                                    "ipnexthop": "19.0.101.1", 
                                                                                    "localpref": "100", 
                                                                                    "origin": "i", 
                                                                                    "pathnr": "0", 
                                                                                    "status": "valid", 
                                                                                    "statuscode": "*", 
                                                                                    "type": "internal", 
                                                                                    "typecode": "i", 
                                                                                    "weight": "0"
                                                                                }, 
                                                                                {
                                                                                    "aspath": "102 {19366 56281 27660 64575 35955 7335 44249 15629 52544 23924} 91", 
                                                                                    "best": "bestpath", 
                                                                                    "bestcode": ">", 
                                                                                    "ipnexthop": "19.0.102.4", 
                                                                                    "localpref": "100", 
                                                                                    "origin": "i", 
                                                                                    "pathnr": "1", 
                                                                                    "status": "valid", 
                                                                                    "statuscode": "*", 
                                                                                    "type": "internal", 
                                                                                    "typecode": "i", 
                                                                                    "weight": "0"
                                                                                }
                                                                            ]
                                                                        }, 
                                                                        "nonipprefix": "[5]:[0]:[0]:[24]:[1.8.2.0]:[0.0.0.0]/224"
                                                                    }
                                                                ]
                                                            }, 
                                                            "rd_val": "101:1000"
                                                        }, 
                                                        {
                                                            "TABLE_prefix": {
                                                                "ROW_prefix": [
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "101 {43428 14808 51723 23103 60017 31397 2777 39692 11071 47986} 92", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipnexthop": "19.0.101.1", 
                                                                                "localpref": "100", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2]:[0]:[0]:[48]:[0100.51bd.c81c]:[32]:[110.1.1.2]/248"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "101 {43428 14808 51723 23103 60017 31397 2777 39692 11071 47986} 92", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipnexthop": "19.0.101.1", 
                                                                                "localpref": "100", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2]:[0]:[0]:[48]:[0100.51bd.c81d]:[32]:[110.1.1.3]/248"
                                                                    }
                                                                ]
                                                            }, 
                                                            "rd_val": "101:1001"
                                                        }, 
                                                        {
                                                            "TABLE_prefix": {
                                                                "ROW_prefix": {
                                                                    "TABLE_path": {
                                                                        "ROW_path": {
                                                                            "aspath": "101 {19366 56281 27660 64575 35955 7335 44249 15629 52544 23924} 93", 
                                                                            "best": "bestpath", 
                                                                            "bestcode": ">", 
                                                                            "ipnexthop": "19.0.101.1", 
                                                                            "localpref": "100", 
                                                                            "origin": "i", 
                                                                            "pathnr": "0", 
                                                                            "status": "valid", 
                                                                            "statuscode": "*", 
                                                                            "type": "internal", 
                                                                            "typecode": "i", 
                                                                            "weight": "0"
                                                                        }
                                                                    }, 
                                                                    "nonipprefix": "[5]:[0]:[0]:[24]:[201.201.201.0]:[0.0.0.0]/224"
                                                                }
                                                            }, 
                                                            "rd_val": "101:10001"
                                                        }, 
                                                        {
                                                            "TABLE_prefix": {
                                                                "ROW_prefix": [
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "888 201 {60645 32025 3405 40319 11699 48614 19994 56908 28288 65203} 90", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipnexthop": "19.0.102.3", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "dampened", 
                                                                                "statuscode": "d", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2]:[0]:[0]:[48]:[0201.0201.0201]:[32]:[2.7.1.1]/248"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "888 201 {60645 32025 3405 40319 11699 48614 19994 56908 28288 65203} 90", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipnexthop": "19.0.102.3", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "dampened", 
                                                                                "statuscode": "d", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2]:[0]:[0]:[48]:[0201.0201.0202]:[32]:[2.7.1.2]/248"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "888 201 {36583 7962 44877 16257 53172 24551 61466 32846 4226 41140} 91", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipnexthop": "19.0.102.3", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "dampened", 
                                                                                "statuscode": "d", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5]:[0]:[0]:[24]:[2.8.1.0]:[0.0.0.0]/224"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "888 201 {36583 7962 44877 16257 53172 24551 61466 32846 4226 41140} 91", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipnexthop": "19.0.102.3", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "dampened", 
                                                                                "statuscode": "d", 
                                                                                "type": "external", 
                                                                                "typecode": "e", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[5]:[0]:[0]:[24]:[2.8.2.0]:[0.0.0.0]/224"
                                                                    }
                                                                ]
                                                            }, 
                                                            "rd_val": "201:2000"
                                                        }, 
                                                        {
                                                            "TABLE_prefix": {
                                                                "ROW_prefix": [
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "101 {60838 32218 3598 40513 11892 48807 20187 57101 28481 65396} 94", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipnexthop": "19.0.101.1", 
                                                                                "localpref": "100", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2]:[0]:[0]:[48]:[0100.51bd.c81c]:[0]:[0.0.0.0]/216"
                                                                    }, 
                                                                    {
                                                                        "TABLE_path": {
                                                                            "ROW_path": {
                                                                                "aspath": "101 {60838 32218 3598 40513 11892 48807 20187 57101 28481 65396} 94", 
                                                                                "best": "none", 
                                                                                "bestcode": {}, 
                                                                                "ipnexthop": "19.0.101.1", 
                                                                                "localpref": "100", 
                                                                                "origin": "i", 
                                                                                "pathnr": "0", 
                                                                                "status": "invalid", 
                                                                                "statuscode": {}, 
                                                                                "type": "internal", 
                                                                                "typecode": "i", 
                                                                                "weight": "0"
                                                                            }
                                                                        }, 
                                                                        "nonipprefix": "[2]:[0]:[0]:[48]:[0100.51bd.c81d]:[0]:[0.0.0.0]/216"
                                                                    }
                                                                ]
                                                            }, 
                                                            "rd_val": "2.2.2.101:1002"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "L2VPN EVPN", 
                                                "router-id": "19.0.0.6", 
                                                "safi": "70", 
                                                "table-version": "282172"
                                            }
                                        }, 
                                        "afi": "25"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rd": {
                                                    "ROW_rd": {
                                                        "TABLE_prefix": {
                                                            "ROW_prefix": [
                                                                {
                                                                    "TABLE_path": {
                                                                        "ROW_path": {
                                                                            "aspath": "3 10 20 30 40 50 60 70 80 90", 
                                                                            "best": "bestpath", 
                                                                            "bestcode": ">", 
                                                                            "ipnexthop": "19.0.101.1", 
                                                                            "localpref": "100", 
                                                                            "metric": "4444", 
                                                                            "origin": "i", 
                                                                            "pathnr": "0", 
                                                                            "status": "valid", 
                                                                            "statuscode": "*", 
                                                                            "type": "internal", 
                                                                            "typecode": "i", 
                                                                            "weight": "0"
                                                                        }
                                                                    }, 
                                                                    "nonipprefix": "[2]:[77][7,0][9.9.9.9,1,151587081][29.1.1.1,22][19.0.101.1,29.0.1.30]/616"
                                                                }, 
                                                                {
                                                                    "TABLE_path": {
                                                                        "ROW_path": {
                                                                            "aspath": "888 10 20 30 40 50 60 70 80 90", 
                                                                            "best": "none", 
                                                                            "bestcode": {}, 
                                                                            "ipnexthop": "19.0.102.3", 
                                                                            "origin": "i", 
                                                                            "pathnr": "0", 
                                                                            "status": "dampened", 
                                                                            "statuscode": "d", 
                                                                            "type": "external", 
                                                                            "typecode": "e", 
                                                                            "weight": "0"
                                                                        }
                                                                    }, 
                                                                    "nonipprefix": "[2]:[77][7,0][39.39.39.39,1,656877351][39.1.1.1,22][19.0.102.3,39.0.1.30]/616"
                                                                }, 
                                                                {
                                                                    "TABLE_path": {
                                                                        "ROW_path": {
                                                                            "aspath": "3 10 20 30 40 50 60 70 80 90", 
                                                                            "best": "bestpath", 
                                                                            "bestcode": ">", 
                                                                            "ipnexthop": "19.0.101.1", 
                                                                            "localpref": "100", 
                                                                            "metric": "4444", 
                                                                            "origin": "i", 
                                                                            "pathnr": "0", 
                                                                            "status": "valid", 
                                                                            "statuscode": "*", 
                                                                            "type": "internal", 
                                                                            "typecode": "i", 
                                                                            "weight": "0"
                                                                        }
                                                                    }, 
                                                                    "nonipprefix": "[2]:[77][7,0][9.9.9.9,2,151587081][29.1.1.1,22][19.0.101.1,29.0.1.31]/616"
                                                                }, 
                                                                {
                                                                    "TABLE_path": {
                                                                        "ROW_path": {
                                                                            "aspath": "888 10 20 30 40 50 60 70 80 90", 
                                                                            "best": "none", 
                                                                            "bestcode": {}, 
                                                                            "ipnexthop": "19.0.102.3", 
                                                                            "origin": "i", 
                                                                            "pathnr": "0", 
                                                                            "status": "dampened", 
                                                                            "statuscode": "d", 
                                                                            "type": "external", 
                                                                            "typecode": "e", 
                                                                            "weight": "0"
                                                                        }
                                                                    }, 
                                                                    "nonipprefix": "[2]:[77][7,0][39.39.39.39,2,656877351][39.1.1.1,22][19.0.102.3,39.0.1.31]/616"
                                                                }
                                                            ]
                                                        }
                                                    }
                                                }, 
                                                "af-name": "Link-State", 
                                                "router-id": "19.0.0.6", 
                                                "safi": "71", 
                                                "table-version": "140596"
                                            }
                                        }, 
                                        "afi": "16388"
                                    }
                                ]
                            }, 
                            "vrf-name-out": "default"
                        }
                    }
                }, 
                "code": "200", 
                "input": "show bgp all route-map perMIT_aLL_RM", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show bgp all route-map perMIT_aLL_RM command, see the CLI command reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

Note: This example was added in Cisco NX-OS Release 7.0(3)I7(4).

CLI Output
Switch# show bgp all route-map perMIT_aLL_RM
BGP routing table information for VRF default, address family IPv4 Unicast
BGP table version is 140602, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
  i1.1.1.0/24         21.0.101.99           2222        100          0 1 2 3 65000 23 i
 i                   19.0.102.4                        100          0 {1956 38871 10250 47165 18545 55460 26839 63754 35134 6514} i
  i1.1.2.0/24         21.0.101.99           2222        100          0 1 2 3 65000 23 i
 i                   19.0.102.4                        100          0 {1956 38871 10250 47165 18545 55460 26839 63754 35134 6514} i
 i1.6.0.0/16         19.0.101.1                        100          0 10 20 30 40 50 60 70 80 90 i
 i1.6.1.128/25       19.0.101.1                        100          0 10 20 30 40 50 60 70 80 90 i
d e2.0.0.0/24         19.0.102.3                                     0 888 10 20 30 40 50 60 70 80 90 i
d e2.0.1.0/24         19.0.102.3                                     0 888 10 20 30 40 50 60 70 80 90 i
 r104.0.0.0/8        0.0.0.0                  0        100      32768 ?

BGP routing table information for VRF default, address family IPv4 Multicast
BGP table version is 140597, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
 i1.4.1.0/24         19.0.102.4                        100          0 2 3 4 i
 i1.4.2.0/24         19.0.102.4                        100          0 2 3 4 i
d e2.1.0.0/24         19.0.102.3                                     0 888 10 20 30 40 50 60 70 80 90 i
d e2.1.1.0/24         19.0.102.3                                     0 888 10 20 30 40 50 60 70 80 90 i

BGP routing table information for VRF default, address family IPv6 Unicast
BGP table version is 3, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
 r106::/16           0::                      0        100      32768 ?

BGP routing table information for VRF default, address family VPNv4 Unicast
BGP table version is 140611, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
Route Distinguisher: 0:0
d e2.3.1.0/24         19.0.102.3                                     0 888 10 20 30 40 50 60 70 80 90 i
d e2.3.2.0/24         19.0.102.3                                     0 888 10 20 30 40 50 60 70 80 90 i

Route Distinguisher: 101:100
 i1.3.1.0/24         19.0.101.1            4444        100          0 3 4 5 6 i
 i                   19.0.102.4                        100          0 {43428 14808 51723 23103 60017 31397 2777 39692 11071 47986} i
 i1.3.2.0/24         19.0.101.1            4444        100          0 3 4 5 6 i
 i                   19.0.102.4                        100          0 {43428 14808 51723 23103 60017 31397 2777 39692 11071 47986} i

Route Distinguisher: 102:100
 i102.1.1.0/24       19.0.102.4                        100          0 200 300 400 500 600 700 i
 i102.1.2.0/24       19.0.102.4                        100          0 200 300 400 500 600 700 i

BGP routing table information for VRF default, address family VPNv6 Unicast
BGP table version is 13, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
Route Distinguisher: 100:200
 iaaaa:1::/112       ::ffff:19.0.101.1
                                            4444        100          0 3 10 20 30 i
 iaaaa:1::1:0/112    ::ffff:19.0.101.1
                                            4444        100          0 3 10 20 30 i

Route Distinguisher: 0xbb00010000000000
 e0::/41             ::ffff:19.0.102.3
                                                                     0 888 10 20 30 40 50 60 70 80 90 i
 e0:0:80::/41        ::ffff:19.0.102.3
                                                                     0 888 10 20 30 40 50 60 70 80 90 i

BGP routing table information for VRF default, address family IPv4 MVPN
BGP table version is 39, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
Route Distinguisher: 201:201
 i[1][1.1.1.1]/32    19.0.103.20             14        104          0 3927 54703 18326 i
 i[1][1.1.1.2]/32    19.0.103.20             14        104          0 3927 54703 18326 i
 i[1][1.1.1.3]/32    19.0.103.20             14        104          0 3927 54703 18326 i
 i[1][1.1.1.4]/32    19.0.103.20             14        104          0 3927 54703 18326 i
 i[1][1.1.1.5]/32    19.0.103.20             14        104          0 3927 54703 18326 i
 i[5][192.168.1.1][224.1.2.1]/64
                      19.0.103.20             14        104          0 63262 64561 i
 i[5][192.168.1.2][224.1.2.1]/64
                      19.0.103.20             14        104          0 63262 64561 i
 i[5][192.168.1.3][224.1.2.1]/64
                      19.0.103.20             14        104          0 63262 64561 i
 i[5][192.168.1.4][224.1.2.1]/64
                      19.0.103.20             14        104          0 63262 64561 i
 i[5][192.168.1.5][224.1.2.1]/64
                      19.0.103.20             14        104          0 63262 64561 i
 i[2][15000]/32      19.0.103.20             14        104          0 17950 18047 58797 i
 i[2][15001]/32      19.0.103.20             14        104          0 17950 18047 58797 i
 i[2][15002]/32      19.0.103.20             14        104          0 17950 18047 58797 i
 i[2][15003]/32      19.0.103.20             14        104          0 17950 18047 58797 i
 i[2][15004]/32      19.0.103.20             14        104          0 17950 18047 58797 i
 i[2][15005]/32      19.0.103.20             14        104          0 17950 18047 58797 i
 i[2][15006]/32      19.0.103.20             14        104          0 17950 18047 58797 i
 i[2][15007]/32      19.0.103.20             14        104          0 17950 18047 58797 i
 i[2][15008]/32      19.0.103.20             14        104          0 17950 18047 58797 i
 i[2][15009]/32      19.0.103.20             14        104          0 17950 18047 58797 i

Route Distinguisher: 202:202
 e[5][192.168.100.1][224.1.200.1]/64
                      19.0.103.10             14                     0 999 48291 i
 e[5][192.168.100.2][224.1.200.1]/64
                      19.0.103.10             14                     0 999 48291 i
 e[5][192.168.100.3][224.1.200.1]/64
                      19.0.103.10             14                     0 999 48291 i
 e[5][192.168.100.4][224.1.200.1]/64
                      19.0.103.10             14                     0 999 48291 i
 e[5][192.168.100.5][224.1.200.1]/64
                      19.0.103.10             14                     0 999 48291 i
 e[2][25000]/32      19.0.103.10             14                     0 999 39751 i
 e[2][25001]/32      19.0.103.10             14                     0 999 39751 i
 e[2][25002]/32      19.0.103.10             14                     0 999 39751 i
 e[2][25003]/32      19.0.103.10             14                     0 999 39751 i
 e[2][25004]/32      19.0.103.10             14                     0 999 39751 i
 e[2][25005]/32      19.0.103.10             14                     0 999 39751 i
 e[2][25006]/32      19.0.103.10             14                     0 999 39751 i
 e[2][25007]/32      19.0.103.10             14                     0 999 39751 i
 e[2][25008]/32      19.0.103.10             14                     0 999 39751 i
 e[2][25009]/32      19.0.103.10             14                     0 999 39751 i

BGP routing table information for VRF default, address family IPv6 MVPN
BGP table version is 24, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
Route Distinguisher: 301:301
  i[5][feaa::feaa][ff02::1]/256
                      1920:11::2              15        105          0 19908 27948 52583 i
  i[5][feaa::feab][ff02::1]/256
                      1920:11::2              15        105          0 19908 27948 52583 i
  i[5][feaa::feac][ff02::1]/256
                      1920:11::2              15        105          0 19908 27948 52583 i
  i[5][feaa::fead][ff02::1]/256
                      1920:11::2              15        105          0 19908 27948 52583 i
  i[5][feaa::feae][ff02::1]/256
                      1920:11::2              15        105          0 19908 27948 52583 i
  i[2][20000]/32      1920:11::2              15        105          0 1896 3534 64762 23166 49111 8516 62917 53288 56806 12608 5667 65476 i
  i[2][20001]/32      1920:11::2              15        105          0 1896 3534 64762 23166 49111 8516 62917 53288 56806 12608 5667 65476 i
  i[2][20002]/32      1920:11::2              15        105          0 1896 3534 64762 23166 49111 8516 62917 53288 56806 12608 5667 65476 i
  i[2][20003]/32      1920:11::2              15        105          0 1896 3534 64762 23166 49111 8516 62917 53288 56806 12608 5667 65476 i
  i[2][20004]/32      1920:11::2              15        105          0 1896 3534 64762 23166 49111 8516 62917 53288 56806 12608 5667 65476 i

Route Distinguisher: 303:303
  e[5][feaa::feaa][ff02::1]/256
                      1920:21::2              15                     0 999 36132 15886 19181 39272 i
  e[5][feaa::feab][ff02::1]/256
                      1920:21::2              15                     0 999 36132 15886 19181 39272 i
  e[5][feaa::feac][ff02::1]/256
                      1920:21::2              15                     0 999 36132 15886 19181 39272 i
  e[5][feaa::fead][ff02::1]/256
                      1920:21::2              15                     0 999 36132 15886 19181 39272 i
  e[5][feaa::feae][ff02::1]/256
                      1920:21::2              15                     0 999 36132 15886 19181 39272 i
  e[2][30000]/32      1920:21::2              15                     0 999 17914 8670 3845 14242 i
  e[2][30001]/32      1920:21::2              15                     0 999 17914 8670 3845 14242 i
  e[2][30002]/32      1920:21::2              15                     0 999 17914 8670 3845 14242 i
  e[2][30003]/32      1920:21::2              15                     0 999 17914 8670 3845 14242 i
  e[2][30004]/32      1920:21::2              15                     0 999 17914 8670 3845 14242 i

BGP routing table information for VRF default, address family L2VPN EVPN
BGP table version is 282172, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
Route Distinguisher: 101:1000
  i[2]:[0]:[0]:[48]:[0226.51bd.c81c]:[32]:[1.7.1.1]/248
                      19.0.101.1                        100          0 101 {38050 9430 46344 17724 54639} 90 i
  i                   19.0.102.4                        100          0 102 {13987 50902 22282 59197 30576} 90 i
  i[2]:[0]:[0]:[48]:[0226.51bd.c81d]:[32]:[1.7.1.2]/248
                      19.0.101.1                        100          0 101 {38050 9430 46344 17724 54639} 90 i
  i                   19.0.102.4                        100          0 102 {13987 50902 22282 59197 30576} 90 i
 i[5]:[0]:[0]:[24]:[1.8.1.0]:[0.0.0.0]/224
                      19.0.101.1                        100          0 101 {26019 62933 34313 5693 42608 13987 50902 22282 59197 30576} 91 101 {1956 38871 10250 47165 18545 55460 26839 63754 35134 6514} 95 i
 i                   19.0.102.4                        100          0 102 {19366 56281 27660 64575 35955 7335 44249 15629 52544 23924} 91 i
 i[5]:[0]:[0]:[24]:[1.8.2.0]:[0.0.0.0]/224
                      19.0.101.1                        100          0 101 {26019 62933 34313 5693 42608 13987 50902 22282 59197 30576} 91 101 {1956 38871 10250 47165 18545 55460 26839 63754 35134 6514} 95 i
 i                   19.0.102.4                        100          0 102 {19366 56281 27660 64575 35955 7335 44249 15629 52544 23924} 91 i

Route Distinguisher: 101:1001
  i[2]:[0]:[0]:[48]:[0100.51bd.c81c]:[32]:[110.1.1.2]/248
                      19.0.101.1                        100          0 101 {43428 14808 51723 23103 60017 31397 2777 39692 11071 47986} 92 i
  i[2]:[0]:[0]:[48]:[0100.51bd.c81d]:[32]:[110.1.1.3]/248
                      19.0.101.1                        100          0 101 {43428 14808 51723 23103 60017 31397 2777 39692 11071 47986} 92 i

Route Distinguisher: 101:10001
 i[5]:[0]:[0]:[24]:[201.201.201.0]:[0.0.0.0]/224
                      19.0.101.1                        100          0 101 {19366 56281 27660 64575 35955 7335 44249 15629 52544 23924} 93 i

Route Distinguisher: 201:2000
d e[2]:[0]:[0]:[48]:[0201.0201.0201]:[32]:[2.7.1.1]/248
                      19.0.102.3                                     0 888 201 {60645 32025 3405 40319 11699 48614 19994 56908 28288 65203} 90 i
d e[2]:[0]:[0]:[48]:[0201.0201.0202]:[32]:[2.7.1.2]/248
                      19.0.102.3                                     0 888 201 {60645 32025 3405 40319 11699 48614 19994 56908 28288 65203} 90 i
d e[5]:[0]:[0]:[24]:[2.8.1.0]:[0.0.0.0]/224
                      19.0.102.3                                     0 888 201 {36583 7962 44877 16257 53172 24551 61466 32846 4226 41140} 91 i
d e[5]:[0]:[0]:[24]:[2.8.2.0]:[0.0.0.0]/224
                      19.0.102.3                                     0 888 201 {36583 7962 44877 16257 53172 24551 61466 32846 4226 41140} 91 i

Route Distinguisher: 2.2.2.101:1002
  i[2]:[0]:[0]:[48]:[0100.51bd.c81c]:[0]:[0.0.0.0]/216
                      19.0.101.1                        100          0 101 {60838 32218 3598 40513 11892 48807 20187 57101 28481 65396} 94 i
  i[2]:[0]:[0]:[48]:[0100.51bd.c81d]:[0]:[0.0.0.0]/216
                      19.0.101.1                        100          0 101 {60838 32218 3598 40513 11892 48807 20187 57101 28481 65396} 94 i

BGP routing table information for VRF default, address family Link-State
BGP table version is 140596, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
 i[2]:[77][7,0][9.9.9.9,1,151587081][29.1.1.1,22][19.0.101.1,29.0.1.30]/616
                      19.0.101.1            4444        100          0 3 10 20 30 40 50 60 70 80 90 i
d e[2]:[77][7,0][39.39.39.39,1,656877351][39.1.1.1,22][19.0.102.3,39.0.1.30]/616
                      19.0.102.3                                     0 888 10 20 30 40 50 60 70 80 90 i
* i[2]:[77][7,0][9.9.9.9,2,151587081][29.1.1.1,22][19.0.101.1,29.0.1.31]/616
                      19.0.101.1            4444        100          0 3 10 20 30 40 50 60 70 80 90 i
d e[2]:[77][7,0][39.39.39.39,2,656877351][39.1.1.1,22][19.0.102.3,39.0.1.31]/616
                      19.0.102.3                                     0 888 10 20 30 40 50 60 70 80 90 i


show bgp all summary

show bgp all summary

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show bgp all summary",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_vrf": {
                        "ROW_vrf": {
                            "TABLE_af": {
                                "ROW_af": [
                                    {
                                        "TABLE_saf": {
                                            "ROW_saf": {
                                                "TABLE_neighbor": {
                                                    "ROW_neighbor": [
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "8821", 
                                                            "msgsent": "8804", 
                                                            "neighboras": "333", 
                                                            "neighborid": "19.0.101.1", 
                                                            "neighbortableversion": "140602", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "3", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "501847", 
                                                            "msgsent": "8801", 
                                                            "neighboras": "888", 
                                                            "neighborid": "19.0.102.3", 
                                                            "neighbortableversion": "140602", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "2", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "8815", 
                                                            "msgsent": "8803", 
                                                            "neighboras": "333", 
                                                            "neighborid": "19.0.102.4", 
                                                            "neighbortableversion": "140602", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "2", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "0", 
                                                            "msgsent": "0", 
                                                            "neighboras": "0", 
                                                            "neighborid": "19.0.200.200", 
                                                            "neighbortableversion": "0", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "0", 
                                                            "state": "Idle", 
                                                            "time": "P6DT2H33M41S"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "IPv4 Unicast", 
                                                "bytesattrs": "960", 
                                                "bytesclusterlist": "20", 
                                                "bytescommunities": "160", 
                                                "bytespaths": "144", 
                                                "capablepeers": "3", 
                                                "configuredpeers": "4", 
                                                "dampenedpaths": "2", 
                                                "dampening": "true", 
                                                "historypaths": "0", 
                                                "memoryused": "1784", 
                                                "numberattrs": "6", 
                                                "numberclusterlist": "5", 
                                                "numbercommunities": "5", 
                                                "numberpaths": "4", 
                                                "safi": "1", 
                                                "softreconfigbytes": "0", 
                                                "softreconfigcombopaths": "0", 
                                                "softreconfigfilteredrecvd": "0", 
                                                "softreconfigidenticalpaths": "7", 
                                                "softreconfigrecvdpaths": "7", 
                                                "tableversion": "140602", 
                                                "totalnetworks": "7", 
                                                "totalpaths": "9"
                                            }
                                        }, 
                                        "af-id": "1"
                                    }, 
                                    {
                                        "TABLE_saf": {
                                            "ROW_saf": {
                                                "TABLE_neighbor": {
                                                    "ROW_neighbor": [
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "8821", 
                                                            "msgsent": "8804", 
                                                            "neighboras": "333", 
                                                            "neighborid": "19.0.101.1", 
                                                            "neighbortableversion": "140597", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "0", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "501847", 
                                                            "msgsent": "8801", 
                                                            "neighboras": "888", 
                                                            "neighborid": "19.0.102.3", 
                                                            "neighbortableversion": "140597", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "2", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "8815", 
                                                            "msgsent": "8803", 
                                                            "neighboras": "333", 
                                                            "neighborid": "19.0.102.4", 
                                                            "neighbortableversion": "140597", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "2", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "0", 
                                                            "msgsent": "0", 
                                                            "neighboras": "0", 
                                                            "neighborid": "19.0.200.200", 
                                                            "neighbortableversion": "0", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "0", 
                                                            "state": "Idle", 
                                                            "time": "P6DT2H33M41S"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "IPv4 Multicast", 
                                                "bytesattrs": "480", 
                                                "bytesclusterlist": "20", 
                                                "bytescommunities": "160", 
                                                "bytespaths": "56", 
                                                "capablepeers": "3", 
                                                "configuredpeers": "4", 
                                                "dampenedpaths": "2", 
                                                "dampening": "true", 
                                                "historypaths": "0", 
                                                "memoryused": "1152", 
                                                "numberattrs": "3", 
                                                "numberclusterlist": "5", 
                                                "numbercommunities": "5", 
                                                "numberpaths": "2", 
                                                "safi": "2", 
                                                "softreconfigbytes": "184", 
                                                "softreconfigcombopaths": "0", 
                                                "softreconfigfilteredrecvd": "2", 
                                                "softreconfigidenticalpaths": "2", 
                                                "softreconfigrecvdpaths": "4", 
                                                "tableversion": "140597", 
                                                "totalnetworks": "6", 
                                                "totalpaths": "4"
                                            }
                                        }, 
                                        "af-id": "1"
                                    }, 
                                    {
                                        "TABLE_saf": {
                                            "ROW_saf": {
                                                "TABLE_neighbor": {
                                                    "ROW_neighbor": [
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "0", 
                                                            "msgsent": "0", 
                                                            "neighboras": "0", 
                                                            "neighborid": "19.0.200.200", 
                                                            "neighbortableversion": "0", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "0", 
                                                            "state": "Idle", 
                                                            "time": "P6DT2H33M41S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "0", 
                                                            "msgsent": "0", 
                                                            "neighboras": "333", 
                                                            "neighborid": "fec0::1002", 
                                                            "neighbortableversion": "0", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "0", 
                                                            "state": "Idle", 
                                                            "time": "P6DT2H33M44S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "0", 
                                                            "msgsent": "0", 
                                                            "neighboras": "888", 
                                                            "neighborid": "fec0::2002", 
                                                            "neighbortableversion": "0", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "0", 
                                                            "state": "Idle", 
                                                            "time": "P6DT2H33M43S"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "IPv6 Unicast", 
                                                "bytesattrs": "160", 
                                                "bytesclusterlist": "20", 
                                                "bytescommunities": "160", 
                                                "bytespaths": "0", 
                                                "capablepeers": "0", 
                                                "configuredpeers": "3", 
                                                "dampenedpaths": "0", 
                                                "dampening": "true", 
                                                "historypaths": "0", 
                                                "memoryused": "116", 
                                                "numberattrs": "1", 
                                                "numberclusterlist": "5", 
                                                "numbercommunities": "5", 
                                                "numberpaths": "0", 
                                                "safi": "1", 
                                                "tableversion": "3", 
                                                "totalnetworks": "1", 
                                                "totalpaths": "1"
                                            }
                                        }, 
                                        "af-id": "2"
                                    }, 
                                    {
                                        "TABLE_saf": {
                                            "ROW_saf": {
                                                "TABLE_neighbor": {
                                                    "ROW_neighbor": [
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "0", 
                                                            "msgsent": "0", 
                                                            "neighboras": "0", 
                                                            "neighborid": "19.0.200.200", 
                                                            "neighbortableversion": "0", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "0", 
                                                            "state": "Idle", 
                                                            "time": "P6DT2H33M41S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "0", 
                                                            "msgsent": "0", 
                                                            "neighboras": "333", 
                                                            "neighborid": "fec0::1002", 
                                                            "neighbortableversion": "0", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "0", 
                                                            "state": "Idle", 
                                                            "time": "P6DT2H33M44S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "0", 
                                                            "msgsent": "0", 
                                                            "neighboras": "888", 
                                                            "neighborid": "fec0::2002", 
                                                            "neighbortableversion": "0", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "0", 
                                                            "state": "Idle", 
                                                            "time": "P6DT2H33M43S"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "IPv6 Multicast", 
                                                "bytesattrs": "0", 
                                                "bytesclusterlist": "20", 
                                                "bytescommunities": "160", 
                                                "bytespaths": "0", 
                                                "capablepeers": "0", 
                                                "configuredpeers": "3", 
                                                "dampenedpaths": "0", 
                                                "dampening": "true", 
                                                "historypaths": "0", 
                                                "memoryused": "0", 
                                                "numberattrs": "0", 
                                                "numberclusterlist": "5", 
                                                "numbercommunities": "5", 
                                                "numberpaths": "0", 
                                                "safi": "2", 
                                                "tableversion": "2", 
                                                "totalnetworks": "0", 
                                                "totalpaths": "0"
                                            }
                                        }, 
                                        "af-id": "2"
                                    }, 
                                    {
                                        "TABLE_saf": {
                                            "ROW_saf": {
                                                "TABLE_neighbor": {
                                                    "ROW_neighbor": [
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "8821", 
                                                            "msgsent": "8804", 
                                                            "neighboras": "333", 
                                                            "neighborid": "19.0.101.1", 
                                                            "neighbortableversion": "140611", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "2", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "501848", 
                                                            "msgsent": "8801", 
                                                            "neighboras": "888", 
                                                            "neighborid": "19.0.102.3", 
                                                            "neighbortableversion": "140611", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "2", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "8815", 
                                                            "msgsent": "8803", 
                                                            "neighboras": "333", 
                                                            "neighborid": "19.0.102.4", 
                                                            "neighbortableversion": "140611", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "4", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "0", 
                                                            "msgsent": "0", 
                                                            "neighboras": "0", 
                                                            "neighborid": "19.0.200.200", 
                                                            "neighbortableversion": "0", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "0", 
                                                            "state": "Idle", 
                                                            "time": "P6DT2H33M41S"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "VPNv4 Unicast", 
                                                "bytesattrs": "640", 
                                                "bytesclusterlist": "20", 
                                                "bytescommunities": "160", 
                                                "bytespaths": "128", 
                                                "capablepeers": "3", 
                                                "configuredpeers": "4", 
                                                "dampenedpaths": "2", 
                                                "dampening": "true", 
                                                "historypaths": "0", 
                                                "memoryused": "1680", 
                                                "numberattrs": "4", 
                                                "numberclusterlist": "5", 
                                                "numbercommunities": "5", 
                                                "numberpaths": "4", 
                                                "safi": "128", 
                                                "tableversion": "140611", 
                                                "totalnetworks": "6", 
                                                "totalpaths": "8"
                                            }
                                        }, 
                                        "af-id": "1"
                                    }, 
                                    {
                                        "TABLE_saf": {
                                            "ROW_saf": {
                                                "TABLE_neighbor": {
                                                    "ROW_neighbor": [
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "8821", 
                                                            "msgsent": "8804", 
                                                            "neighboras": "333", 
                                                            "neighborid": "19.0.101.1", 
                                                            "neighbortableversion": "13", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "2", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "501848", 
                                                            "msgsent": "8801", 
                                                            "neighboras": "888", 
                                                            "neighborid": "19.0.102.3", 
                                                            "neighbortableversion": "13", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "2", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "8815", 
                                                            "msgsent": "8803", 
                                                            "neighboras": "333", 
                                                            "neighborid": "19.0.102.4", 
                                                            "neighbortableversion": "13", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "0", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "0", 
                                                            "msgsent": "0", 
                                                            "neighboras": "0", 
                                                            "neighborid": "19.0.200.200", 
                                                            "neighbortableversion": "0", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "0", 
                                                            "state": "Idle", 
                                                            "time": "P6DT2H33M41S"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "VPNv6 Unicast", 
                                                "bytesattrs": "320", 
                                                "bytesclusterlist": "20", 
                                                "bytescommunities": "160", 
                                                "bytespaths": "60", 
                                                "capablepeers": "3", 
                                                "configuredpeers": "4", 
                                                "dampenedpaths": "0", 
                                                "dampening": "true", 
                                                "historypaths": "0", 
                                                "memoryused": "992", 
                                                "numberattrs": "2", 
                                                "numberclusterlist": "5", 
                                                "numbercommunities": "5", 
                                                "numberpaths": "2", 
                                                "safi": "128", 
                                                "tableversion": "13", 
                                                "totalnetworks": "4", 
                                                "totalpaths": "4"
                                            }
                                        }, 
                                        "af-id": "2"
                                    }, 
                                    {
                                        "TABLE_saf": {
                                            "ROW_saf": {
                                                "TABLE_neighbor": {
                                                    "ROW_neighbor": [
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "8813", 
                                                            "msgsent": "8797", 
                                                            "neighboras": "999", 
                                                            "neighborid": "19.0.103.10", 
                                                            "neighbortableversion": "39", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "15", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "8814", 
                                                            "msgsent": "8797", 
                                                            "neighboras": "333", 
                                                            "neighborid": "19.0.103.20", 
                                                            "neighbortableversion": "39", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "20", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M24S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "0", 
                                                            "msgsent": "0", 
                                                            "neighboras": "0", 
                                                            "neighborid": "19.0.200.200", 
                                                            "neighbortableversion": "0", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "0", 
                                                            "state": "Idle", 
                                                            "time": "P6DT2H33M41S"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "IPv4 MVPN", 
                                                "bytesattrs": "800", 
                                                "bytesclusterlist": "20", 
                                                "bytescommunities": "160", 
                                                "bytespaths": "58", 
                                                "capablepeers": "2", 
                                                "configuredpeers": "3", 
                                                "dampening": "false", 
                                                "memoryused": "8260", 
                                                "numberattrs": "5", 
                                                "numberclusterlist": "5", 
                                                "numbercommunities": "5", 
                                                "numberpaths": "5", 
                                                "safi": "5", 
                                                "tableversion": "39", 
                                                "totalnetworks": "35", 
                                                "totalpaths": "35"
                                            }
                                        }, 
                                        "af-id": "1"
                                    }, 
                                    {
                                        "TABLE_saf": {
                                            "ROW_saf": {
                                                "TABLE_neighbor": {
                                                    "ROW_neighbor": [
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "8813", 
                                                            "msgsent": "8797", 
                                                            "neighboras": "999", 
                                                            "neighborid": "19.0.103.10", 
                                                            "neighbortableversion": "24", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "10", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "8814", 
                                                            "msgsent": "8797", 
                                                            "neighboras": "333", 
                                                            "neighborid": "19.0.103.20", 
                                                            "neighbortableversion": "24", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "10", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M24S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "0", 
                                                            "msgsent": "0", 
                                                            "neighboras": "0", 
                                                            "neighborid": "19.0.200.200", 
                                                            "neighbortableversion": "0", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "0", 
                                                            "state": "Idle", 
                                                            "time": "P6DT2H33M41S"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "IPv6 MVPN", 
                                                "bytesattrs": "640", 
                                                "bytesclusterlist": "20", 
                                                "bytescommunities": "160", 
                                                "bytespaths": "108", 
                                                "capablepeers": "2", 
                                                "configuredpeers": "3", 
                                                "dampening": "false", 
                                                "memoryused": "4960", 
                                                "numberattrs": "4", 
                                                "numberclusterlist": "5", 
                                                "numbercommunities": "5", 
                                                "numberpaths": "4", 
                                                "safi": "5", 
                                                "tableversion": "24", 
                                                "totalnetworks": "20", 
                                                "totalpaths": "20"
                                            }
                                        }, 
                                        "af-id": "2"
                                    }, 
                                    {
                                        "TABLE_saf": {
                                            "ROW_saf": {
                                                "TABLE_neighbor": {
                                                    "ROW_neighbor": [
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "8821", 
                                                            "msgsent": "8804", 
                                                            "neighboras": "333", 
                                                            "neighborid": "19.0.101.1", 
                                                            "neighbortableversion": "282172", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "9", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "501848", 
                                                            "msgsent": "8801", 
                                                            "neighboras": "888", 
                                                            "neighborid": "19.0.102.3", 
                                                            "neighbortableversion": "282172", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "4", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "8815", 
                                                            "msgsent": "8803", 
                                                            "neighboras": "333", 
                                                            "neighborid": "19.0.102.4", 
                                                            "neighbortableversion": "282172", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "4", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "0", 
                                                            "msgsent": "0", 
                                                            "neighboras": "0", 
                                                            "neighborid": "19.0.200.200", 
                                                            "neighbortableversion": "0", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "0", 
                                                            "state": "Idle", 
                                                            "time": "P6DT2H33M41S"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "L2VPN EVPN", 
                                                "bytesattrs": "1440", 
                                                "bytesclusterlist": "20", 
                                                "bytescommunities": "160", 
                                                "bytespaths": "506", 
                                                "capablepeers": "3", 
                                                "configuredpeers": "4", 
                                                "dampenedpaths": "4", 
                                                "dampening": "true", 
                                                "historypaths": "0", 
                                                "memoryused": "3596", 
                                                "numberattrs": "9", 
                                                "numberclusterlist": "5", 
                                                "numbercommunities": "5", 
                                                "numberpaths": "9", 
                                                "safi": "70", 
                                                "tableversion": "282172", 
                                                "totalnetworks": "13", 
                                                "totalpaths": "17"
                                            }
                                        }, 
                                        "af-id": "25"
                                    }, 
                                    {
                                        "TABLE_saf": {
                                            "ROW_saf": {
                                                "TABLE_neighbor": {
                                                    "ROW_neighbor": [
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "8821", 
                                                            "msgsent": "8804", 
                                                            "neighboras": "333", 
                                                            "neighborid": "19.0.101.1", 
                                                            "neighbortableversion": "140596", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "2", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "501848", 
                                                            "msgsent": "8801", 
                                                            "neighboras": "888", 
                                                            "neighborid": "19.0.102.3", 
                                                            "neighbortableversion": "140596", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "2", 
                                                            "state": "Established", 
                                                            "time": "P6DT2H33M26S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "0", 
                                                            "msgsent": "0", 
                                                            "neighboras": "0", 
                                                            "neighborid": "19.0.200.200", 
                                                            "neighbortableversion": "0", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "0", 
                                                            "state": "Idle", 
                                                            "time": "P6DT2H33M41S"
                                                        }, 
                                                        {
                                                            "inq": "0", 
                                                            "msgrecvd": "0", 
                                                            "msgsent": "0", 
                                                            "neighboras": "888", 
                                                            "neighborid": "fec0::2002", 
                                                            "neighbortableversion": "0", 
                                                            "neighborversion": "4", 
                                                            "outq": "0", 
                                                            "prefixreceived": "0", 
                                                            "state": "Idle", 
                                                            "time": "P6DT2H33M44S"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "Link-State", 
                                                "bytesattrs": "320", 
                                                "bytesclusterlist": "20", 
                                                "bytescommunities": "160", 
                                                "bytespaths": "84", 
                                                "capablepeers": "2", 
                                                "configuredpeers": "4", 
                                                "dampenedpaths": "2", 
                                                "dampening": "true", 
                                                "historypaths": "0", 
                                                "memoryused": "944", 
                                                "numberattrs": "2", 
                                                "numberclusterlist": "5", 
                                                "numbercommunities": "5", 
                                                "numberpaths": "2", 
                                                "safi": "71", 
                                                "tableversion": "140596", 
                                                "totalnetworks": "4", 
                                                "totalpaths": "4"
                                            }
                                        }, 
                                        "af-id": "16388"
                                    }
                                ]
                            }, 
                            "vrf-local-as": "333", 
                            "vrf-name-out": "default", 
                            "vrf-router-id": "19.0.0.6"
                        }
                    }
                }, 
                "code": "200", 
                "input": "show bgp all summary", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show bgp all summary command, see the CLI command reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

Note: This example was added in Cisco NX-OS Release 7.0(3)I7(4).

CLI Output
Switch# show bgp all summary
BGP summary information for VRF default, address family IPv4 Unicast
BGP router identifier 19.0.0.6, local AS number 333
BGP table version is 140602, IPv4 Unicast config peers 4, capable peers 3
7 network entries and 9 paths using 1784 bytes of memory
BGP attribute entries [6/960], BGP AS path entries [4/144]
BGP community entries [5/160], BGP clusterlist entries [5/20]
Dampening configured, 0 history paths, 2 dampened paths
7 received paths for inbound soft reconfiguration
7 identical, 0 modified, 0 filtered received paths using 0 bytes

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
19.0.101.1      4   333    8821    8804   140602    0    0    6d02h 3
19.0.102.3 4 888 501848 8801 140602 0 0 6d02h 2
19.0.102.4 4 333 8815 8803 140602 0 0 6d02h 2
19.0.200.200 4 0 0 0 0 0 0 6d02h Idle
BGP summary information for VRF default, address family IPv4 Multicast BGP router identifier 19.0.0.6, local AS number 333 BGP table version is 140597, IPv4 Multicast config peers 4, capable peers 3 6 network entries and 4 paths using 1152 bytes of memory BGP attribute entries [3/480], BGP AS path entries [2/56] BGP community entries [5/160], BGP clusterlist entries [5/20] Dampening configured, 0 history paths, 2 dampened paths 4 received paths for inbound soft reconfiguration 2 identical, 0 modified, 2 filtered received paths using 184 bytes Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 19.0.101.1 4 333 8821 8804 140597 0 0 6d02h 0
19.0.102.3 4 888 501848 8801 140597 0 0 6d02h 2
19.0.102.4 4 333 8815 8803 140597 0 0 6d02h 2
19.0.200.200 4 0 0 0 0 0 0 6d02h Idle
BGP summary information for VRF default, address family IPv6 Unicast BGP router identifier 19.0.0.6, local AS number 333 BGP table version is 3, IPv6 Unicast config peers 3, capable peers 0 1 network entries and 1 paths using 116 bytes of memory BGP attribute entries [1/160], BGP AS path entries [0/0] BGP community entries [5/160], BGP clusterlist entries [5/20] Dampening configured, 0 history paths, 0 dampened paths Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 19.0.200.200 4 0 0 0 0 0 0 6d02h Idle
fec0::1002 4 333 0 0 0 0 0 6d02h Idle
fec0::2002 4 888 0 0 0 0 0 6d02h Idle
BGP summary information for VRF default, address family IPv6 Multicast BGP router identifier 19.0.0.6, local AS number 333 BGP table version is 2, IPv6 Multicast config peers 3, capable peers 0 0 network entries and 0 paths using 0 bytes of memory BGP attribute entries [0/0], BGP AS path entries [0/0] BGP community entries [5/160], BGP clusterlist entries [5/20] Dampening configured, 0 history paths, 0 dampened paths Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 19.0.200.200 4 0 0 0 0 0 0 6d02h Idle
fec0::1002 4 333 0 0 0 0 0 6d02h Idle
fec0::2002 4 888 0 0 0 0 0 6d02h Idle
BGP summary information for VRF default, address family VPNv4 Unicast BGP router identifier 19.0.0.6, local AS number 333 BGP table version is 140611, VPNv4 Unicast config peers 4, capable peers 3 6 network entries and 8 paths using 1680 bytes of memory BGP attribute entries [4/640], BGP AS path entries [4/128] BGP community entries [5/160], BGP clusterlist entries [5/20] Dampening configured, 0 history paths, 2 dampened paths Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 19.0.101.1 4 333 8821 8804 140611 0 0 6d02h 2
19.0.102.3 4 888 501848 8801 140611 0 0 6d02h 2
19.0.102.4 4 333 8815 8803 140611 0 0 6d02h 4
19.0.200.200 4 0 0 0 0 0 0 6d02h Idle
BGP summary information for VRF default, address family VPNv6 Unicast BGP router identifier 19.0.0.6, local AS number 333 BGP table version is 13, VPNv6 Unicast config peers 4, capable peers 3 4 network entries and 4 paths using 992 bytes of memory BGP attribute entries [2/320], BGP AS path entries [2/60] BGP community entries [5/160], BGP clusterlist entries [5/20] Dampening configured, 0 history paths, 0 dampened paths Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 19.0.101.1 4 333 8821 8804 13 0 0 6d02h 2
19.0.102.3 4 888 501848 8801 13 0 0 6d02h 2
19.0.102.4 4 333 8815 8803 13 0 0 6d02h 0
19.0.200.200 4 0 0 0 0 0 0 6d02h Idle
BGP summary information for VRF default, address family IPv4 MVPN BGP router identifier 19.0.0.6, local AS number 333 BGP table version is 39, IPv4 MVPN config peers 3, capable peers 2 35 network entries and 35 paths using 8260 bytes of memory BGP attribute entries [5/800], BGP AS path entries [5/58] BGP community entries [5/160], BGP clusterlist entries [5/20] Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 19.0.103.10 4 999 8813 8797 39 0 0 6d02h 15
19.0.103.20 4 333 8814 8797 39 0 0 6d02h 20
19.0.200.200 4 0 0 0 0 0 0 6d02h Idle
BGP summary information for VRF default, address family IPv6 MVPN BGP router identifier 19.0.0.6, local AS number 333 BGP table version is 24, IPv6 MVPN config peers 3, capable peers 2 20 network entries and 20 paths using 4960 bytes of memory BGP attribute entries [4/640], BGP AS path entries [4/108] BGP community entries [5/160], BGP clusterlist entries [5/20] Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 19.0.103.10 4 999 8813 8797 24 0 0 6d02h 10
19.0.103.20 4 333 8814 8797 24 0 0 6d02h 10
19.0.200.200 4 0 0 0 0 0 0 6d02h Idle
BGP summary information for VRF default, address family L2VPN EVPN BGP router identifier 19.0.0.6, local AS number 333 BGP table version is 282172, L2VPN EVPN config peers 4, capable peers 3 13 network entries and 17 paths using 3596 bytes of memory BGP attribute entries [9/1440], BGP AS path entries [9/506] BGP community entries [5/160], BGP clusterlist entries [5/20] Dampening configured, 0 history paths, 4 dampened paths Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 19.0.101.1 4 333 8821 8804 282172 0 0 6d02h 9
19.0.102.3 4 888 501848 8801 282172 0 0 6d02h 4
19.0.102.4 4 333 8815 8803 282172 0 0 6d02h 4
19.0.200.200 4 0 0 0 0 0 0 6d02h Idle
BGP summary information for VRF default, address family Link-State BGP router identifier 19.0.0.6, local AS number 333 BGP table version is 140596, Link-State config peers 4, capable peers 2 4 network entries and 4 paths using 944 bytes of memory BGP attribute entries [2/320], BGP AS path entries [2/84] BGP community entries [5/160], BGP clusterlist entries [5/20] Dampening configured, 0 history paths, 2 dampened paths Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 19.0.101.1 4 333 8821 8804 140596 0 0 6d02h 2
19.0.102.3 4 888 501848 8801 140596 0 0 6d02h 2
19.0.200.200 4 0 0 0 0 0 0 6d02h Idle
fec0::2002 4 888 0 0 0 0 0 6d02h Idle

show bgp bmp server

show bgp bmp server

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show bgp bmp server",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "system_description": {
                        "sys_description": "Nexus9000 C93128TX Chassis, Software Version 7.0(3)I7(4)"
                    }, 
                    "system_name": {
                        "sys_name": "n9k-4-CE1-R1"
                    }
                }, 
                "code": "200", 
                "input": "show bgp bmp server", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show bgp bmp server command, see the CLI command reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

Note: This example was added in Cisco NX-OS Release 7.0(3)I7(4).

CLI Output
Switch# show bgp bmp server

BMP Global Information: 

System Name          : n9k-4-CE1-R1
System Description   : Nexus9000 C93128TX Chassis, Software Version 7.0(3)I7(4)

BMP Server Information:

show bgp convergence detail

show bgp convergence detail

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show bgp convergence detail",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_vrf": {
                        "ROW_vrf": {
                            "TABLE_afi": {
                                "ROW_afi": [
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rcvdpeers": {
                                                    "ROW_rcvdpeers": [
                                                        {
                                                            "peer": "19.0.101.1", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.102.3", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.102.4", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.200.200"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "IPv4 Unicast", 
                                                "firstbestpathdone": "true", 
                                                "firstbestpathdonetime": "0.868305", 
                                                "firstbestpathsignalled": "true", 
                                                "firstbestpathsignalledtime": "0.866791", 
                                                "importtimerrunning": "false", 
                                                "riblibconvergencesent": "0.878671", 
                                                "safi": "1", 
                                                "total_capable_peers": "3", 
                                                "total_configured_peers": "4"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rcvdpeers": {
                                                    "ROW_rcvdpeers": [
                                                        {
                                                            "peer": "19.0.101.1", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.102.3", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.102.4", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.200.200"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "IPv4 Multicast", 
                                                "firstbestpathdone": "true", 
                                                "firstbestpathdonetime": "0.948368", 
                                                "firstbestpathsignalled": "true", 
                                                "firstbestpathsignalledtime": "0.947761", 
                                                "importtimerrunning": "false", 
                                                "riblibconvergencesent": "0.948399", 
                                                "safi": "2", 
                                                "total_capable_peers": "3", 
                                                "total_configured_peers": "4"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rcvdpeers": {
                                                    "ROW_rcvdpeers": [
                                                        {
                                                            "ipv6peer": "fec0::1002", 
                                                            "peer": "19.0.200.200"
                                                        }, 
                                                        {
                                                            "ipv6peer": "fec0::2002"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "IPv6 Unicast", 
                                                "firstbestpathdone": "true", 
                                                "firstbestpathdonetime": "0.871950", 
                                                "firstbestpathsignalled": "true", 
                                                "firstbestpathsignalledtime": "0.866970", 
                                                "importtimerrunning": "false", 
                                                "riblibconvergencesent": "0.872286", 
                                                "safi": "1", 
                                                "total_capable_peers": "0", 
                                                "total_configured_peers": "3"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rcvdpeers": {
                                                    "ROW_rcvdpeers": [
                                                        {
                                                            "ipv6peer": "fec0::1002", 
                                                            "peer": "19.0.200.200"
                                                        }, 
                                                        {
                                                            "ipv6peer": "fec0::2002"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "IPv6 Multicast", 
                                                "firstbestpathdone": "true", 
                                                "firstbestpathdonetime": "0.948744", 
                                                "firstbestpathsignalled": "true", 
                                                "firstbestpathsignalledtime": "0.947943", 
                                                "importtimerrunning": "false", 
                                                "riblibconvergencesent": "0.949081", 
                                                "safi": "2", 
                                                "total_capable_peers": "0", 
                                                "total_configured_peers": "3"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rcvdpeers": {
                                                    "ROW_rcvdpeers": [
                                                        {
                                                            "peer": "19.0.101.1", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.102.3", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.102.4", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.200.200"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "VPNv4 Unicast", 
                                                "firstbestpathdone": "true", 
                                                "firstbestpathdonetime": "00:00:01", 
                                                "firstbestpathsignalled": "true", 
                                                "firstbestpathsignalledtime": "00:00:01", 
                                                "importtimerrunning": "false", 
                                                "riblibconvergencesent": "00:00:01", 
                                                "safi": "128", 
                                                "total_capable_peers": "3", 
                                                "total_configured_peers": "4"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rcvdpeers": {
                                                    "ROW_rcvdpeers": [
                                                        {
                                                            "peer": "19.0.101.1", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.102.3", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.102.4", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.200.200"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "VPNv6 Unicast", 
                                                "firstbestpathdone": "true", 
                                                "firstbestpathdonetime": "00:00:01", 
                                                "firstbestpathsignalled": "true", 
                                                "firstbestpathsignalledtime": "00:00:01", 
                                                "importtimerrunning": "false", 
                                                "riblibconvergencesent": "00:00:01", 
                                                "safi": "128", 
                                                "total_capable_peers": "3", 
                                                "total_configured_peers": "4"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rcvdpeers": {
                                                    "ROW_rcvdpeers": [
                                                        {
                                                            "peer": "19.0.103.10", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.103.20", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.200.200"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "IPv4 MVPN", 
                                                "firstbestpathdone": "true", 
                                                "firstbestpathdonetime": "0.873732", 
                                                "firstbestpathsignalled": "true", 
                                                "firstbestpathsignalledtime": "0.867104", 
                                                "importtimerrunning": "false", 
                                                "riblibconvergencesent": "0.873905", 
                                                "safi": "5", 
                                                "total_capable_peers": "2", 
                                                "total_configured_peers": "3"
                                            }
                                        }, 
                                        "afi": "1"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rcvdpeers": {
                                                    "ROW_rcvdpeers": [
                                                        {
                                                            "peer": "19.0.103.10", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.103.20", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.200.200"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "IPv6 MVPN", 
                                                "firstbestpathdone": "true", 
                                                "firstbestpathdonetime": "00:00:01", 
                                                "firstbestpathsignalled": "true", 
                                                "firstbestpathsignalledtime": "00:00:01", 
                                                "importtimerrunning": "false", 
                                                "riblibconvergencesent": "00:00:01", 
                                                "safi": "5", 
                                                "total_capable_peers": "2", 
                                                "total_configured_peers": "3"
                                            }
                                        }, 
                                        "afi": "2"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rcvdpeers": {
                                                    "ROW_rcvdpeers": [
                                                        {
                                                            "peer": "19.0.101.1", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.102.3", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.102.4", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.200.200"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "L2VPN EVPN", 
                                                "firstbestpathdone": "true", 
                                                "firstbestpathdonetime": "00:00:01", 
                                                "firstbestpathsignalled": "true", 
                                                "firstbestpathsignalledtime": "00:00:01", 
                                                "importtimerrunning": "false", 
                                                "riblibconvergencesent": "00:00:01", 
                                                "safi": "70", 
                                                "total_capable_peers": "3", 
                                                "total_configured_peers": "4"
                                            }
                                        }, 
                                        "afi": "25"
                                    }, 
                                    {
                                        "TABLE_safi": {
                                            "ROW_safi": {
                                                "TABLE_rcvdpeers": {
                                                    "ROW_rcvdpeers": [
                                                        {
                                                            "peer": "19.0.101.1", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "peer": "19.0.102.3", 
                                                            "signalledtimepeer": "keepalive after bestpath"
                                                        }, 
                                                        {
                                                            "ipv6peer": "fec0::2002", 
                                                            "peer": "19.0.200.200"
                                                        }
                                                    ]
                                                }, 
                                                "af-name": "Link-State", 
                                                "firstbestpathdone": "true", 
                                                "firstbestpathdonetime": "00:00:01", 
                                                "firstbestpathsignalled": "true", 
                                                "firstbestpathsignalledtime": "00:00:01", 
                                                "importtimerrunning": "false", 
                                                "riblibconvergencesent": "00:00:01", 
                                                "safi": "71", 
                                                "total_capable_peers": "2", 
                                                "total_configured_peers": "4"
                                            }
                                        }, 
                                        "afi": "16388"
                                    }
                                ]
                            }, 
                            "bestpathtimeout": "300", 
                            "configuredtimeout": "0", 
                            "firstpeerup": "00:00:23", 
                            "timerrunning": "false", 
                            "updatedelay": "false", 
                            "vrf-name-out": "default"
                        }
                    }, 
                    "configdonetime": "0.866738", 
                    "initwaittime": "00:00:30", 
                    "juststarted": "false", 
                    "ldpconverged": "LDP convergence not required", 
                    "starttime": "6 day(s), 02:33:52", 
                    "ulibconvergencesent": "Convergence to ULIB not required"
                }, 
                "code": "200", 
                "input": "show bgp convergence detail", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show bgp convergence detail command, see the CLI command reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

Note: This example was added in Cisco NX-OS Release 7.0(3)I7(4).

CLI Output
Switch# show bgp convergence detail
Global settings:
BGP start time 6 day(s), 02:33:52 ago
Config processing completed 0.866738 after start
BGP out of wait mode 00:00:30 after start
LDP convergence not required
Convergence to ULIB not required
 L2RIB registration done 00:00:01 after start 
 L2VPN EVPN config seen 0.000000 after start 
 L2RIB topology EOC received
L2RIB producer group EOC received 0.000000 after start 
 NGMVPN EOC received 
Information for VRF default
Initial-bestpath timeout: 300 sec, configured 0 sec
BGP update-delay-always is not enabled
First peer up 00:00:23 after start
Bestpath timer not running

   IPv4 Unicast:
   Total configured peers: 4
   Total capable peers: 3
   First bestpath signalled 0.866791 after start
   First bestpath completed 0.868305 after start
   Convergence to URIB sent 0.878671 after start
   Peer convergence after start:
    19.0.101.1         (keepalive after bestpath)
    19.0.102.3         (keepalive after bestpath)
    19.0.102.4         (keepalive after bestpath)
    19.0.200.200       Idle

   IPv4 Multicast:
   Total configured peers: 4
   Total capable peers: 3
   First bestpath signalled 0.947761 after start
   First bestpath completed 0.948368 after start
   Convergence to URIB sent 0.948399 after start
   Peer convergence after start:
    19.0.101.1         (keepalive after bestpath)
    19.0.102.3         (keepalive after bestpath)
    19.0.102.4         (keepalive after bestpath)
    19.0.200.200       Idle

   IPv6 Unicast:
   Total configured peers: 3
   Total capable peers: 0
   First bestpath signalled 0.866970 after start
   First bestpath completed 0.871950 after start
   Convergence to URIB sent 0.872286 after start
   Peer convergence after start:
    19.0.200.200       Idle
    fec0::1002         Idle
    fec0::2002         Idle

   IPv6 Multicast:
   Total configured peers: 3
   Total capable peers: 0
   First bestpath signalled 0.947943 after start
   First bestpath completed 0.948744 after start
   Convergence to URIB sent 0.949081 after start
   Peer convergence after start:
    19.0.200.200       Idle
    fec0::1002         Idle
    fec0::2002         Idle

   VPNv4 Unicast:
   Total configured peers: 4
   Total capable peers: 3
   First bestpath signalled 00:00:01 after start
   First bestpath completed 00:00:01 after start
   Convergence to ULIB ready 00:00:01 after start
   Peer convergence after start:
    19.0.101.1         (keepalive after bestpath)
    19.0.102.3         (keepalive after bestpath)
    19.0.102.4         (keepalive after bestpath)
    19.0.200.200       Idle

   VPNv6 Unicast:
   Total configured peers: 4
   Total capable peers: 3
   First bestpath signalled 00:00:01 after start
   First bestpath completed 00:00:01 after start
   Convergence to ULIB ready 00:00:01 after start
   Peer convergence after start:
    19.0.101.1         (keepalive after bestpath)
    19.0.102.3         (keepalive after bestpath)
    19.0.102.4         (keepalive after bestpath)
    19.0.200.200       Idle

   IPv4 MVPN:
   Total configured peers: 3
   Total capable peers: 2
   First bestpath signalled 0.867104 after start
   First bestpath completed 0.873732 after start
   Convergence to URIB sent 0.873905 after start
   Peer convergence after start:
    19.0.103.10        (keepalive after bestpath)
    19.0.103.20        (keepalive after bestpath)
    19.0.200.200       Idle

   IPv6 MVPN:
   Total configured peers: 3
   Total capable peers: 2
   First bestpath signalled 00:00:01 after start
   First bestpath completed 00:00:01 after start
   Convergence to URIB sent 00:00:01 after start
   Peer convergence after start:
    19.0.103.10        (keepalive after bestpath)
    19.0.103.20        (keepalive after bestpath)
    19.0.200.200       Idle

   L2VPN EVPN:
   Total configured peers: 4
   Total capable peers: 3
   First bestpath signalled 00:00:01 after start
   First bestpath completed 00:00:01 after start
   Convergence to URIB sent 00:00:01 after start
   Peer convergence after start:
    19.0.101.1         (keepalive after bestpath)
    19.0.102.3         (keepalive after bestpath)
    19.0.102.4         (keepalive after bestpath)
    19.0.200.200       Idle

   Link-State:
   Total configured peers: 4
   Total capable peers: 2
   First bestpath signalled 00:00:01 after start
   First bestpath completed 00:00:01 after start
   Convergence to URIB sent 00:00:01 after start
   Peer convergence after start:
    19.0.101.1         (keepalive after bestpath)
    19.0.102.3         (keepalive after bestpath)
    19.0.200.200       Idle
    fec0::2002         Idle


show bgp ipv4 multicast received-paths

show bgp ipv4 multicast received-paths

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show bgp ipv4 multicast received-paths",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_vrf": {
                        "ROW_vrf": {
                            "TABLE_afi": {
                                "ROW_afi": {
                                    "TABLE_safi": {
                                        "ROW_safi": {
                                            "TABLE_rd": {
                                                "ROW_rd": {
                                                    "TABLE_prefix": {
                                                        "ROW_prefix": [
                                                            {
                                                                "TABLE_path": {
                                                                    "ROW_path": {
                                                                        "aspath": "2 3 4", 
                                                                        "best": "none", 
                                                                        "bestcode": {}, 
                                                                        "ipnexthop": "19.0.101.1", 
                                                                        "localpref": "100", 
                                                                        "origin": "i", 
                                                                        "pathnr": "0", 
                                                                        "status": "valid", 
                                                                        "statuscode": "*", 
                                                                        "type": "internal", 
                                                                        "typecode": "i", 
                                                                        "weight": "0"
                                                                    }
                                                                }, 
                                                                "ipprefix": "1.2.1.0/24"
                                                            }, 
                                                            {
                                                                "TABLE_path": {
                                                                    "ROW_path": {
                                                                        "aspath": "2 3 4", 
                                                                        "best": "none", 
                                                                        "bestcode": {}, 
                                                                        "ipnexthop": "19.0.101.1", 
                                                                        "localpref": "100", 
                                                                        "origin": "i", 
                                                                        "pathnr": "0", 
                                                                        "status": "valid", 
                                                                        "statuscode": "*", 
                                                                        "type": "internal", 
                                                                        "typecode": "i", 
                                                                        "weight": "0"
                                                                    }
                                                                }, 
                                                                "ipprefix": "1.2.2.0/24"
                                                            }, 
                                                            {
                                                                "TABLE_path": {
                                                                    "ROW_path": {
                                                                        "aspath": "2 3 4", 
                                                                        "best": "bestpath", 
                                                                        "bestcode": ">", 
                                                                        "ipnexthop": "19.0.102.4", 
                                                                        "localpref": "100", 
                                                                        "origin": "i", 
                                                                        "pathnr": "0", 
                                                                        "status": "valid", 
                                                                        "statuscode": "*", 
                                                                        "type": "internal", 
                                                                        "typecode": "i", 
                                                                        "weight": "0"
                                                                    }
                                                                }, 
                                                                "ipprefix": "1.4.1.0/24"
                                                            }, 
                                                            {
                                                                "TABLE_path": {
                                                                    "ROW_path": {
                                                                        "aspath": "2 3 4", 
                                                                        "best": "bestpath", 
                                                                        "bestcode": ">", 
                                                                        "ipnexthop": "19.0.102.4", 
                                                                        "localpref": "100", 
                                                                        "origin": "i", 
                                                                        "pathnr": "0", 
                                                                        "status": "valid", 
                                                                        "statuscode": "*", 
                                                                        "type": "internal", 
                                                                        "typecode": "i", 
                                                                        "weight": "0"
                                                                    }
                                                                }, 
                                                                "ipprefix": "1.4.2.0/24"
                                                            }
                                                        ]
                                                    }
                                                }
                                            }, 
                                            "af-name": "IPv4 Multicast", 
                                            "router-id": "19.0.0.6", 
                                            "safi": "2", 
                                            "table-version": "140597"
                                        }
                                    }, 
                                    "afi": "1"
                                }
                            }, 
                            "vrf-name-out": "default"
                        }
                    }
                }, 
                "code": "200", 
                "input": "show bgp ipv4 multicast received-paths", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show bgp ipv4 multicast received-paths command, see the CLI command reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

Note: This example was added in Cisco NX-OS Release 7.0(3)I7(4).

CLI Output
Switch# show bgp ipv4 multicast received-paths
BGP routing table information for VRF default, address family IPv4 Multicast
BGP table version is 140597, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
 i1.2.1.0/24         19.0.101.1                        100          0 2 3 4 i
 i1.2.2.0/24         19.0.101.1                        100          0 2 3 4 i
 i1.4.1.0/24         19.0.102.4                        100          0 2 3 4 i
* i1.4.2.0/24         19.0.102.4                        100          0 2 3 4 i


show bgp ipv4 unicast community internet no-advertise

show bgp ipv4 unicast  community internet no-advertise

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show bgp ipv4 unicast  community internet no-advertise",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_vrf": {
                        "ROW_vrf": {
                            "TABLE_afi": {
                                "ROW_afi": {
                                    "TABLE_safi": {
                                        "ROW_safi": {
                                            "TABLE_rd": {
                                                "ROW_rd": {
                                                    "TABLE_prefix": {
                                                        "ROW_prefix": [
                                                            {
                                                                "TABLE_path": {
                                                                    "ROW_path": [
                                                                        {
                                                                            "aspath": "1 2 3 65000 23", 
                                                                            "best": "none", 
                                                                            "bestcode": {}, 
                                                                            "ipnexthop": "21.0.101.99", 
                                                                            "localpref": "100", 
                                                                            "metric": "2222", 
                                                                            "origin": "i", 
                                                                            "pathnr": "0", 
                                                                            "status": "invalid", 
                                                                            "statuscode": {}, 
                                                                            "type": "internal", 
                                                                            "typecode": "i", 
                                                                            "weight": "0"
                                                                        }, 
                                                                        {
                                                                            "aspath": "{1956 38871 10250 47165 18545 55460 26839 63754 35134 6514}", 
                                                                            "best": "bestpath", 
                                                                            "bestcode": ">", 
                                                                            "ipnexthop": "19.0.102.4", 
                                                                            "localpref": "100", 
                                                                            "origin": "i", 
                                                                            "pathnr": "1", 
                                                                            "status": "valid", 
                                                                            "statuscode": "*", 
                                                                            "type": "internal", 
                                                                            "typecode": "i", 
                                                                            "weight": "0"
                                                                        }
                                                                    ]
                                                                }, 
                                                                "ipprefix": "1.1.1.0/24"
                                                            }, 
                                                            {
                                                                "TABLE_path": {
                                                                    "ROW_path": [
                                                                        {
                                                                            "aspath": "1 2 3 65000 23", 
                                                                            "best": "none", 
                                                                            "bestcode": {}, 
                                                                            "ipnexthop": "21.0.101.99", 
                                                                            "localpref": "100", 
                                                                            "metric": "2222", 
                                                                            "origin": "i", 
                                                                            "pathnr": "0", 
                                                                            "status": "invalid", 
                                                                            "statuscode": {}, 
                                                                            "type": "internal", 
                                                                            "typecode": "i", 
                                                                            "weight": "0"
                                                                        }, 
                                                                        {
                                                                            "aspath": "{1956 38871 10250 47165 18545 55460 26839 63754 35134 6514}", 
                                                                            "best": "bestpath", 
                                                                            "bestcode": ">", 
                                                                            "ipnexthop": "19.0.102.4", 
                                                                            "localpref": "100", 
                                                                            "origin": "i", 
                                                                            "pathnr": "1", 
                                                                            "status": "valid", 
                                                                            "statuscode": "*", 
                                                                            "type": "internal", 
                                                                            "typecode": "i", 
                                                                            "weight": "0"
                                                                        }
                                                                    ]
                                                                }, 
                                                                "ipprefix": "1.1.2.0/24"
                                                            }, 
                                                            {
                                                                "TABLE_path": {
                                                                    "ROW_path": {
                                                                        "aspath": "10 20 30 40 50 60 70 80 90", 
                                                                        "best": "bestpath", 
                                                                        "bestcode": ">", 
                                                                        "ipnexthop": "19.0.101.1", 
                                                                        "localpref": "100", 
                                                                        "origin": "i", 
                                                                        "pathnr": "0", 
                                                                        "status": "valid", 
                                                                        "statuscode": "*", 
                                                                        "type": "internal", 
                                                                        "typecode": "i", 
                                                                        "weight": "0"
                                                                    }
                                                                }, 
                                                                "ipprefix": "1.6.0.0/16"
                                                            }, 
                                                            {
                                                                "TABLE_path": {
                                                                    "ROW_path": {
                                                                        "aspath": "10 20 30 40 50 60 70 80 90", 
                                                                        "best": "bestpath", 
                                                                        "bestcode": ">", 
                                                                        "ipnexthop": "19.0.101.1", 
                                                                        "localpref": "100", 
                                                                        "origin": "i", 
                                                                        "pathnr": "0", 
                                                                        "status": "valid", 
                                                                        "statuscode": "*", 
                                                                        "type": "internal", 
                                                                        "typecode": "i", 
                                                                        "weight": "0"
                                                                    }
                                                                }, 
                                                                "ipprefix": "1.6.1.128/25"
                                                            }, 
                                                            {
                                                                "TABLE_path": {
                                                                    "ROW_path": {
                                                                        "aspath": "888 10 20 30 40 50 60 70 80 90", 
                                                                        "best": "none", 
                                                                        "bestcode": {}, 
                                                                        "ipnexthop": "19.0.102.3", 
                                                                        "origin": "i", 
                                                                        "pathnr": "0", 
                                                                        "status": "dampened", 
                                                                        "statuscode": "d", 
                                                                        "type": "external", 
                                                                        "typecode": "e", 
                                                                        "weight": "0"
                                                                    }
                                                                }, 
                                                                "ipprefix": "2.0.0.0/24"
                                                            }, 
                                                            {
                                                                "TABLE_path": {
                                                                    "ROW_path": {
                                                                        "aspath": "888 10 20 30 40 50 60 70 80 90", 
                                                                        "best": "none", 
                                                                        "bestcode": {}, 
                                                                        "ipnexthop": "19.0.102.3", 
                                                                        "origin": "i", 
                                                                        "pathnr": "0", 
                                                                        "status": "dampened", 
                                                                        "statuscode": "d", 
                                                                        "type": "external", 
                                                                        "typecode": "e", 
                                                                        "weight": "0"
                                                                    }
                                                                }, 
                                                                "ipprefix": "2.0.1.0/24"
                                                            }, 
                                                            {
                                                                "TABLE_path": {
                                                                    "ROW_path": {
                                                                        "aspath": "", 
                                                                        "best": "bestpath", 
                                                                        "bestcode": ">", 
                                                                        "ipnexthop": "0.0.0.0", 
                                                                        "localpref": "100", 
                                                                        "metric": "0", 
                                                                        "origin": "?", 
                                                                        "pathnr": "0", 
                                                                        "status": "valid", 
                                                                        "statuscode": "*", 
                                                                        "type": "redist", 
                                                                        "typecode": "r", 
                                                                        "weight": "32768"
                                                                    }
                                                                }, 
                                                                "ipprefix": "104.0.0.0/8"
                                                            }
                                                        ]
                                                    }
                                                }
                                            }, 
                                            "af-name": "IPv4 Unicast", 
                                            "router-id": "19.0.0.6", 
                                            "safi": "1", 
                                            "table-version": "140602"
                                        }
                                    }, 
                                    "afi": "1"
                                }
                            }, 
                            "vrf-name-out": "default"
                        }
                    }
                }, 
                "code": "200", 
                "input": "show bgp ipv4 unicast  community internet no-advertise", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show bgp ipv4 unicast community internet no-advertise command, see the CLI command reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

Note: This example was added in Cisco NX-OS Release 7.0(3)I7(4).

CLI Output
Switch# show bgp ipv4 unicast  community internet no-advertise
BGP routing table information for VRF default, address family IPv4 Unicast
BGP table version is 140602, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
  i1.1.1.0/24         21.0.101.99           2222        100          0 1 2 3 65000 23 i
 i                   19.0.102.4                        100          0 {1956 38871 10250 47165 18545 55460 26839 63754 35134 6514} i
  i1.1.2.0/24         21.0.101.99           2222        100          0 1 2 3 65000 23 i
 i                   19.0.102.4                        100          0 {1956 38871 10250 47165 18545 55460 26839 63754 35134 6514} i
 i1.6.0.0/16         19.0.101.1                        100          0 10 20 30 40 50 60 70 80 90 i
 i1.6.1.128/25       19.0.101.1                        100          0 10 20 30 40 50 60 70 80 90 i
d e2.0.0.0/24         19.0.102.3                                     0 888 10 20 30 40 50 60 70 80 90 i
d e2.0.1.0/24         19.0.102.3                                     0 888 10 20 30 40 50 60 70 80 90 i
 r104.0.0.0/8        0.0.0.0                  0        100      32768 ?


show bgp ipv4 unicast nexthop 19.0.101.1

show bgp ipv4 unicast nexthop 19.0.101.1

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show bgp ipv4 unicast nexthop 19.0.101.1",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_vrf": {
                        "ROW_vrf": {
                            "TABLE_afi": {
                                "ROW_afi": {
                                    "TABLE_safi": {
                                        "ROW_safi": {
                                            "TABLE_rd": {
                                                "ROW_rd": {
                                                    "TABLE_prefix": {
                                                        "ROW_prefix": [
                                                            {
                                                                "TABLE_path": {
                                                                    "ROW_path": {
                                                                        "aspath": "10 20 30 40 50 60 70 80 90", 
                                                                        "best": "bestpath", 
                                                                        "bestcode": ">", 
                                                                        "ipnexthop": "19.0.101.1", 
                                                                        "localpref": "100", 
                                                                        "origin": "i", 
                                                                        "pathnr": "0", 
                                                                        "status": "valid", 
                                                                        "statuscode": "*", 
                                                                        "type": "internal", 
                                                                        "typecode": "i", 
                                                                        "weight": "0"
                                                                    }
                                                                }, 
                                                                "ipprefix": "1.6.0.0/16"
                                                            }, 
                                                            {
                                                                "TABLE_path": {
                                                                    "ROW_path": {
                                                                        "aspath": "10 20 30 40 50 60 70 80 90", 
                                                                        "best": "bestpath", 
                                                                        "bestcode": ">", 
                                                                        "ipnexthop": "19.0.101.1", 
                                                                        "localpref": "100", 
                                                                        "origin": "i", 
                                                                        "pathnr": "0", 
                                                                        "status": "valid", 
                                                                        "statuscode": "*", 
                                                                        "type": "internal", 
                                                                        "typecode": "i", 
                                                                        "weight": "0"
                                                                    }
                                                                }, 
                                                                "ipprefix": "1.6.1.128/25"
                                                            }
                                                        ]
                                                    }
                                                }
                                            }, 
                                            "af-name": "IPv4 Unicast", 
                                            "router-id": "19.0.0.6", 
                                            "safi": "1", 
                                            "table-version": "140602"
                                        }
                                    }, 
                                    "afi": "1"
                                }
                            }, 
                            "vrf-name-out": "default"
                        }
                    }
                }, 
                "code": "200", 
                "input": "show bgp ipv4 unicast nexthop 19.0.101.1", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show bgp ipv4 unicast nexthop 19.0.101.1 command, see the CLI command reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

Note: This example was added in Cisco NX-OS Release 7.0(3)I7(4).

CLI Output
Switch# show bgp ipv4 unicast nexthop 19.0.101.1
BGP routing table information for VRF default, address family IPv4 Unicast
BGP table version is 140602, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
 i1.6.0.0/16         19.0.101.1                        100          0 10 20 30 40 50 60 70 80 90 i
* i1.6.1.128/25       19.0.101.1                        100          0 10 20 30 40 50 60 70 80 90 i


show bgp ipv4 unicast nexthop-database

show bgp ipv4 unicast nexthop-database

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show bgp ipv4 unicast nexthop-database",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_nhvrf": {
                        "ROW_nhvrf": {
                            "TABLE_nhafi": {
                                "ROW_nhafi": {
                                    "TABLE_nhsafi": {
                                        "ROW_nhsafi": {
                                            "TABLE_nexthop": {
                                                "ROW_nexthop": [
                                                    {
                                                        "TABLE_attachedhops": {
                                                            "ROW_attachedhops": {
                                                                "attachedhop": "19.0.101.1", 
                                                                "interface": "Ethernet1/12"
                                                            }
                                                        }, 
                                                        "attached": "true", 
                                                        "filtered": "false", 
                                                        "igpmetric": "0", 
                                                        "igppref": "250", 
                                                        "igptype": "0", 
                                                        "ipnexthop-out": "19.0.101.1", 
                                                        "labeled": "false", 
                                                        "local": "false", 
                                                        "nextadvertise": "Never", 
                                                        "pendingupdate": "false", 
                                                        "reachable": "true", 
                                                        "refcount": "2", 
                                                        "resolvetime": "6d02h", 
                                                        "ribroute": "19.0.101.1/32", 
                                                        "rnhepoch": "2"
                                                    }, 
                                                    {
                                                        "TABLE_attachedhops": {
                                                            "ROW_attachedhops": {
                                                                "attachedhop": "19.0.102.3", 
                                                                "interface": "Ethernet1/12"
                                                            }
                                                        }, 
                                                        "attached": "true", 
                                                        "filtered": "false", 
                                                        "igpmetric": "0", 
                                                        "igppref": "250", 
                                                        "igptype": "0", 
                                                        "ipnexthop-out": "19.0.102.3", 
                                                        "labeled": "false", 
                                                        "local": "false", 
                                                        "nextadvertise": "Never", 
                                                        "pendingupdate": "false", 
                                                        "reachable": "true", 
                                                        "refcount": "2", 
                                                        "resolvetime": "6d02h", 
                                                        "ribroute": "19.0.102.3/32", 
                                                        "rnhepoch": "1"
                                                    }, 
                                                    {
                                                        "TABLE_attachedhops": {
                                                            "ROW_attachedhops": {
                                                                "attachedhop": "19.0.102.4", 
                                                                "interface": "Ethernet1/12"
                                                            }
                                                        }, 
                                                        "attached": "true", 
                                                        "filtered": "false", 
                                                        "igpmetric": "0", 
                                                        "igppref": "250", 
                                                        "igptype": "0", 
                                                        "ipnexthop-out": "19.0.102.4", 
                                                        "labeled": "false", 
                                                        "local": "false", 
                                                        "nextadvertise": "Never", 
                                                        "pendingupdate": "false", 
                                                        "reachable": "true", 
                                                        "refcount": "2", 
                                                        "resolvetime": "6d02h", 
                                                        "ribroute": "19.0.102.4/32", 
                                                        "rnhepoch": "2"
                                                    }, 
                                                    {
                                                        "attached": "false", 
                                                        "filtered": "false", 
                                                        "igpmetric": "-1", 
                                                        "igppref": "0", 
                                                        "igptype": "0", 
                                                        "ipnexthop-out": "21.0.101.99", 
                                                        "labeled": "false", 
                                                        "local": "false", 
                                                        "nextadvertise": "Never", 
                                                        "pendingupdate": "false", 
                                                        "reachable": "false", 
                                                        "refcount": "2", 
                                                        "resolvetime": "6d02h", 
                                                        "ribroute": "0.0.0.0/0", 
                                                        "rnhepoch": "0"
                                                    }
                                                ]
                                            }, 
                                            "af-name": "IPv4 Unicast", 
                                            "nhcriticaldelay": "3000", 
                                            "nhnoncriticaldelay": "10000", 
                                            "nhsafi": "1"
                                        }
                                    }, 
                                    "nhafi": "1"
                                }
                            }, 
                            "nhvrf-name-out": "default"
                        }
                    }
                }, 
                "code": "200", 
                "input": "show bgp ipv4 unicast nexthop-database", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show bgp ipv4 unicast nexthop-database command, see the CLI command reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

Note: This example was added in Cisco NX-OS Release 7.0(3)I7(4).

CLI Output
Switch# show bgp ipv4 unicast nexthop-database

Next Hop table for VRF default, address family IPv4 Unicast:
Next-hop trigger-delay(miliseconds)
  Critical: 3000 Non-critical: 10000
IPv4 Next-hop table

IPv4 Unicast Next-hops:

Nexthop: 19.0.101.1, Flags: 0x5, Refcount: 2, IGP cost: 0
IGP Route type: 0, IGP preference: 250
Attached nexthop: 19.0.101.1, Interface: Ethernet1/12
Nexthop is attached not-local reachable not-labeled
Nexthop last resolved: 6d02h, using 19.0.101.1/32
Metric next advertise: Never
RNH epoch: 2

Nexthop: 19.0.102.3, Flags: 0x5, Refcount: 2, IGP cost: 0
IGP Route type: 0, IGP preference: 250
Attached nexthop: 19.0.102.3, Interface: Ethernet1/12
Nexthop is attached not-local reachable not-labeled
Nexthop last resolved: 6d02h, using 19.0.102.3/32
Metric next advertise: Never
RNH epoch: 1

Nexthop: 19.0.102.4, Flags: 0x5, Refcount: 2, IGP cost: 0
IGP Route type: 0, IGP preference: 250
Attached nexthop: 19.0.102.4, Interface: Ethernet1/12
Nexthop is attached not-local reachable not-labeled
Nexthop last resolved: 6d02h, using 19.0.102.4/32
Metric next advertise: Never
RNH epoch: 2

Nexthop: 21.0.101.99, Flags: 0, Refcount: 2, IGP cost: -1
IGP Route type: 0, IGP preference: 0
Nexthop is not-attached not-local unreachable not-labeled
Nexthop last resolved: 6d02h, using 0.0.0.0/0
Metric next advertise: Never
RNH epoch: 0
IPv6 Next-hop table

IPv6 Unicast Next-hops:

show bgp ipv4 unicast policy statistics neighbor 19.0.101.1

show bgp ipv4 unicast policy statistics neighbor 19.0.101.1

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show bgp ipv4 unicast policy statistics neighbor 19.0.101.1",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_vrf": {
                        "ROW_vrf": {
                            "TABLE_rmap": {
                                "ROW_rmap": {
                                    "TABLE_cmd": {
                                        "ROW_cmd": {
                                            "command": "  match ip address prefix-list PIP-PREFIX", 
                                            "comparecount": "5", 
                                            "matchcount": "0"
                                        }
                                    }, 
                                    "action": "deny", 
                                    "name": "FILTER-PIP", 
                                    "seqnum": "10", 
                                    "totalacceptcount": "0", 
                                    "totalrejectcount": "5"
                                }
                            }, 
                            "rpm-handle-count": "1", 
                            "vrf-name-polstats": "default"
                        }
                    }
                }, 
                "code": "200", 
                "input": "show bgp ipv4 unicast policy statistics neighbor 19.0.101.1", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show bgp ipv4 unicast policy statistics neighbor 19.0.101.1 command, see the CLI command reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

Note: This example was added in Cisco NX-OS Release 7.0(3)I7(4).

CLI Output
Switch# show bgp ipv4 unicast policy statistics neighbor 19.0.101.1
Total count for neighbor rpm handles: 1

C: No. of comparisions, M: No. of matches

route-map FILTER-PIP deny 10
  match ip address prefix-list PIP-PREFIX                    C: 5      M: 0
Total accept count for policy: 0
Total reject count for policy: 5

show bgp ipv4 unicast regexp "1.1"

show bgp ipv4 unicast regexp "1.1"

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show bgp ipv4 unicast regexp "1.1"",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_vrf": {
                        "ROW_vrf": {
                            "TABLE_afi": {
                                "ROW_afi": {
                                    "TABLE_safi": {
                                        "ROW_safi": {
                                            "TABLE_rd": {
                                                "ROW_rd": {
                                                    "TABLE_prefix": {
                                                        "ROW_prefix": [
                                                            {
                                                                "TABLE_path": {
                                                                    "ROW_path": {
                                                                        "aspath": "{1956 38871 10250 47165 18545 55460 26839 63754 35134 6514}", 
                                                                        "best": "bestpath", 
                                                                        "bestcode": ">", 
                                                                        "ipnexthop": "19.0.102.4", 
                                                                        "localpref": "100", 
                                                                        "origin": "i", 
                                                                        "pathnr": "0", 
                                                                        "status": "valid", 
                                                                        "statuscode": "*", 
                                                                        "type": "internal", 
                                                                        "typecode": "i", 
                                                                        "weight": "0"
                                                                    }
                                                                }, 
                                                                "ipprefix": "1.1.1.0/24"
                                                            }, 
                                                            {
                                                                "TABLE_path": {
                                                                    "ROW_path": {
                                                                        "aspath": "{1956 38871 10250 47165 18545 55460 26839 63754 35134 6514}", 
                                                                        "best": "bestpath", 
                                                                        "bestcode": ">", 
                                                                        "ipnexthop": "19.0.102.4", 
                                                                        "localpref": "100", 
                                                                        "origin": "i", 
                                                                        "pathnr": "0", 
                                                                        "status": "valid", 
                                                                        "statuscode": "*", 
                                                                        "type": "internal", 
                                                                        "typecode": "i", 
                                                                        "weight": "0"
                                                                    }
                                                                }, 
                                                                "ipprefix": "1.1.2.0/24"
                                                            }
                                                        ]
                                                    }
                                                }
                                            }, 
                                            "af-name": "IPv4 Unicast", 
                                            "router-id": "19.0.0.6", 
                                            "safi": "1", 
                                            "table-version": "140600"
                                        }
                                    }, 
                                    "afi": "1"
                                }
                            }, 
                            "vrf-name-out": "default"
                        }
                    }
                }, 
                "code": "200", 
                "input": "show bgp ipv4 unicast regexp \"1.1\"", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show bgp ipv4 unicast regexp "1.1" command, see the CLI command reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

Note: This example was added in Cisco NX-OS Release 7.0(3)I7(4).

CLI Output
Switch# show bgp ipv4 unicast regexp "1.1"

BGP routing table information for VRF default, address family IPv4 Unicast
BGP table version is 140600, Local Router ID is 19.0.0.6
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
 i1.1.1.0/24         19.0.102.4                        100          0 {1956 38871 10250 47165 18545 55460 26839 63754 35134 6514} i
* i1.1.2.0/24         19.0.102.4                        100          0 {1956 38871 10250 47165 18545 55460 26839 63754 35134 6514} i


show bgp ipv4 unicast self-originated vrf vpn1

show bgp ipv4 unicast self-originated vrf vpn1

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show bgp ipv4 unicast self-originated vrf vpn1",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_vrf": {
                        "ROW_vrf": {
                            "TABLE_afi": {
                                "ROW_afi": {
                                    "TABLE_safi": {
                                        "ROW_safi": {
                                            "TABLE_rd": {
                                                "ROW_rd": {
                                                    "TABLE_prefix": {
                                                        "ROW_prefix": {
                                                            "TABLE_path": {
                                                                "ROW_path": {
                                                                    "aspath": "", 
                                                                    "best": "bestpath", 
                                                                    "bestcode": ">", 
                                                                    "ipnexthop": "0.0.0.0", 
                                                                    "localpref": "100", 
                                                                    "metric": "0", 
                                                                    "origin": "?", 
                                                                    "pathnr": "0", 
                                                                    "status": "valid", 
                                                                    "statuscode": "*", 
                                                                    "type": "redist", 
                                                                    "typecode": "r", 
                                                                    "weight": "32768"
                                                                }
                                                            }, 
                                                            "ipprefix": "104.0.0.0/8"
                                                        }
                                                    }
                                                }
                                            }, 
                                            "af-name": "IPv4 Unicast", 
                                            "router-id": "0.0.0.0", 
                                            "safi": "1", 
                                            "table-version": "11"
                                        }
                                    }, 
                                    "afi": "1"
                                }
                            }, 
                            "vrf-name-out": "vpn1"
                        }
                    }
                }, 
                "code": "200", 
                "input": "show bgp ipv4 unicast self-originated vrf vpn1", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show bgp ipv4 unicast self-originated vrf vpn1 command, see the CLI command reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

Note: This example was added in Cisco NX-OS Release 7.0(3)I7(4).

CLI Output
Switch# show bgp ipv4 unicast self-originated vrf vpn1

BGP routing table information for VRF vpn1, address family IPv4 Unicast
BGP table version is 11, Local Router ID is 0.0.0.0
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, -valid,  -best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

   Network            Next Hop            Metric     LocPrf     Weight Path
 r104.0.0.0/8        0.0.0.0                  0        100      32768 ?


show bgp process

show bgp process

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show bgp process",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_vrf": {
                        "ROW_vrf": {
                            "TABLE_af": {
                                "ROW_af": [
                                    {
                                        "af-id": "0", 
                                        "af-name": "IPv4 Unicast", 
                                        "af-num-active-peers": "3", 
                                        "af-num-peers": "4", 
                                        "af-peer-aggregates": "0", 
                                        "af-peer-networks": "0", 
                                        "af-peer-paths": "9", 
                                        "af-peer-routes": "7", 
                                        "af-rr": "true", 
                                        "af-state": "UP", 
                                        "af-table-id": "1", 
                                        "default-information-enabled": "false", 
                                        "nexthop-trigger-delay-critical": "3000", 
                                        "nexthop-trigger-delay-non-critical": "10000"
                                    }, 
                                    {
                                        "af-id": "1", 
                                        "af-name": "IPv4 Multicast", 
                                        "af-num-active-peers": "3", 
                                        "af-num-peers": "4", 
                                        "af-peer-aggregates": "0", 
                                        "af-peer-networks": "0", 
                                        "af-peer-paths": "4", 
                                        "af-peer-routes": "6", 
                                        "af-rr": "true", 
                                        "af-state": "UP", 
                                        "af-table-id": "1", 
                                        "default-information-enabled": "false", 
                                        "nexthop-trigger-delay-critical": "3000", 
                                        "nexthop-trigger-delay-non-critical": "10000"
                                    }, 
                                    {
                                        "af-id": "2", 
                                        "af-name": "IPv6 Unicast", 
                                        "af-num-active-peers": "0", 
                                        "af-num-peers": "3", 
                                        "af-peer-aggregates": "0", 
                                        "af-peer-networks": "0", 
                                        "af-peer-paths": "1", 
                                        "af-peer-routes": "1", 
                                        "af-rr": "true", 
                                        "af-state": "UP", 
                                        "af-table-id": "80000001", 
                                        "default-information-enabled": "false", 
                                        "nexthop-trigger-delay-critical": "3000", 
                                        "nexthop-trigger-delay-non-critical": "10000"
                                    }, 
                                    {
                                        "af-id": "3", 
                                        "af-name": "IPv6 Multicast", 
                                        "af-num-active-peers": "0", 
                                        "af-num-peers": "3", 
                                        "af-peer-aggregates": "0", 
                                        "af-peer-networks": "0", 
                                        "af-peer-paths": "0", 
                                        "af-peer-routes": "0", 
                                        "af-rr": "true", 
                                        "af-state": "UP", 
                                        "af-table-id": "80000001", 
                                        "default-information-enabled": "false", 
                                        "nexthop-trigger-delay-critical": "3000", 
                                        "nexthop-trigger-delay-non-critical": "10000"
                                    }, 
                                    {
                                        "af-id": "4", 
                                        "af-name": "VPNv4 Unicast", 
                                        "af-num-active-peers": "3", 
                                        "af-num-peers": "4", 
                                        "af-peer-aggregates": "0", 
                                        "af-peer-networks": "0", 
                                        "af-peer-paths": "8", 
                                        "af-peer-routes": "6", 
                                        "af-rr": "true", 
                                        "af-state": "UP", 
                                        "af-table-id": "1", 
                                        "default-information-enabled": "false", 
                                        "nexthop-trigger-delay-critical": "3000", 
                                        "nexthop-trigger-delay-non-critical": "10000"
                                    }, 
                                    {
                                        "af-id": "5", 
                                        "af-name": "VPNv6 Unicast", 
                                        "af-num-active-peers": "3", 
                                        "af-num-peers": "4", 
                                        "af-peer-aggregates": "0", 
                                        "af-peer-networks": "0", 
                                        "af-peer-paths": "4", 
                                        "af-peer-routes": "4", 
                                        "af-rr": "true", 
                                        "af-state": "UP", 
                                        "af-table-id": "80000001", 
                                        "default-information-enabled": "false", 
                                        "nexthop-trigger-delay-critical": "3000", 
                                        "nexthop-trigger-delay-non-critical": "10000"
                                    }, 
                                    {
                                        "af-id": "9", 
                                        "af-name": "IPv4 MVPN", 
                                        "af-num-active-peers": "2", 
                                        "af-num-peers": "3", 
                                        "af-peer-aggregates": "0", 
                                        "af-peer-networks": "0", 
                                        "af-peer-paths": "35", 
                                        "af-peer-routes": "35", 
                                        "af-retain-rt": "enabled all", 
                                        "af-rr": "true", 
                                        "af-state": "UP", 
                                        "af-table-id": "1", 
                                        "default-information-enabled": "false", 
                                        "nexthop-trigger-delay-critical": "3000", 
                                        "nexthop-trigger-delay-non-critical": "10000"
                                    }, 
                                    {
                                        "af-id": "10", 
                                        "af-name": "IPv6 MVPN", 
                                        "af-num-active-peers": "2", 
                                        "af-num-peers": "3", 
                                        "af-peer-aggregates": "0", 
                                        "af-peer-networks": "0", 
                                        "af-peer-paths": "20", 
                                        "af-peer-routes": "20", 
                                        "af-retain-rt": "enabled all", 
                                        "af-rr": "true", 
                                        "af-state": "UP", 
                                        "af-table-id": "80000001", 
                                        "default-information-enabled": "false", 
                                        "nexthop-trigger-delay-critical": "3000", 
                                        "nexthop-trigger-delay-non-critical": "10000"
                                    }, 
                                    {
                                        "af-id": "12", 
                                        "af-name": "L2VPN EVPN", 
                                        "af-num-active-peers": "3", 
                                        "af-num-peers": "4", 
                                        "af-peer-aggregates": "0", 
                                        "af-peer-networks": "0", 
                                        "af-peer-paths": "17", 
                                        "af-peer-routes": "13", 
                                        "af-retain-rt": "enabled all", 
                                        "af-rr": "true", 
                                        "af-state": "UP", 
                                        "af-table-id": "1", 
                                        "default-information-enabled": "false", 
                                        "nexthop-trigger-delay-critical": "3000", 
                                        "nexthop-trigger-delay-non-critical": "10000"
                                    }, 
                                    {
                                        "af-id": "13", 
                                        "af-name": "Link-State", 
                                        "af-num-active-peers": "2", 
                                        "af-num-peers": "4", 
                                        "af-peer-aggregates": "0", 
                                        "af-peer-networks": "0", 
                                        "af-peer-paths": "4", 
                                        "af-peer-routes": "4", 
                                        "af-rr": "true", 
                                        "af-state": "UP", 
                                        "af-table-id": "1", 
                                        "default-information-enabled": "false", 
                                        "nexthop-trigger-delay-critical": "3000", 
                                        "nexthop-trigger-delay-non-critical": "10000"
                                    }
                                ]
                            }, 
                            "vrf-cfgd-id": "0.0.0.0", 
                            "vrf-cluster-id": "0.0.0.0", 
                            "vrf-confed-id": "0", 
                            "vrf-delete-pending": "false", 
                            "vrf-est-peers": "5", 
                            "vrf-id": "1", 
                            "vrf-name-out": "default", 
                            "vrf-peers": "8", 
                            "vrf-pending-peers": "0", 
                            "vrf-router-id": "19.0.0.6", 
                            "vrf-state": "UP", 
                            "vrf-vni-id": "0", 
                            "vrf-vni-id-valid": "false"
                        }
                    }, 
                    "asformat": "asplain", 
                    "aspathbytes": "1536", 
                    "aspathentries": "28", 
                    "attributeentries": "37", 
                    "bytesused": "4292", 
                    "entriespendingdelete": "0", 
                    "forwardingstatesaved": "false", 
                    "hwmattributeentries": "38", 
                    "hwmentriespendingdelete": "0", 
                    "isolatemode": "No", 
                    "memorystate": "OK", 
                    "mmode": "Initialized", 
                    "pathsperattribute": "10", 
                    "processid": "2682", 
                    "protocolstartedreason": "configuration", 
                    "protocolstate": "Running", 
                    "protocoltag": "333"
                }, 
                "code": "200", 
                "input": "show bgp process", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show bgp process command, see the CLI command reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

Note: This example was added in Cisco NX-OS Release 7.0(3)I7(4).

CLI Output
Switch# show bgp process

BGP Process Information
BGP Process ID                 : 2682
BGP Protocol Started, reason:  : configuration
BGP Performance Mode:          : No
BGP Protocol Tag               : 333
BGP Protocol State             : Running
BGP Isolate Mode               : No
BGP MMODE                      : Initialized
BGP Memory State               : OK
BGP asformat                   : asplain

BGP attributes information
Number of attribute entries    : 37
HWM of attribute entries       : 38
Bytes used by entries          : 4292
Entries pending delete         : 0
HWM of entries pending delete  : 0
BGP paths per attribute HWM    : 10
BGP AS path entries            : 28
Bytes used by AS path entries  : 1536

Information regarding configured VRFs:

BGP Information for VRF default
VRF Id                         : 1
VRF state                      : UP
VNID                           : 0 (invalid)
Router-ID                      : 19.0.0.6
Configured Router-ID           : 0.0.0.0
Confed-ID                      : 0
Cluster-ID                     : 0.0.0.0
No. of configured peers        : 8
No. of pending config peers    : 0
No. of established peers       : 5
VRF RD                         : Not configured

    Information for address family IPv4 Unicast in VRF default
    Table Id                   : 0x1
    Table state                : UP
    Peers      Active-peers    Routes     Paths      Networks   Aggregates
    4          3               7          9          0          0
Redistribution
None Wait for IGP convergence is not configured Is a Route-reflector Nexthop trigger-delay critical 3000 ms non-critical 10000 ms Information for address family IPv4 Multicast in VRF default Table Id : 0x1 Table state : UP Peers Active-peers Routes Paths Networks Aggregates 4 3 6 4 0 0
Redistribution
None Wait for IGP convergence is not configured Is a Route-reflector Nexthop trigger-delay critical 3000 ms non-critical 10000 ms Information for address family IPv6 Unicast in VRF default Table Id : 0x80000001 Table state : UP Peers Active-peers Routes Paths Networks Aggregates 3 0 1 1 0 0
Redistribution
None Wait for IGP convergence is not configured Is a Route-reflector Nexthop trigger-delay critical 3000 ms non-critical 10000 ms Information for address family IPv6 Multicast in VRF default Table Id : 0x80000001 Table state : UP Peers Active-peers Routes Paths Networks Aggregates 3 0 0 0 0 0
Redistribution
None Wait for IGP convergence is not configured Is a Route-reflector Nexthop trigger-delay critical 3000 ms non-critical 10000 ms Information for address family VPNv4 Unicast in VRF default Table Id : 0x1 Table state : UP Peers Active-peers Routes Paths Networks Aggregates 4 3 6 8 0 0
Redistribution
None Wait for IGP convergence is not configured Is a Route-reflector Nexthop trigger-delay critical 3000 ms non-critical 10000 ms Information for address family VPNv6 Unicast in VRF default Table Id : 0x80000001 Table state : UP Peers Active-peers Routes Paths Networks Aggregates 4 3 4 4 0 0
Redistribution
None Wait for IGP convergence is not configured Is a Route-reflector Nexthop trigger-delay critical 3000 ms non-critical 10000 ms Information for address family IPv4 MVPN in VRF default Table Id : 0x1 Table state : UP Peers Active-peers Routes Paths Networks Aggregates 3 2 35 35 0 0
Redistribution
None Wait for IGP convergence is not configured Retain RT: enabled all Is a Route-reflector Nexthop trigger-delay critical 3000 ms non-critical 10000 ms Information for address family IPv6 MVPN in VRF default Table Id : 0x80000001 Table state : UP Peers Active-peers Routes Paths Networks Aggregates 3 2 20 20 0 0
Redistribution
None Wait for IGP convergence is not configured Retain RT: enabled all Is a Route-reflector Nexthop trigger-delay critical 3000 ms non-critical 10000 ms Information for address family L2VPN EVPN in VRF default Table Id : 0x1 Table state : UP Peers Active-peers Routes Paths Networks Aggregates 4 3 13 17 0 0
Redistribution
None Wait for IGP convergence is not configured Retain RT: enabled all Is a Route-reflector Nexthop trigger-delay critical 3000 ms non-critical 10000 ms Information for address family Link-State in VRF default Table Id : 0x1 Table state : UP Peers Active-peers Routes Paths Networks Aggregates 4 2 4 4 0 0
Redistribution
None Wait for IGP convergence is not configured Is a Route-reflector Nexthop trigger-delay critical 3000 ms non-critical 10000 ms

show bgp sessions

show bgp sessions

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show bgp sessions",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_vrf": {
                        "ROW_vrf": {
                            "TABLE_neighbor": {
                                "ROW_neighbor": [
                                    {
                                        "connectionsdropped": "0", 
                                        "lastflap": "P6DT2H33M31S", 
                                        "lastread": "PT51S", 
                                        "lastwrite": "PT34S", 
                                        "localport": "179", 
                                        "neighbor-id": "19.0.101.1", 
                                        "notificationsreceived": "0", 
                                        "notificationssent": "0", 
                                        "remoteas": "333", 
                                        "remoteport": "37989", 
                                        "state": "Established"
                                    }, 
                                    {
                                        "connectionsdropped": "0", 
                                        "lastflap": "P6DT2H33M31S", 
                                        "lastread": "PT4S", 
                                        "lastwrite": "PT34S", 
                                        "localport": "179", 
                                        "neighbor-id": "19.0.102.3", 
                                        "notificationsreceived": "0", 
                                        "notificationssent": "0", 
                                        "remoteas": "888", 
                                        "remoteport": "46134", 
                                        "state": "Established"
                                    }, 
                                    {
                                        "connectionsdropped": "0", 
                                        "lastflap": "P6DT2H33M31S", 
                                        "lastread": "PT51S", 
                                        "lastwrite": "PT34S", 
                                        "localport": "179", 
                                        "neighbor-id": "19.0.102.4", 
                                        "notificationsreceived": "0", 
                                        "notificationssent": "0", 
                                        "remoteas": "333", 
                                        "remoteport": "43271", 
                                        "state": "Established"
                                    }, 
                                    {
                                        "connectionsdropped": "0", 
                                        "lastflap": "P6DT2H33M31S", 
                                        "lastread": "PT51S", 
                                        "lastwrite": "PT34S", 
                                        "localport": "179", 
                                        "neighbor-id": "19.0.103.10", 
                                        "notificationsreceived": "0", 
                                        "notificationssent": "0", 
                                        "remoteas": "999", 
                                        "remoteport": "35158", 
                                        "state": "Established"
                                    }, 
                                    {
                                        "connectionsdropped": "0", 
                                        "lastflap": "P6DT2H33M28S", 
                                        "lastread": "PT48S", 
                                        "lastwrite": "PT31S", 
                                        "localport": "179", 
                                        "neighbor-id": "19.0.103.20", 
                                        "notificationsreceived": "0", 
                                        "notificationssent": "0", 
                                        "remoteas": "333", 
                                        "remoteport": "41777", 
                                        "state": "Established"
                                    }, 
                                    {
                                        "connectionsdropped": "0", 
                                        "lastflap": "P6DT2H33M45S", 
                                        "localport": "0", 
                                        "neighbor-id": "19.0.200.200", 
                                        "notificationsreceived": "0", 
                                        "notificationssent": "0", 
                                        "remoteas": "0", 
                                        "remoteport": "0", 
                                        "state": "Idle"
                                    }, 
                                    {
                                        "connectionsdropped": "0", 
                                        "lastflap": "P6DT2H33M48S", 
                                        "localport": "0", 
                                        "neighbor-id": "fec0::1002", 
                                        "notificationsreceived": "0", 
                                        "notificationssent": "0", 
                                        "remoteas": "333", 
                                        "remoteport": "0", 
                                        "state": "Idle"
                                    }, 
                                    {
                                        "connectionsdropped": "0", 
                                        "lastflap": "P6DT2H33M48S", 
                                        "localport": "0", 
                                        "neighbor-id": "fec0::2002", 
                                        "notificationsreceived": "0", 
                                        "notificationssent": "0", 
                                        "remoteas": "888", 
                                        "remoteport": "0", 
                                        "state": "Idle"
                                    }
                                ]
                            }, 
                            "local-as": "333", 
                            "router-id": "19.0.0.6", 
                            "vrf-name-out": "default", 
                            "vrfestablishedpeers": "5", 
                            "vrfpeers": "8"
                        }
                    }, 
                    "localas": "333", 
                    "totalestablishedpeers": "5", 
                    "totalpeers": "9"
                }, 
                "code": "200", 
                "input": "show bgp sessions", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show bgp sessions command, see the CLI command reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

Note: This example was added in Cisco NX-OS Release 7.0(3)I7(4).

CLI Output
Switch# show bgp sessions
Total peers 9, established peers 5
ASN 333
VRF default, local ASN 333
peers 8, established peers 5, local router-id 19.0.0.6
State: I-Idle, A-Active, O-Open, E-Established, C-Closing, S-Shutdown

Neighbor        ASN    Flaps LastUpDn|LastRead|LastWrit St Port(L/R)  Notif(S/R)
19.0.101.1        333 0     6d02h   |00:00:51|00:00:34 E   179/37989      0/0
19.0.102.3        888 0     6d02h   |00:00:04|00:00:34 E   179/46134      0/0
19.0.102.4        333 0     6d02h   |00:00:51|00:00:34 E   179/43271      0/0
19.0.103.10       999 0     6d02h   |00:00:51|00:00:34 E   179/35158      0/0
19.0.103.20       333 0     6d02h   |00:00:48|00:00:32 E   179/41777      0/0
19.0.200.200        0 0     6d02h   |never   |never    I   0/0          0/0
fec0::1002        333 0     6d02h   |never   |never    I   0/0          0/0
fec0::2002        888 0     6d02h   |never   |never    I   0/0          0/0

show bgp statistics

show bgp statistics

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show bgp statistics",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "byterecvd": "840124", 
                    "bytesent": "59892911", 
                    "caprecvd": "0", 
                    "capsent": "0", 
                    "karecvd": "44040", 
                    "kasent": "43970", 
                    "msgrecvd": "537111", 
                    "msgsent": "44002", 
                    "notifrecvd": "0", 
                    "notifsent": "0", 
                    "openrecvd": "5", 
                    "opensent": "5", 
                    "rrefreshrecvd": "0", 
                    "rrefreshsent": "0", 
                    "updaterecvd": "493066", 
                    "updatesent": "54"
                }, 
                "code": "200", 
                "input": "show bgp statistics", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show bgp statistics command, see the CLI command reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

Note: This example was added in Cisco NX-OS Release 7.0(3)I7(4).

CLI Output
Switch# show bgp statistics

Neighbor aggregated statistics (sent/received)
 Msgs                 Bytes                Opens                Updates
44002/537111 59892911/840124 5/5 54/493066
Keepalives Notifications Route-refresh Capabilities
43970/44040 0/0 0/0 0/0