Created
December 23, 2016 15:08
-
-
Save plajjan/efd41497bd84abcfadbe5ed583a71e6f to your computer and use it in GitHub Desktop.
XR config for simple ISIS topology
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Start three XR routers: | |
kll@htpc:~$ docker run --privileged -i -t -d --name xr1 vr-xrv:6.0.1 | |
1d520dde91768a6dc2ee24873f46e3045b2c805e322d3556288080be9a9f6165 | |
kll@htpc:~$ docker run --privileged -i -t -d --name xr2 vr-xrv:6.0.1 | |
15a26c2ea190bd02df952ab90271b865811a1fdbcf9b4626da868297e9f0214f | |
kll@htpc:~$ docker run --privileged -i -t -d --name xr3 vr-xrv:6.0.1 | |
059ea393bbc90c79c51cba79fa3f1c1dbc4e4dedbddf742f1f92400c6407847e | |
kll@htpc:~$ | |
Connect them together, the first interface on xr1 goes to the first interface | |
on xr2 and the second interface on xr1 goes to xr3: | |
kll@htpc:~$ docker run --privileged -i -t -d --link xr1 --link xr2 --link xr3 vr-xcon --p2p xr1/1--xr2/1 xr1/2--xr3/1 | |
21d81d1155a7bd3940c7e169d223ad4604a646e0ec779e43f93882d9371d0f3a | |
Log in to the routers over the virtual serial interface by telnet to port 5000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hostname xr1 | |
interface GigabitEthernet0/0/0/0 | |
description link to xr2 [GigabitEthernet0/0/0/0] | |
ipv4 address 192.168.1.1 255.255.255.252 | |
! | |
interface GigabitEthernet0/0/0/1 | |
description link to xr3 [GigabitEthernet0/0/0/0] | |
ipv4 address 192.168.2.1 255.255.255.252 | |
! | |
router isis 1 | |
net 47.0000.0000.0001.00 | |
address-family ipv4 unicast | |
! | |
interface GigabitEthernet0/0/0/0 | |
address-family ipv4 unicast | |
! | |
! | |
interface GigabitEthernet0/0/0/1 | |
address-family ipv4 unicast | |
! | |
! | |
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RP/0/0/CPU0:xr1#sh isis neighbors | |
Fri Dec 23 15:08:27.072 UTC | |
IS-IS 1 neighbors: | |
System Id Interface SNPA State Holdtime Type IETF-NSF | |
xr2 Gi0/0/0/0 5254.009b.df01 Up 8 L1L2 Capable | |
xr3 Gi0/0/0/1 5254.0075.d401 Up 26 L1L2 Capable | |
Total neighbor count: 2 | |
RP/0/0/CPU0:xr1# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hostname xr2 | |
interface GigabitEthernet0/0/0/0 | |
description link to xr1 [GigabitEthernet0/0/0/0] | |
ipv4 address 192.168.1.2 255.255.255.252 | |
! | |
router isis 1 | |
net 47.0000.0000.0002.00 | |
address-family ipv4 unicast | |
! | |
interface GigabitEthernet0/0/0/0 | |
address-family ipv4 unicast | |
! | |
! | |
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hostname xr3 | |
interface GigabitEthernet0/0/0/0 | |
description link to xr1 [GigabitEthernet0/0/0/1] | |
ipv4 address 192.168.2.2 255.255.255.252 | |
! | |
router isis 1 | |
net 47.0000.0000.0003.00 | |
address-family ipv4 unicast | |
! | |
interface GigabitEthernet0/0/0/0 | |
address-family ipv4 unicast | |
! | |
! | |
! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment