documentation:examples:ipv6_only_bgp_ospf_ripng_isis_lab_frrouting
Differences
This shows you the differences between two versions of the page.
Last revisionBoth sides next revision | |||
documentation:examples:ipv6_only_bgp_ospf_ripng_isis_lab_frrouting [2020/01/30 11:21] – created fabien | documentation:examples:ipv6_only_bgp_ospf_ripng_isis_lab_frrouting [2020/05/18 18:01] – add missing configuration part fabien | ||
---|---|---|---|
Line 355: | Line 355: | ||
cat > / | cat > / | ||
+ | frr version 7.2 | ||
+ | frr defaults traditional | ||
+ | hostname RIPNG_R2 | ||
+ | ! | ||
+ | interface lo0 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | interface vtnet2 | ||
+ | ipv6 address 2001: | ||
+ | ipv6 nd prefix 2001: | ||
+ | ipv6 nd ra-interval 5 | ||
+ | no ipv6 nd suppress-ra | ||
+ | ! | ||
+ | router-id 0.0.3.2 | ||
+ | ! | ||
+ | router ripng | ||
+ | | ||
+ | | ||
+ | | ||
+ | ! | ||
+ | line vty | ||
+ | ! | ||
EOF | EOF | ||
hostname RIPNG_R2 | hostname RIPNG_R2 | ||
Line 371: | Line 392: | ||
cat > / | cat > / | ||
+ | frr version 7.2 | ||
+ | frr defaults traditional | ||
+ | hostname RIPNG_R3 | ||
+ | ! | ||
+ | interface lo0 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | interface vtnet2 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | router-id 0.0.3.3 | ||
+ | ! | ||
+ | router ripng | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | ! | ||
+ | router bgp 65003 | ||
+ | bgp router-id 0.0.3.3 | ||
+ | | ||
+ | | ||
+ | | ||
+ | ! | ||
+ | | ||
+ | no neighbor 2001: | ||
+ | no neighbor 2001: | ||
+ | | ||
+ | ! | ||
+ | | ||
+ | network 2001: | ||
+ | network 2001: | ||
+ | network 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | | ||
+ | ! | ||
+ | ipv6 access-list all seq 5 permit any | ||
+ | ! | ||
+ | ipv6 prefix-list receive_from_65002 seq 100 permit any | ||
+ | ipv6 prefix-list send_to_65002 seq 100 permit any | ||
+ | ! | ||
+ | route-map Exclude_Internal deny 65003 | ||
+ | match tag 65003 | ||
+ | ! | ||
+ | route-map Exclude_Internal permit 65535 | ||
+ | ! | ||
+ | route-map IPv6_Set-Nexthop_65002 permit 65535 | ||
+ | match ipv6 address all | ||
+ | set ipv6 next-hop peer-address | ||
+ | ! | ||
+ | route-map Tag_Internal permit 65535 | ||
+ | match ipv6 address all | ||
+ | set tag 65003 | ||
+ | ! | ||
+ | line vty | ||
+ | ! | ||
EOF | EOF | ||
hostname RIPNG_R3 | hostname RIPNG_R3 | ||
Line 387: | Line 468: | ||
cat > / | cat > / | ||
+ | frr version 7.2 | ||
+ | frr defaults traditional | ||
+ | hostname RIPNG_R4 | ||
+ | ! | ||
+ | interface lo0 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | router-id 0.0.3.4 | ||
+ | ! | ||
+ | router ripng | ||
+ | | ||
+ | | ||
+ | | ||
+ | ! | ||
+ | line vty | ||
+ | ! | ||
EOF | EOF | ||
hostname RIPNG_R4 | hostname RIPNG_R4 | ||
Line 403: | Line 499: | ||
cat > / | cat > / | ||
+ | frr version 7.2 | ||
+ | frr defaults traditional | ||
+ | hostname ISIS_R1 | ||
+ | ! | ||
+ | interface lo0 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | interface vtnet0 | ||
+ | ipv6 router isis 65002 | ||
+ | isis circuit-type level-2-only | ||
+ | ! | ||
+ | interface vtnet1 | ||
+ | ipv6 router isis 65002 | ||
+ | isis circuit-type level-2-only | ||
+ | ! | ||
+ | interface vtnet2 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | router bgp 65002 | ||
+ | bgp router-id 0.0.2.1 | ||
+ | | ||
+ | ! | ||
+ | | ||
+ | no neighbor 2001: | ||
+ | | ||
+ | ! | ||
+ | | ||
+ | redistribute connected | ||
+ | redistribute isis | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | | ||
+ | ! | ||
+ | router isis 65002 | ||
+ | | ||
+ | net 47.0023.0000.0000.0000.fdea.0000.0000.0000.0201.00 | ||
+ | | ||
+ | | ||
+ | ! | ||
+ | ipv6 access-list all seq 5 permit any | ||
+ | ! | ||
+ | ipv6 prefix-list receive_from_65000 seq 100 permit any | ||
+ | ipv6 prefix-list send_to_65000 seq 100 permit any | ||
+ | ! | ||
+ | route-map Exclude_Internal deny 65002 | ||
+ | match tag 65002 | ||
+ | ! | ||
+ | route-map Exclude_Internal permit 65535 | ||
+ | ! | ||
+ | route-map IPv6_Set-Nexthop_65000 permit 65535 | ||
+ | match ipv6 address all | ||
+ | set ipv6 next-hop peer-address | ||
+ | ! | ||
+ | route-map Tag_Internal permit 65535 | ||
+ | match ipv6 address all | ||
+ | set tag 65002 | ||
+ | ! | ||
+ | line vty | ||
+ | ! | ||
EOF | EOF | ||
hostname ISIS_R1 | hostname ISIS_R1 | ||
Line 419: | Line 575: | ||
cat > / | cat > / | ||
+ | frr version 7.2 | ||
+ | frr defaults traditional | ||
+ | hostname ISIS_R2 | ||
+ | ! | ||
+ | interface lo0 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | interface vtnet0 | ||
+ | ipv6 router isis 65002 | ||
+ | isis circuit-type level-2-only | ||
+ | ! | ||
+ | interface vtnet1 | ||
+ | ipv6 router isis 65002 | ||
+ | isis circuit-type level-2-only | ||
+ | ! | ||
+ | interface vtnet2 | ||
+ | ipv6 address 2001: | ||
+ | ipv6 nd prefix 2001: | ||
+ | ipv6 nd ra-interval 5 | ||
+ | no ipv6 nd suppress-ra | ||
+ | ! | ||
+ | router isis 65002 | ||
+ | | ||
+ | net 47.0023.0000.0000.0000.fdea.0000.0000.0000.0202.00 | ||
+ | | ||
+ | ! | ||
+ | line vty | ||
+ | ! | ||
EOF | EOF | ||
hostname ISIS_R2 | hostname ISIS_R2 | ||
Line 435: | Line 618: | ||
cat > / | cat > / | ||
+ | frr version 7.2 | ||
+ | frr defaults traditional | ||
+ | hostname ISIS_R3 | ||
+ | ! | ||
+ | interface lo0 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | interface vtnet0 | ||
+ | ipv6 router isis 65002 | ||
+ | isis circuit-type level-2-only | ||
+ | ! | ||
+ | interface vtnet1 | ||
+ | ipv6 router isis 65002 | ||
+ | isis circuit-type level-2-only | ||
+ | ! | ||
+ | interface vtnet2 | ||
+ | ipv6 address 2001: | ||
+ | | ||
+ | ! | ||
+ | router bgp 65002 | ||
+ | bgp router-id 0.0.2.3 | ||
+ | | ||
+ | ! | ||
+ | | ||
+ | no neighbor 2001: | ||
+ | | ||
+ | ! | ||
+ | | ||
+ | redistribute connected | ||
+ | redistribute isis | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | | ||
+ | ! | ||
+ | router isis 65002 | ||
+ | | ||
+ | net 47.0023.0000.0000.0000.fdea.0000.0000.0000.0203.00 | ||
+ | | ||
+ | | ||
+ | | ||
+ | ! | ||
+ | ipv6 access-list all seq 5 permit any | ||
+ | ! | ||
+ | ipv6 prefix-list receive_from_65003 seq 100 permit any | ||
+ | ipv6 prefix-list send_to_65003 seq 100 permit any | ||
+ | ! | ||
+ | route-map Exclude_Internal deny 65002 | ||
+ | match tag 65002 | ||
+ | ! | ||
+ | route-map Exclude_Internal permit 65535 | ||
+ | ! | ||
+ | route-map IPv6_Set-Nexthop_65003 permit 65535 | ||
+ | match ipv6 address all | ||
+ | set ipv6 next-hop peer-address | ||
+ | ! | ||
+ | route-map Tag_Internal permit 65535 | ||
+ | match ipv6 address all | ||
+ | set tag 65002 | ||
+ | ! | ||
+ | line vty | ||
+ | ! | ||
EOF | EOF | ||
hostname ISIS_R3 | hostname ISIS_R3 | ||
Line 451: | Line 696: | ||
cat > / | cat > / | ||
+ | frr version 7.2 | ||
+ | frr defaults traditional | ||
+ | hostname ISIS_R4 | ||
+ | ! | ||
+ | interface lo0 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | interface vtnet0 | ||
+ | ipv6 router isis 65002 | ||
+ | isis circuit-type level-2-only | ||
+ | ! | ||
+ | interface vtnet1 | ||
+ | ipv6 router isis 65002 | ||
+ | isis circuit-type level-2-only | ||
+ | ! | ||
+ | router isis 65002 | ||
+ | | ||
+ | net 47.0023.0000.0000.0000.fdea.0000.0000.0000.0204.00 | ||
+ | | ||
+ | ! | ||
+ | line vty | ||
+ | ! | ||
EOF | EOF | ||
hostname ISIS_R4 | hostname ISIS_R4 | ||
Line 465: | Line 731: | ||
cat > / | cat > / | ||
+ | frr version 7.2 | ||
+ | frr defaults traditional | ||
+ | hostname BGP_R1 | ||
+ | ! | ||
+ | interface lo0 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | interface vtnet0 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | interface vtnet1 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | interface vtnet2 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | router bgp 65000 | ||
+ | bgp router-id 0.0.0.1 | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | ! | ||
+ | | ||
+ | no neighbor 2001: | ||
+ | no neighbor 2001: | ||
+ | no neighbor 2001: | ||
+ | no neighbor 2001: | ||
+ | no neighbor 2001: | ||
+ | | ||
+ | ! | ||
+ | | ||
+ | redistribute connected | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | | ||
+ | ! | ||
+ | ipv6 access-list all seq 5 permit any | ||
+ | ! | ||
+ | ipv6 prefix-list receive_from_65001 seq 100 permit any | ||
+ | ipv6 prefix-list receive_from_65500 seq 100 permit any | ||
+ | ipv6 prefix-list send_to_65001 seq 100 permit any | ||
+ | ipv6 prefix-list send_to_65500 seq 100 permit any | ||
+ | ! | ||
+ | route-map IPv6_Set-Nexthop_65001 permit 65535 | ||
+ | match ipv6 address all | ||
+ | set ipv6 next-hop peer-address | ||
+ | ! | ||
+ | route-map IPv6_Set-Nexthop_65500 permit 65535 | ||
+ | match ipv6 address all | ||
+ | set ipv6 next-hop peer-address | ||
+ | ! | ||
+ | line vty | ||
+ | ! | ||
EOF | EOF | ||
hostname BGP_R1 | hostname BGP_R1 | ||
Line 479: | Line 808: | ||
cat > / | cat > / | ||
+ | frr version 7.2 | ||
+ | frr defaults traditional | ||
+ | hostname BGP_R2 | ||
+ | ! | ||
+ | interface lo0 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | interface vtnet0 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | interface vtnet1 | ||
+ | ipv6 address 2001: | ||
+ | ipv6 nd prefix 2001: | ||
+ | ipv6 nd ra-interval 5 | ||
+ | no ipv6 nd suppress-ra | ||
+ | ! | ||
+ | router bgp 65000 | ||
+ | bgp router-id 0.0.0.2 | ||
+ | | ||
+ | | ||
+ | | ||
+ | ! | ||
+ | | ||
+ | no neighbor 2001: | ||
+ | no neighbor 2001: | ||
+ | no neighbor 2001: | ||
+ | | ||
+ | ! | ||
+ | | ||
+ | redistribute connected | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | | ||
+ | ! | ||
+ | ipv6 access-list all seq 5 permit any | ||
+ | ! | ||
+ | line vty | ||
+ | ! | ||
EOF | EOF | ||
hostname BGP_R2 | hostname BGP_R2 | ||
Line 493: | Line 860: | ||
cat > / | cat > / | ||
+ | frr version 7.2 | ||
+ | frr defaults traditional | ||
+ | hostname BGP_R3 | ||
+ | ! | ||
+ | interface lo0 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | interface vtnet0 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | interface vtnet1 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | router bgp 65000 | ||
+ | bgp router-id 0.0.0.3 | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | ! | ||
+ | | ||
+ | no neighbor 2001: | ||
+ | no neighbor 2001: | ||
+ | no neighbor 2001: | ||
+ | no neighbor 2001: | ||
+ | | ||
+ | ! | ||
+ | | ||
+ | redistribute connected | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | | ||
+ | ! | ||
+ | ipv6 access-list all seq 5 permit any | ||
+ | ! | ||
+ | ipv6 prefix-list receive_from_65002 seq 100 permit any | ||
+ | ipv6 prefix-list send_to_65002 seq 100 permit any | ||
+ | ! | ||
+ | route-map IPv6_Set-Nexthop_65002 permit 65535 | ||
+ | match ipv6 address all | ||
+ | set ipv6 next-hop peer-address | ||
+ | ! | ||
+ | line vty | ||
+ | ! | ||
EOF | EOF | ||
hostname BGP_R3 | hostname BGP_R3 | ||
Line 507: | Line 922: | ||
cat > / | cat > / | ||
+ | frr version 7.2 | ||
+ | frr defaults traditional | ||
+ | hostname BGP_R4 | ||
+ | ! | ||
+ | interface lo0 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | interface vtnet0 | ||
+ | ipv6 address 2001: | ||
+ | ! | ||
+ | router bgp 65000 | ||
+ | bgp router-id 0.0.0.4 | ||
+ | | ||
+ | | ||
+ | | ||
+ | ! | ||
+ | | ||
+ | no neighbor 2001: | ||
+ | no neighbor 2001: | ||
+ | no neighbor 2001: | ||
+ | | ||
+ | ! | ||
+ | | ||
+ | redistribute connected | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | neighbor 2001: | ||
+ | | ||
+ | ! | ||
+ | ipv6 access-list all seq 5 permit any | ||
+ | ! | ||
+ | line vty | ||
+ | ! | ||
EOF | EOF | ||
hostname BGP_R4 | hostname BGP_R4 |
documentation/examples/ipv6_only_bgp_ospf_ripng_isis_lab_frrouting.txt · Last modified: 2021/02/19 17:17 by fabien