mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 05:18:47 +00:00
Revert "Merge pull request #15614 from louis-6wind/fix-6pe-address"
This reverts commitb3600d82dc
, reversing changes made to51119823d0
.
This commit is contained in:
parent
0d2d20825e
commit
0097489b4a
@ -320,6 +320,11 @@ int bgp_find_or_add_nexthop(struct bgp *bgp_route, struct bgp *bgp_nexthop,
|
|||||||
afi = BGP_ATTR_MP_NEXTHOP_LEN_IP6(pi->attr) ? AFI_IP6
|
afi = BGP_ATTR_MP_NEXTHOP_LEN_IP6(pi->attr) ? AFI_IP6
|
||||||
: AFI_IP;
|
: AFI_IP;
|
||||||
|
|
||||||
|
/* Validation for the ipv4 mapped ipv6 nexthop. */
|
||||||
|
if (IS_MAPPED_IPV6(&pi->attr->mp_nexthop_global)) {
|
||||||
|
afi = AFI_IP;
|
||||||
|
}
|
||||||
|
|
||||||
/* This will return true if the global IPv6 NH is a link local
|
/* This will return true if the global IPv6 NH is a link local
|
||||||
* addr */
|
* addr */
|
||||||
if (make_prefix(afi, pi, &p) < 0)
|
if (make_prefix(afi, pi, &p) < 0)
|
||||||
@ -1034,13 +1039,21 @@ static int make_prefix(int afi, struct bgp_path_info *pi, struct prefix *p)
|
|||||||
if (is_bgp_static) {
|
if (is_bgp_static) {
|
||||||
p->u.prefix4 = p_orig->u.prefix4;
|
p->u.prefix4 = p_orig->u.prefix4;
|
||||||
p->prefixlen = p_orig->prefixlen;
|
p->prefixlen = p_orig->prefixlen;
|
||||||
|
} else {
|
||||||
|
if (IS_MAPPED_IPV6(&pi->attr->mp_nexthop_global)) {
|
||||||
|
ipv4_mapped_ipv6_to_ipv4(
|
||||||
|
&pi->attr->mp_nexthop_global, &ipv4);
|
||||||
|
p->u.prefix4 = ipv4;
|
||||||
|
p->prefixlen = IPV4_MAX_BITLEN;
|
||||||
} else {
|
} else {
|
||||||
if (p_orig->family == AF_EVPN)
|
if (p_orig->family == AF_EVPN)
|
||||||
p->u.prefix4 = pi->attr->mp_nexthop_global_in;
|
p->u.prefix4 =
|
||||||
|
pi->attr->mp_nexthop_global_in;
|
||||||
else
|
else
|
||||||
p->u.prefix4 = pi->attr->nexthop;
|
p->u.prefix4 = pi->attr->nexthop;
|
||||||
p->prefixlen = IPV4_MAX_BITLEN;
|
p->prefixlen = IPV4_MAX_BITLEN;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case AFI_IP6:
|
case AFI_IP6:
|
||||||
p->family = AF_INET6;
|
p->family = AF_INET6;
|
||||||
@ -1055,7 +1068,6 @@ static int make_prefix(int afi, struct bgp_path_info *pi, struct prefix *p)
|
|||||||
/* If we receive MP_REACH nexthop with ::(LL)
|
/* If we receive MP_REACH nexthop with ::(LL)
|
||||||
* or LL(LL), use LL address as nexthop cache.
|
* or LL(LL), use LL address as nexthop cache.
|
||||||
*/
|
*/
|
||||||
p->prefixlen = IPV6_MAX_BITLEN;
|
|
||||||
if (pi->attr &&
|
if (pi->attr &&
|
||||||
pi->attr->mp_nexthop_len ==
|
pi->attr->mp_nexthop_len ==
|
||||||
BGP_ATTR_NHLEN_IPV6_GLOBAL_AND_LL &&
|
BGP_ATTR_NHLEN_IPV6_GLOBAL_AND_LL &&
|
||||||
@ -1070,22 +1082,15 @@ static int make_prefix(int afi, struct bgp_path_info *pi, struct prefix *p)
|
|||||||
pi->attr->mp_nexthop_len ==
|
pi->attr->mp_nexthop_len ==
|
||||||
BGP_ATTR_NHLEN_IPV6_GLOBAL_AND_LL) {
|
BGP_ATTR_NHLEN_IPV6_GLOBAL_AND_LL) {
|
||||||
if (CHECK_FLAG(pi->attr->nh_flags,
|
if (CHECK_FLAG(pi->attr->nh_flags,
|
||||||
BGP_ATTR_NH_MP_PREFER_GLOBAL)) {
|
BGP_ATTR_NH_MP_PREFER_GLOBAL))
|
||||||
if (IS_MAPPED_IPV6(
|
|
||||||
&pi->attr->mp_nexthop_global)) {
|
|
||||||
ipv4_mapped_ipv6_to_ipv4(
|
|
||||||
&pi->attr->mp_nexthop_global,
|
|
||||||
&ipv4);
|
|
||||||
p->u.prefix4 = ipv4;
|
|
||||||
p->prefixlen = IPV4_MAX_BITLEN;
|
|
||||||
} else
|
|
||||||
p->u.prefix6 =
|
p->u.prefix6 =
|
||||||
pi->attr->mp_nexthop_global;
|
pi->attr->mp_nexthop_global;
|
||||||
} else
|
else
|
||||||
p->u.prefix6 =
|
p->u.prefix6 =
|
||||||
pi->attr->mp_nexthop_local;
|
pi->attr->mp_nexthop_local;
|
||||||
} else
|
} else
|
||||||
p->u.prefix6 = pi->attr->mp_nexthop_global;
|
p->u.prefix6 = pi->attr->mp_nexthop_global;
|
||||||
|
p->prefixlen = IPV6_MAX_BITLEN;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -9674,7 +9674,10 @@ void route_vty_out(struct vty *vty, const struct prefix *p,
|
|||||||
json_object_string_add(json_nexthop_ll, "scope",
|
json_object_string_add(json_nexthop_ll, "scope",
|
||||||
"link-local");
|
"link-local");
|
||||||
|
|
||||||
if (!CHECK_FLAG(attr->nh_flags,
|
if ((IPV6_ADDR_CMP(&attr->mp_nexthop_global,
|
||||||
|
&attr->mp_nexthop_local) !=
|
||||||
|
0) &&
|
||||||
|
!CHECK_FLAG(attr->nh_flags,
|
||||||
BGP_ATTR_NH_MP_PREFER_GLOBAL))
|
BGP_ATTR_NH_MP_PREFER_GLOBAL))
|
||||||
json_object_boolean_true_add(
|
json_object_boolean_true_add(
|
||||||
json_nexthop_ll, "used");
|
json_nexthop_ll, "used");
|
||||||
|
@ -525,9 +525,12 @@ struct stream *bpacket_reformat_for_peer(struct bpacket *pkt,
|
|||||||
|
|
||||||
if (peer->nexthop.v4.s_addr != INADDR_ANY &&
|
if (peer->nexthop.v4.s_addr != INADDR_ANY &&
|
||||||
(IN6_IS_ADDR_UNSPECIFIED(mod_v6nhg) ||
|
(IN6_IS_ADDR_UNSPECIFIED(mod_v6nhg) ||
|
||||||
(IN6_IS_ADDR_LINKLOCAL(mod_v6nhg) &&
|
(peer->connection->su.sa.sa_family == AF_INET &&
|
||||||
peer->connection->su.sa.sa_family == AF_INET6 &&
|
paf->afi == AFI_IP6))) {
|
||||||
paf->afi == AFI_IP))) {
|
/* set a IPv4 mapped IPv6 address if no global IPv6
|
||||||
|
* address is found or if announcing IPv6 prefix
|
||||||
|
* over an IPv4 BGP session.
|
||||||
|
*/
|
||||||
ipv4_to_ipv4_mapped_ipv6(mod_v6nhg, peer->nexthop.v4);
|
ipv4_to_ipv4_mapped_ipv6(mod_v6nhg, peer->nexthop.v4);
|
||||||
gnh_modified = 1;
|
gnh_modified = 1;
|
||||||
}
|
}
|
||||||
|
104
bgpd/bgp_zebra.c
104
bgpd/bgp_zebra.c
@ -302,12 +302,11 @@ static int bgp_ifp_down(struct interface *ifp)
|
|||||||
|
|
||||||
static int bgp_interface_address_add(ZAPI_CALLBACK_ARGS)
|
static int bgp_interface_address_add(ZAPI_CALLBACK_ARGS)
|
||||||
{
|
{
|
||||||
struct connected *ifc, *connected;
|
struct connected *ifc;
|
||||||
struct bgp *bgp;
|
struct bgp *bgp;
|
||||||
struct peer *peer;
|
struct peer *peer;
|
||||||
struct prefix *addr;
|
struct prefix *addr;
|
||||||
struct listnode *node, *nnode;
|
struct listnode *node, *nnode;
|
||||||
bool v6_ll_in_nh_global;
|
|
||||||
afi_t afi;
|
afi_t afi;
|
||||||
safi_t safi;
|
safi_t safi;
|
||||||
|
|
||||||
@ -325,43 +324,22 @@ static int bgp_interface_address_add(ZAPI_CALLBACK_ARGS)
|
|||||||
if (!bgp)
|
if (!bgp)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (!if_is_operative(ifc->ifp))
|
if (if_is_operative(ifc->ifp)) {
|
||||||
return 0;
|
|
||||||
|
|
||||||
bgp_connected_add(bgp, ifc);
|
bgp_connected_add(bgp, ifc);
|
||||||
|
|
||||||
/* If we have learnt of any neighbors on this interface,
|
/* If we have learnt of any neighbors on this interface,
|
||||||
* check to kick off any BGP interface-based neighbors,
|
* check to kick off any BGP interface-based neighbors,
|
||||||
* but only if this is a link-local address.
|
* but only if this is a link-local address.
|
||||||
*/
|
*/
|
||||||
if (IN6_IS_ADDR_LINKLOCAL(&ifc->address->u.prefix6) &&
|
if (IN6_IS_ADDR_LINKLOCAL(&ifc->address->u.prefix6)
|
||||||
!list_isempty(ifc->ifp->nbr_connected))
|
&& !list_isempty(ifc->ifp->nbr_connected))
|
||||||
bgp_start_interface_nbrs(bgp, ifc->ifp);
|
bgp_start_interface_nbrs(bgp, ifc->ifp);
|
||||||
else if (ifc->address->family == AF_INET6 &&
|
else {
|
||||||
!IN6_IS_ADDR_LINKLOCAL(&ifc->address->u.prefix6)) {
|
|
||||||
addr = ifc->address;
|
addr = ifc->address;
|
||||||
|
|
||||||
for (ALL_LIST_ELEMENTS(bgp->peer, node, nnode, peer)) {
|
for (ALL_LIST_ELEMENTS(bgp->peer, node, nnode, peer)) {
|
||||||
v6_ll_in_nh_global = false;
|
if (addr->family == AF_INET)
|
||||||
|
|
||||||
if (IN6_IS_ADDR_LINKLOCAL(&peer->nexthop.v6_global)) {
|
|
||||||
frr_each (if_connected, ifc->ifp->connected,
|
|
||||||
connected) {
|
|
||||||
if (connected->address->family !=
|
|
||||||
AF_INET6)
|
|
||||||
continue;
|
continue;
|
||||||
if (!IPV6_ADDR_SAME(&connected->address
|
|
||||||
->u.prefix6,
|
|
||||||
&peer->nexthop
|
|
||||||
.v6_global))
|
|
||||||
continue;
|
|
||||||
/* peer->nexthop.v6_global contains a link-local address
|
|
||||||
* that needs to be replaced by the global address.
|
|
||||||
*/
|
|
||||||
v6_ll_in_nh_global = true;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If the Peer's interface name matches the
|
* If the Peer's interface name matches the
|
||||||
@ -373,22 +351,29 @@ static int bgp_interface_address_add(ZAPI_CALLBACK_ARGS)
|
|||||||
* into peer's v6_global and send updates out
|
* into peer's v6_global and send updates out
|
||||||
* with new nexthop addr.
|
* with new nexthop addr.
|
||||||
*/
|
*/
|
||||||
if (v6_ll_in_nh_global ||
|
if ((peer->conf_if &&
|
||||||
(peer->conf_if &&
|
(strcmp(peer->conf_if, ifc->ifp->name) ==
|
||||||
strcmp(peer->conf_if, ifc->ifp->name) == 0 &&
|
0)) &&
|
||||||
(IS_MAPPED_IPV6(&peer->nexthop.v6_global) ||
|
!IN6_IS_ADDR_LINKLOCAL(&addr->u.prefix6) &&
|
||||||
IN6_IS_ADDR_LINKLOCAL(&peer->nexthop.v6_global)))) {
|
((IS_MAPPED_IPV6(
|
||||||
|
&peer->nexthop.v6_global)) ||
|
||||||
|
IN6_IS_ADDR_LINKLOCAL(
|
||||||
|
&peer->nexthop.v6_global))) {
|
||||||
|
|
||||||
if (bgp_debug_zebra(ifc->address)) {
|
if (bgp_debug_zebra(ifc->address)) {
|
||||||
zlog_debug("Update peer %pBP's current intf global addr from %pI6 to %pI6 and send updates",
|
zlog_debug(
|
||||||
|
"Update peer %pBP's current intf addr %pI6 and send updates",
|
||||||
peer,
|
peer,
|
||||||
&peer->nexthop.v6_global,
|
&peer->nexthop
|
||||||
&addr->u.prefix6);
|
.v6_global);
|
||||||
}
|
}
|
||||||
memcpy(&peer->nexthop.v6_global,
|
memcpy(&peer->nexthop.v6_global,
|
||||||
&addr->u.prefix6, IPV6_MAX_BYTELEN);
|
&addr->u.prefix6,
|
||||||
|
IPV6_MAX_BYTELEN);
|
||||||
FOREACH_AFI_SAFI (afi, safi)
|
FOREACH_AFI_SAFI (afi, safi)
|
||||||
bgp_announce_route(peer, afi, safi,
|
bgp_announce_route(peer, afi,
|
||||||
true);
|
safi, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -399,14 +384,10 @@ static int bgp_interface_address_add(ZAPI_CALLBACK_ARGS)
|
|||||||
static int bgp_interface_address_delete(ZAPI_CALLBACK_ARGS)
|
static int bgp_interface_address_delete(ZAPI_CALLBACK_ARGS)
|
||||||
{
|
{
|
||||||
struct listnode *node, *nnode;
|
struct listnode *node, *nnode;
|
||||||
struct connected *ifc, *connected;
|
struct connected *ifc;
|
||||||
struct peer *peer;
|
struct peer *peer;
|
||||||
struct bgp *bgp;
|
struct bgp *bgp;
|
||||||
struct prefix *addr;
|
struct prefix *addr;
|
||||||
struct in6_addr *v6_global = NULL;
|
|
||||||
struct in6_addr *v6_local = NULL;
|
|
||||||
afi_t afi;
|
|
||||||
safi_t safi;
|
|
||||||
|
|
||||||
bgp = bgp_lookup_by_vrf_id(vrf_id);
|
bgp = bgp_lookup_by_vrf_id(vrf_id);
|
||||||
|
|
||||||
@ -425,18 +406,7 @@ static int bgp_interface_address_delete(ZAPI_CALLBACK_ARGS)
|
|||||||
|
|
||||||
addr = ifc->address;
|
addr = ifc->address;
|
||||||
|
|
||||||
if (bgp && addr->family == AF_INET6 &&
|
if (bgp) {
|
||||||
!IN6_IS_ADDR_LINKLOCAL(&addr->u.prefix6)) {
|
|
||||||
/* find another IPv6 global if possible and find the IPv6 link-local */
|
|
||||||
frr_each (if_connected, ifc->ifp->connected, connected) {
|
|
||||||
if (connected->address->family != AF_INET6)
|
|
||||||
continue;
|
|
||||||
if (IN6_IS_ADDR_LINKLOCAL(&connected->address->u.prefix6))
|
|
||||||
v6_local = &connected->address->u.prefix6;
|
|
||||||
else
|
|
||||||
v6_global = &connected->address->u.prefix6;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* When we are using the v6 global as part of the peering
|
* When we are using the v6 global as part of the peering
|
||||||
* nexthops and we are removing it, then we need to
|
* nexthops and we are removing it, then we need to
|
||||||
@ -445,17 +415,17 @@ static int bgp_interface_address_delete(ZAPI_CALLBACK_ARGS)
|
|||||||
* we do not want the peering to bounce.
|
* we do not want the peering to bounce.
|
||||||
*/
|
*/
|
||||||
for (ALL_LIST_ELEMENTS(bgp->peer, node, nnode, peer)) {
|
for (ALL_LIST_ELEMENTS(bgp->peer, node, nnode, peer)) {
|
||||||
if (IPV6_ADDR_SAME(&peer->nexthop.v6_global,
|
afi_t afi;
|
||||||
&addr->u.prefix6)) {
|
safi_t safi;
|
||||||
if (v6_global)
|
|
||||||
IPV6_ADDR_COPY(&peer->nexthop.v6_global,
|
if (addr->family == AF_INET)
|
||||||
v6_global);
|
continue;
|
||||||
else if (v6_local)
|
|
||||||
IPV6_ADDR_COPY(&peer->nexthop.v6_global,
|
if (!IN6_IS_ADDR_LINKLOCAL(&addr->u.prefix6)
|
||||||
v6_local);
|
&& memcmp(&peer->nexthop.v6_global,
|
||||||
else
|
&addr->u.prefix6, 16)
|
||||||
memset(&peer->nexthop.v6_global, 0,
|
== 0) {
|
||||||
IPV6_MAX_BYTELEN);
|
memset(&peer->nexthop.v6_global, 0, 16);
|
||||||
FOREACH_AFI_SAFI (afi, safi)
|
FOREACH_AFI_SAFI (afi, safi)
|
||||||
bgp_announce_route(peer, afi, safi,
|
bgp_announce_route(peer, afi, safi,
|
||||||
true);
|
true);
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
ipv6 route ::/0 fd00:100::2
|
|
||||||
ip route 0.0.0.0/0 192.168.1.2
|
|
||||||
interface eth-r1
|
|
||||||
ip address 192.168.1.1/24
|
|
||||||
ipv6 address fd00:100::1/64
|
|
||||||
!
|
|
@ -1,6 +0,0 @@
|
|||||||
ipv6 route ::/0 fd00:700::2
|
|
||||||
ip route 0.0.0.0/0 192.168.7.2
|
|
||||||
interface eth-r7
|
|
||||||
ip address 192.168.7.1/24
|
|
||||||
ipv6 address fd00:700::1/64
|
|
||||||
!
|
|
@ -1,6 +0,0 @@
|
|||||||
ipv6 route ::/0 fd00:800::2
|
|
||||||
ip route 0.0.0.0/0 192.168.8.2
|
|
||||||
interface eth-r8
|
|
||||||
ip address 192.168.8.1/24
|
|
||||||
ipv6 address fd00:800::1/64
|
|
||||||
!
|
|
@ -1,70 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"192.168.1.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "0.0.0.0",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"192.168.7.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"multipath": true,
|
|
||||||
"path": "65000 65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.16.1.3",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65000 65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.16.0.2",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"192.168.8.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"multipath": true,
|
|
||||||
"path": "65000 65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.16.1.3",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65000 65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.16.0.2",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,90 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"fd00:100::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "::",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:700::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"multipath": true,
|
|
||||||
"path": "65000 65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:2::3",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "link-local",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65000 65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:1::2",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "link-local",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:800::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"multipath": true,
|
|
||||||
"path": "65000 65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:2::3",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "link-local",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65000 65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:1::2",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "link-local",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,90 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"fd00:100::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "::",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:700::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"multipath": true,
|
|
||||||
"path": "65000 65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:2::3",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "link-local",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65000 65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:1::2",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "link-local",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:800::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"multipath": true,
|
|
||||||
"path": "65000 65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:2::3",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "link-local",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65000 65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:1::2",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "link-local",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
router bgp 65100
|
|
||||||
no bgp ebgp-requires-policy
|
|
||||||
neighbor 172.16.0.2 remote-as external
|
|
||||||
neighbor 172.16.1.3 remote-as external
|
|
||||||
! neighbor 172.16.0.2 capability extended-nexthop
|
|
||||||
!
|
|
||||||
address-family ipv4 unicast
|
|
||||||
redistribute connected route-map RMAP4
|
|
||||||
!
|
|
||||||
address-family ipv6 unicast
|
|
||||||
redistribute connected route-map RMAP6
|
|
||||||
neighbor 172.16.0.2 activate
|
|
||||||
neighbor 172.16.1.3 activate
|
|
||||||
!
|
|
||||||
|
|
||||||
ip prefix-list RANGE4 seq 10 permit 192.168.0.0/16 le 24
|
|
||||||
ipv6 prefix-list RANGE6 seq 10 permit fd00:100::0/64
|
|
||||||
|
|
||||||
route-map RMAP4 permit 10
|
|
||||||
match ip address prefix-list RANGE4
|
|
||||||
!
|
|
||||||
route-map RMAP6 permit 10
|
|
||||||
match ipv6 address prefix-list RANGE6
|
|
@ -1,16 +0,0 @@
|
|||||||
!
|
|
||||||
interface eth-h1
|
|
||||||
ip address 192.168.1.2/24
|
|
||||||
ipv6 address fd00:100::2/64
|
|
||||||
!
|
|
||||||
interface eth-r2
|
|
||||||
ip address 172.16.0.1/24
|
|
||||||
ipv6 address fd00:0:1::1/64
|
|
||||||
!
|
|
||||||
interface eth-r3
|
|
||||||
ip address 172.16.1.1/24
|
|
||||||
ipv6 address fd00:0:2::1/64
|
|
||||||
!
|
|
||||||
interface lo
|
|
||||||
ip address 192.0.2.1/32
|
|
||||||
ipv6 address 2001:db8::1/128
|
|
@ -1,46 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"192.168.1.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.16.0.1",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"192.168.7.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.17.0.7",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"192.168.8.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.17.0.8",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,53 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"fd00:100::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:1::1",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "link-local",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:700::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::7",
|
|
||||||
"scope": "global",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:800::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::8",
|
|
||||||
"scope": "global",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,48 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"fd00:100::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "link-local",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:700::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::7",
|
|
||||||
"scope": "global",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:800::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::8",
|
|
||||||
"scope": "global",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
router bgp 65000
|
|
||||||
no bgp ebgp-requires-policy
|
|
||||||
neighbor 172.16.0.1 remote-as external
|
|
||||||
! neighbor 172.16.0.1 capability extended-nexthop
|
|
||||||
neighbor 192.0.2.101 remote-as internal
|
|
||||||
neighbor 192.0.2.101 update-source 192.0.2.2
|
|
||||||
!
|
|
||||||
address-family ipv6 unicast
|
|
||||||
neighbor 172.16.0.1 activate
|
|
||||||
neighbor 192.0.2.101 activate
|
|
||||||
!
|
|
@ -1,24 +0,0 @@
|
|||||||
!
|
|
||||||
interface lo
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis passive
|
|
||||||
!
|
|
||||||
interface eth-rr1
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis hello-interval 1
|
|
||||||
isis hello-multiplier 3
|
|
||||||
isis network point-to-point
|
|
||||||
!
|
|
||||||
interface eth-r1
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis passive
|
|
||||||
!
|
|
||||||
router isis 1
|
|
||||||
net 49.0000.0000.0000.0002.00
|
|
||||||
is-type level-1
|
|
||||||
lsp-gen-interval 1
|
|
||||||
topology ipv6-unicast
|
|
||||||
!
|
|
@ -1,12 +0,0 @@
|
|||||||
!
|
|
||||||
interface eth-r1
|
|
||||||
ip address 172.16.0.2/24
|
|
||||||
ipv6 address fd00:0:1::2/64
|
|
||||||
!
|
|
||||||
interface eth-rr1
|
|
||||||
ip address 10.0.0.2/24
|
|
||||||
ipv6 address fd00:0:3::2/64
|
|
||||||
!
|
|
||||||
interface lo
|
|
||||||
ip address 192.0.2.2/32
|
|
||||||
ipv6 address 2001:db8::2/128
|
|
@ -1,46 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"192.168.1.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.16.1.1",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"192.168.7.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.17.0.7",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"192.168.8.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.17.0.8",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,53 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"fd00:100::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:2::1",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "link-local",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:700::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::7",
|
|
||||||
"scope": "global",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:800::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::8",
|
|
||||||
"scope": "global",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,48 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"fd00:100::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "link-local",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:700::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::7",
|
|
||||||
"scope": "global",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:800::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::8",
|
|
||||||
"scope": "global",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
router bgp 65000
|
|
||||||
no bgp ebgp-requires-policy
|
|
||||||
neighbor 172.16.1.1 remote-as external
|
|
||||||
! neighbor 172.16.1.1 capability extended-nexthop
|
|
||||||
neighbor 192.0.2.101 remote-as internal
|
|
||||||
neighbor 192.0.2.101 update-source 192.0.2.3
|
|
||||||
!
|
|
||||||
address-family ipv6 unicast
|
|
||||||
neighbor 172.16.1.1 activate
|
|
||||||
neighbor 192.0.2.101 activate
|
|
||||||
!
|
|
@ -1,24 +0,0 @@
|
|||||||
!
|
|
||||||
interface lo
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis passive
|
|
||||||
!
|
|
||||||
interface eth-rr1
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis hello-interval 1
|
|
||||||
isis hello-multiplier 3
|
|
||||||
isis network point-to-point
|
|
||||||
!
|
|
||||||
interface eth-r1
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis passive
|
|
||||||
!
|
|
||||||
router isis 1
|
|
||||||
net 49.0000.0000.0000.0003.00
|
|
||||||
is-type level-1
|
|
||||||
lsp-gen-interval 1
|
|
||||||
topology ipv6-unicast
|
|
||||||
!
|
|
@ -1,12 +0,0 @@
|
|||||||
!
|
|
||||||
interface eth-r1
|
|
||||||
ip address 172.16.1.3/24
|
|
||||||
ipv6 address fd00:0:2::3/64
|
|
||||||
!
|
|
||||||
interface eth-rr1
|
|
||||||
ip address 10.0.1.3/24
|
|
||||||
ipv6 address fd00:0:4::3/64
|
|
||||||
!
|
|
||||||
interface lo
|
|
||||||
ip address 192.0.2.3/32
|
|
||||||
ipv6 address 2001:db8::3/128
|
|
@ -1,46 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"192.168.1.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.16.0.1",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"192.168.7.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.17.0.7",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"192.168.8.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.17.0.8",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,49 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"fd00:100::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:1::1",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:700::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::7",
|
|
||||||
"scope": "global",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:800::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::8",
|
|
||||||
"scope": "global",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,49 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"fd00:100::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "2001:db8::2",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:700::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::7",
|
|
||||||
"scope": "global",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:800::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::8",
|
|
||||||
"scope": "global",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,13 +0,0 @@
|
|||||||
router bgp 65000
|
|
||||||
neighbor 192.0.2.5 remote-as internal
|
|
||||||
neighbor 192.0.2.6 remote-as internal
|
|
||||||
neighbor 192.0.2.101 remote-as internal
|
|
||||||
neighbor 192.0.2.5 update-source 192.0.2.4
|
|
||||||
neighbor 192.0.2.6 update-source 192.0.2.4
|
|
||||||
neighbor 192.0.2.101 update-source 192.0.2.4
|
|
||||||
!
|
|
||||||
address-family ipv6 unicast
|
|
||||||
neighbor 192.0.2.5 activate
|
|
||||||
neighbor 192.0.2.6 activate
|
|
||||||
neighbor 192.0.2.101 activate
|
|
||||||
!
|
|
@ -1,26 +0,0 @@
|
|||||||
!
|
|
||||||
interface lo
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis passive
|
|
||||||
!
|
|
||||||
interface eth-rr1
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis hello-interval 1
|
|
||||||
isis hello-multiplier 3
|
|
||||||
isis network point-to-point
|
|
||||||
!
|
|
||||||
interface eth-r6
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis hello-interval 1
|
|
||||||
isis hello-multiplier 3
|
|
||||||
isis network point-to-point
|
|
||||||
!
|
|
||||||
router isis 1
|
|
||||||
net 49.0000.0000.0000.0004.00
|
|
||||||
is-type level-1
|
|
||||||
lsp-gen-interval 1
|
|
||||||
topology ipv6-unicast
|
|
||||||
!
|
|
@ -1,12 +0,0 @@
|
|||||||
!
|
|
||||||
interface eth-r6
|
|
||||||
ip address 10.0.4.4/24
|
|
||||||
ipv6 address fd00:0:7::4/64
|
|
||||||
!
|
|
||||||
interface eth-rr1
|
|
||||||
ip address 10.0.2.4/24
|
|
||||||
ipv6 address fd00:0:5::4/64
|
|
||||||
!
|
|
||||||
interface lo
|
|
||||||
ip address 192.0.2.4/32
|
|
||||||
ipv6 address 2001:db8::4/128
|
|
@ -1,46 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"192.168.1.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.16.0.1",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"192.168.7.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.17.0.7",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"192.168.8.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.17.0.8",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,49 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"fd00:100::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:1::1",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:700::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::7",
|
|
||||||
"scope": "global",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:800::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::8",
|
|
||||||
"scope": "global",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,49 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"fd00:100::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "2001:db8::2",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:700::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::7",
|
|
||||||
"scope": "global",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:800::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::8",
|
|
||||||
"scope": "global",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,13 +0,0 @@
|
|||||||
router bgp 65000
|
|
||||||
neighbor 192.0.2.4 remote-as internal
|
|
||||||
neighbor 192.0.2.6 remote-as internal
|
|
||||||
neighbor 192.0.2.101 remote-as internal
|
|
||||||
neighbor 192.0.2.4 update-source 192.0.2.5
|
|
||||||
neighbor 192.0.2.6 update-source 192.0.2.5
|
|
||||||
neighbor 192.0.2.101 update-source 192.0.2.5
|
|
||||||
!
|
|
||||||
address-family ipv6 unicast
|
|
||||||
neighbor 192.0.2.4 activate
|
|
||||||
neighbor 192.0.2.6 activate
|
|
||||||
neighbor 192.0.2.101 activate
|
|
||||||
!
|
|
@ -1,26 +0,0 @@
|
|||||||
!
|
|
||||||
interface lo
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis passive
|
|
||||||
!
|
|
||||||
interface eth-rr1
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis hello-interval 1
|
|
||||||
isis hello-multiplier 3
|
|
||||||
isis network point-to-point
|
|
||||||
!
|
|
||||||
interface eth-r6
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis hello-interval 1
|
|
||||||
isis hello-multiplier 3
|
|
||||||
isis network point-to-point
|
|
||||||
!
|
|
||||||
router isis 1
|
|
||||||
net 49.0000.0000.0000.0005.00
|
|
||||||
is-type level-1
|
|
||||||
lsp-gen-interval 1
|
|
||||||
topology ipv6-unicast
|
|
||||||
!
|
|
@ -1,12 +0,0 @@
|
|||||||
!
|
|
||||||
interface eth-r6
|
|
||||||
ip address 10.0.5.5/24
|
|
||||||
ipv6 address fd00:0:8::5/64
|
|
||||||
!
|
|
||||||
interface eth-rr1
|
|
||||||
ip address 10.0.3.5/24
|
|
||||||
ipv6 address fd00:0:6::5/64
|
|
||||||
!
|
|
||||||
interface lo
|
|
||||||
ip address 192.0.2.5/32
|
|
||||||
ipv6 address 2001:db8::5/128
|
|
@ -1,46 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"192.168.1.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.16.0.1",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"192.168.7.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.17.0.7",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"192.168.8.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.17.0.8",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,48 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"fd00:100::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:1::1",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:700::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::7",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:800::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::8",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,48 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"fd00:100::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "2001:db8::2",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:700::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::7",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:800::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::8",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
router bgp 65000
|
|
||||||
no bgp ebgp-requires-policy
|
|
||||||
no bgp enforce-first-as
|
|
||||||
neighbor 192.0.2.4 remote-as internal
|
|
||||||
neighbor 192.0.2.5 remote-as internal
|
|
||||||
neighbor 192.0.2.101 remote-as internal
|
|
||||||
neighbor 172.17.0.201 remote-as external
|
|
||||||
neighbor 192.0.2.4 update-source 192.0.2.6
|
|
||||||
neighbor 192.0.2.5 update-source 192.0.2.6
|
|
||||||
neighbor 192.0.2.101 update-source 192.0.2.6
|
|
||||||
!
|
|
||||||
address-family ipv6 unicast
|
|
||||||
neighbor 192.0.2.4 activate
|
|
||||||
neighbor 192.0.2.5 activate
|
|
||||||
neighbor 192.0.2.101 activate
|
|
||||||
neighbor 172.17.0.201 activate
|
|
||||||
!
|
|
@ -1,31 +0,0 @@
|
|||||||
!
|
|
||||||
interface lo
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis passive
|
|
||||||
!
|
|
||||||
interface eth-r4
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis hello-interval 1
|
|
||||||
isis hello-multiplier 3
|
|
||||||
isis network point-to-point
|
|
||||||
!
|
|
||||||
interface eth-r5
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis hello-interval 1
|
|
||||||
isis hello-multiplier 3
|
|
||||||
isis network point-to-point
|
|
||||||
!
|
|
||||||
interface eth-sw1
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis passive
|
|
||||||
!
|
|
||||||
router isis 1
|
|
||||||
net 49.0000.0000.0000.0006.00
|
|
||||||
is-type level-1
|
|
||||||
lsp-gen-interval 1
|
|
||||||
topology ipv6-unicast
|
|
||||||
!
|
|
@ -1,16 +0,0 @@
|
|||||||
!
|
|
||||||
interface eth-r4
|
|
||||||
ip address 10.0.4.6/24
|
|
||||||
ipv6 address fd00:0:7::6/64
|
|
||||||
!
|
|
||||||
interface eth-r5
|
|
||||||
ip address 10.0.5.6/24
|
|
||||||
ipv6 address fd00:0:8::6/64
|
|
||||||
!
|
|
||||||
interface eth-sw1
|
|
||||||
ip address 172.17.0.6/24
|
|
||||||
ipv6 address fd00:0:9::6/64
|
|
||||||
!
|
|
||||||
interface lo
|
|
||||||
ip address 192.0.2.6/32
|
|
||||||
ipv6 address 2001:db8::6/128
|
|
@ -1,46 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"192.168.1.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65000 65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.17.0.6",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"192.168.7.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "0.0.0.0",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"192.168.8.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.17.0.8",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,48 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"fd00:100::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65000 65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::6",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:700::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "::",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:800::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::8",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,48 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"fd00:100::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65000 65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::6",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:700::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "::",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:800::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::8",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
router bgp 65700
|
|
||||||
no bgp ebgp-requires-policy
|
|
||||||
no bgp enforce-first-as
|
|
||||||
neighbor 172.17.0.201 remote-as external
|
|
||||||
!
|
|
||||||
address-family ipv4 unicast
|
|
||||||
redistribute connected route-map RMAP4
|
|
||||||
!
|
|
||||||
address-family ipv6 unicast
|
|
||||||
redistribute connected route-map RMAP6
|
|
||||||
neighbor 172.17.0.201 activate
|
|
||||||
!
|
|
||||||
|
|
||||||
ip prefix-list RANGE4 seq 10 permit 192.168.0.0/16 le 24
|
|
||||||
ipv6 prefix-list RANGE6 seq 10 permit fd00:700::0/64
|
|
||||||
|
|
||||||
route-map RMAP4 permit 10
|
|
||||||
match ip address prefix-list RANGE4
|
|
||||||
!
|
|
||||||
route-map RMAP6 permit 10
|
|
||||||
match ipv6 address prefix-list RANGE6
|
|
@ -1,12 +0,0 @@
|
|||||||
!
|
|
||||||
interface eth-h2
|
|
||||||
ip address 192.168.7.2/24
|
|
||||||
ipv6 address fd00:700::2/64
|
|
||||||
!
|
|
||||||
interface eth-sw1
|
|
||||||
ip address 172.17.0.7/24
|
|
||||||
ipv6 address fd00:0:9::7/64
|
|
||||||
!
|
|
||||||
interface lo
|
|
||||||
ip address 192.0.2.7/32
|
|
||||||
ipv6 address 2001:db8::7/128
|
|
@ -1,46 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"192.168.1.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65000 65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.17.0.6",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"192.168.7.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.17.0.7",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"192.168.8.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "0.0.0.0",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,48 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"fd00:100::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65000 65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::6",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:700::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::7",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:800::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "::",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,48 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"fd00:100::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65000 65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::6",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:700::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::7",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:800::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "::",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
router bgp 65800
|
|
||||||
no bgp ebgp-requires-policy
|
|
||||||
no bgp enforce-first-as
|
|
||||||
neighbor 172.17.0.201 remote-as external
|
|
||||||
!
|
|
||||||
address-family ipv4 unicast
|
|
||||||
redistribute connected route-map RMAP4
|
|
||||||
!
|
|
||||||
address-family ipv6 unicast
|
|
||||||
redistribute connected route-map RMAP6
|
|
||||||
neighbor 172.17.0.201 activate
|
|
||||||
!
|
|
||||||
|
|
||||||
ip prefix-list RANGE4 seq 10 permit 192.168.0.0/16 le 24
|
|
||||||
ipv6 prefix-list RANGE6 seq 10 permit fd00:800::0/64
|
|
||||||
|
|
||||||
route-map RMAP4 permit 10
|
|
||||||
match ip address prefix-list RANGE4
|
|
||||||
!
|
|
||||||
route-map RMAP6 permit 10
|
|
||||||
match ipv6 address prefix-list RANGE6
|
|
@ -1,12 +0,0 @@
|
|||||||
!
|
|
||||||
interface eth-h3
|
|
||||||
ip address 192.168.8.2/24
|
|
||||||
ipv6 address fd00:800::2/64
|
|
||||||
!
|
|
||||||
interface eth-sw1
|
|
||||||
ip address 172.17.0.8/24
|
|
||||||
ipv6 address fd00:0:9::8/64
|
|
||||||
!
|
|
||||||
interface lo
|
|
||||||
ip address 192.0.2.8/32
|
|
||||||
ipv6 address 2001:db8::8/128
|
|
@ -1,58 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"192.168.1.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.16.0.1",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"multipath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.16.1.1",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"192.168.7.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.17.0.7",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"192.168.8.0/24": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "172.17.0.8",
|
|
||||||
"afi": "ipv4",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,62 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"fd00:100::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:1::1",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"multipath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:2::1",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:700::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::7",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:800::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::8",
|
|
||||||
"scope": "global",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,62 +0,0 @@
|
|||||||
{
|
|
||||||
"routes": {
|
|
||||||
"fd00:100::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "2001:db8::2",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"multipath": true,
|
|
||||||
"path": "65100",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "2001:db8::3",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:700::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65700",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::7",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fd00:800::/64": [
|
|
||||||
{
|
|
||||||
"valid": true,
|
|
||||||
"bestpath": true,
|
|
||||||
"path": "65800",
|
|
||||||
"nexthops": [
|
|
||||||
{
|
|
||||||
"ip": "fd00:0:9::8",
|
|
||||||
"afi": "ipv6",
|
|
||||||
"scope": "global",
|
|
||||||
"used": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
router bgp 65000
|
|
||||||
neighbor 192.0.2.2 remote-as internal
|
|
||||||
neighbor 192.0.2.3 remote-as internal
|
|
||||||
neighbor 192.0.2.4 remote-as internal
|
|
||||||
neighbor 192.0.2.5 remote-as internal
|
|
||||||
neighbor 192.0.2.6 remote-as internal
|
|
||||||
neighbor 192.0.2.2 update-source 192.0.2.101
|
|
||||||
neighbor 192.0.2.3 update-source 192.0.2.101
|
|
||||||
neighbor 192.0.2.4 update-source 192.0.2.101
|
|
||||||
neighbor 192.0.2.5 update-source 192.0.2.101
|
|
||||||
neighbor 192.0.2.6 update-source 192.0.2.101
|
|
||||||
!
|
|
||||||
address-family ipv4 unicast
|
|
||||||
neighbor 192.0.2.2 route-reflector-client
|
|
||||||
neighbor 192.0.2.3 route-reflector-client
|
|
||||||
|
|
||||||
!
|
|
||||||
address-family ipv6 unicast
|
|
||||||
neighbor 192.0.2.2 activate
|
|
||||||
neighbor 192.0.2.3 activate
|
|
||||||
neighbor 192.0.2.4 activate
|
|
||||||
neighbor 192.0.2.5 activate
|
|
||||||
neighbor 192.0.2.6 activate
|
|
||||||
neighbor 192.0.2.2 route-reflector-client
|
|
||||||
neighbor 192.0.2.3 route-reflector-client
|
|
||||||
!
|
|
@ -1,40 +0,0 @@
|
|||||||
!
|
|
||||||
interface lo
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis passive
|
|
||||||
!
|
|
||||||
interface eth-r2
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis hello-interval 1
|
|
||||||
isis hello-multiplier 3
|
|
||||||
isis network point-to-point
|
|
||||||
!
|
|
||||||
interface eth-r3
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis hello-interval 1
|
|
||||||
isis hello-multiplier 3
|
|
||||||
isis network point-to-point
|
|
||||||
!
|
|
||||||
interface eth-r4
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis hello-interval 1
|
|
||||||
isis hello-multiplier 3
|
|
||||||
isis network point-to-point
|
|
||||||
!
|
|
||||||
interface eth-r5
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis hello-interval 1
|
|
||||||
isis hello-multiplier 3
|
|
||||||
isis network point-to-point
|
|
||||||
!
|
|
||||||
router isis 1
|
|
||||||
net 49.0000.0000.0000.0101.00
|
|
||||||
is-type level-1
|
|
||||||
lsp-gen-interval 1
|
|
||||||
topology ipv6-unicast
|
|
||||||
!
|
|
@ -1,21 +0,0 @@
|
|||||||
!
|
|
||||||
interface eth-r2
|
|
||||||
ip address 10.0.0.101/24
|
|
||||||
ipv6 address fd00:0:3::101/64
|
|
||||||
!
|
|
||||||
interface eth-r3
|
|
||||||
ip address 10.0.1.101/24
|
|
||||||
ipv6 address fd00:0:4::101/64
|
|
||||||
!
|
|
||||||
interface eth-r4
|
|
||||||
ip address 10.0.2.101/24
|
|
||||||
ipv6 address fd00:0:5::101/64
|
|
||||||
!
|
|
||||||
interface eth-r5
|
|
||||||
ip address 10.0.3.101/24
|
|
||||||
ipv6 address fd00:0:6::101/64
|
|
||||||
!
|
|
||||||
interface lo
|
|
||||||
ip address 192.0.2.101/32
|
|
||||||
ipv6 address 2001:db8::101/128
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
|||||||
router bgp 65200 view RS
|
|
||||||
bgp router-id 192.0.2.201
|
|
||||||
no bgp ebgp-requires-policy
|
|
||||||
neighbor 172.17.0.6 remote-as external
|
|
||||||
neighbor 172.17.0.7 remote-as external
|
|
||||||
neighbor 172.17.0.8 remote-as external
|
|
||||||
!
|
|
||||||
address-family ipv4 unicast
|
|
||||||
neighbor 172.17.0.6 route-server-client
|
|
||||||
neighbor 172.17.0.7 route-server-client
|
|
||||||
neighbor 172.17.0.8 route-server-client
|
|
||||||
|
|
||||||
!
|
|
||||||
address-family ipv6 unicast
|
|
||||||
neighbor 172.17.0.6 activate
|
|
||||||
neighbor 172.17.0.7 activate
|
|
||||||
neighbor 172.17.0.8 activate
|
|
||||||
neighbor 172.17.0.6 route-server-client
|
|
||||||
neighbor 172.17.0.7 route-server-client
|
|
||||||
neighbor 172.17.0.8 route-server-client
|
|
||||||
!
|
|
@ -1,36 +0,0 @@
|
|||||||
!
|
|
||||||
interface lo
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis passive
|
|
||||||
!
|
|
||||||
interface eth-r2
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis hello-interval 1
|
|
||||||
isis hello-multiplier 3
|
|
||||||
!
|
|
||||||
interface eth-r3
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis hello-interval 1
|
|
||||||
isis hello-multiplier 3
|
|
||||||
!
|
|
||||||
interface eth-r4
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis hello-interval 1
|
|
||||||
isis hello-multiplier 3
|
|
||||||
!
|
|
||||||
interface eth-r5
|
|
||||||
ip router isis 1
|
|
||||||
ipv6 router isis 1
|
|
||||||
isis hello-interval 1
|
|
||||||
isis hello-multiplier 3
|
|
||||||
!
|
|
||||||
router isis 1
|
|
||||||
net 49.0000.0000.0000.0101.00
|
|
||||||
is-type level-1
|
|
||||||
lsp-gen-interval 1
|
|
||||||
topology ipv6-unicast
|
|
||||||
!
|
|
@ -1,8 +0,0 @@
|
|||||||
interface eth-sw1
|
|
||||||
ip address 172.17.0.201/24
|
|
||||||
ipv6 address fd00:0:9::201/64
|
|
||||||
!
|
|
||||||
interface lo
|
|
||||||
ip address 192.0.2.201/32
|
|
||||||
ipv6 address 2001:db8::201/128
|
|
||||||
|
|
@ -15,16 +15,15 @@
|
|||||||
"origin": "incomplete",
|
"origin": "incomplete",
|
||||||
"nexthops": [
|
"nexthops": [
|
||||||
{
|
{
|
||||||
"ip": "::ffff:c000:202",
|
|
||||||
"hostname": "ce1",
|
"hostname": "ce1",
|
||||||
"afi": "ipv6",
|
"afi": "ipv6",
|
||||||
"scope": "global"
|
"scope": "global",
|
||||||
|
"used": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"hostname": "ce1",
|
"hostname": "ce1",
|
||||||
"afi": "ipv6",
|
"afi": "ipv6",
|
||||||
"scope": "link-local",
|
"scope": "link-local"
|
||||||
"used": true
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -17,16 +17,15 @@
|
|||||||
"nhVrfName": "vrf10",
|
"nhVrfName": "vrf10",
|
||||||
"nexthops": [
|
"nexthops": [
|
||||||
{
|
{
|
||||||
"ip": "::ffff:c000:202",
|
|
||||||
"hostname": "pe1",
|
"hostname": "pe1",
|
||||||
"afi": "ipv6",
|
"afi": "ipv6",
|
||||||
"scope": "global"
|
"scope": "global",
|
||||||
|
"used": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"hostname": "pe1",
|
"hostname": "pe1",
|
||||||
"afi": "ipv6",
|
"afi": "ipv6",
|
||||||
"scope": "link-local",
|
"scope": "link-local"
|
||||||
"used": true
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user