■IS-ISのNeighborを確立するのに基本的な設定
IOS-XRの主な設定は以下のとおり
router isis 1 ←IS-ISのプロセスを有効化
net 49.0000.0000.0001.0000.00 ←エリア設定
interface Loopback0 ←I/FでIS-ISを有効化
address-family ipv4 unicast ←Lo0でIS-ISを有効化(IPv4)
interface Loopback6 ←I/FでIS-ISを有効化
address-family ipv6 unicast ←Lo6でIS-ISを有効化(IPv6)
interface GigabitEthernet0/0/0/0 ←I/FでIS-ISを有効化
address-family ipv4 unicast ←IPv4を有効化
address-family ipv6 unicast ←IPv6を有効化
■Configとトポロジーは以下
■XR1
interface Loopback0
ipv4 address 1.1.1.1 255.255.255.255
!
interface Loopback6
ipv6 address 1::1/128
!
interface MgmtEth0/0/CPU0/0
shutdown
!
interface GigabitEthernet0/0/0/0
ipv4 address 12.12.12.1 255.255.255.0
ipv6 address 12::1/64
!
interface GigabitEthernet0/0/0/1
shutdown
!
interface GigabitEthernet0/0/0/2
shutdown
!
router isis 1
net 49.0000.0000.0001.0000.00
interface Loopback0
address-family ipv4 unicast
!
!
interface Loopback6
address-family ipv6 unicast
!
!
interface GigabitEthernet0/0/0/0
address-family ipv4 unicast
!
address-family ipv6 unicast
!
!
end
■XR2
interface Loopback0
ipv4 address 2.2.2.2 255.255.255.255
!
interface Loopback6
ipv6 address 2::2/128
!
interface MgmtEth0/0/CPU0/0
shutdown
!
interface GigabitEthernet0/0/0/0
ipv4 address 12.12.12.2 255.255.255.0
ipv6 address 12::2/64
!
interface GigabitEthernet0/0/0/1
shutdown
!
interface GigabitEthernet0/0/0/2
shutdown
!
router isis 1
net 49.0000.0000.0002.0000.00
interface Loopback0
address-family ipv4 unicast
!
!
interface Loopback6
address-family ipv6 unicast
!
!
interface GigabitEthernet0/0/0/0
address-family ipv4 unicast
!
address-family ipv6 unicast
!
!
end
■Neighbor状態やRIBエントリーは以下のとおり
■XR1
RP/0/0/CPU0:XR1#show isis neighbors detail
IS-IS 1 neighbors:
System Id Interface SNPA State Holdtime Type IETF-NSF
XR2 Gi0/0/0/0 0800.27e2.1a7c Up 9 L1L2 Capable
Area Address(es): 49
IPv4 Address(es): 12.12.12.2*
IPv6 Address(es): fe80::a00:27ff:fee2:1a7c*
Topologies: ‘IPv4 Unicast’ ‘IPv6 Unicast’
Uptime: 00:05:24
Total neighbor count: 1
RP/0/0/CPU0:XR1#show route ipv4 unicast
Codes: C – connected, S – static, R – RIP, B – BGP, (>) – Diversion path
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP
i – ISIS, L1 – IS-IS level-1, L2 – IS-IS level-2
ia – IS-IS inter area, su – IS-IS summary null, * – candidate default
U – per-user static route, o – ODR, L – local, G – DAGR, l – LISP
A – access/subscriber, a – Application route
M – mobile route, r – RPL, (!) – FRR Backup path
Gateway of last resort is not set
L 1.1.1.1/32 is directly connected, 00:16:14, Loopback0
i L1 2.2.2.2/32 [115/20] via 12.12.12.2, 00:04:35, GigabitEthernet0/0/0/0
C 12.12.12.0/24 is directly connected, 00:18:20, GigabitEthernet0/0/0/0
L 12.12.12.1/32 is directly connected, 00:18:20, GigabitEthernet0/0/0/0
RP/0/0/CPU0:XR1#show route ipv6 unicast
Codes: C – connected, S – static, R – RIP, B – BGP, (>) – Diversion path
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP
i – ISIS, L1 – IS-IS level-1, L2 – IS-IS level-2
ia – IS-IS inter area, su – IS-IS summary null, * – candidate default
U – per-user static route, o – ODR, L – local, G – DAGR, l – LISP
A – access/subscriber, a – Application route
M – mobile route, r – RPL, (!) – FRR Backup path
Gateway of last resort is not set
L 1::1/128 is directly connected,
00:16:22, Loopback6
i L1 2::2/128
[115/20] via fe80::a00:27ff:fee2:1a7c, 00:04:43, GigabitEthernet0/0/0/0
C 12::/64 is directly connected,
00:06:55, GigabitEthernet0/0/0/0
L 12::1/128 is directly connected,
00:06:55, GigabitEthernet0/0/0/0
■XR2
RP/0/0/CPU0:XR2#show isis neighbors detail
IS-IS 1 neighbors:
System Id Interface SNPA State Holdtime Type IETF-NSF
XR1 Gi0/0/0/0 0800.2789.8077 Up 29 L1L2 Capable
Area Address(es): 49
IPv4 Address(es): 12.12.12.1*
IPv6 Address(es): fe80::a00:27ff:fe89:8077*
Topologies: ‘IPv4 Unicast’ ‘IPv6 Unicast’
Uptime: 00:06:43
Total neighbor count: 1
RP/0/0/CPU0:XR2#show route ipv4 unicast
Codes: C – connected, S – static, R – RIP, B – BGP, (>) – Diversion path
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP
i – ISIS, L1 – IS-IS level-1, L2 – IS-IS level-2
ia – IS-IS inter area, su – IS-IS summary null, * – candidate default
U – per-user static route, o – ODR, L – local, G – DAGR, l – LISP
A – access/subscriber, a – Application route
M – mobile route, r – RPL, (!) – FRR Backup path
Gateway of last resort is not set
i L1 1.1.1.1/32 [115/20] via 12.12.12.1, 00:06:12, GigabitEthernet0/0/0/0
L 2.2.2.2/32 is directly connected, 00:17:48, Loopback0
C 12.12.12.0/24 is directly connected, 00:19:06, GigabitEthernet0/0/0/0
L 12.12.12.2/32 is directly connected, 00:19:06, GigabitEthernet0/0/0/0
RP/0/0/CPU0:XR2#show route ipv6 unicast
Codes: C – connected, S – static, R – RIP, B – BGP, (>) – Diversion path
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP
i – ISIS, L1 – IS-IS level-1, L2 – IS-IS level-2
ia – IS-IS inter area, su – IS-IS summary null, * – candidate default
U – per-user static route, o – ODR, L – local, G – DAGR, l – LISP
A – access/subscriber, a – Application route
M – mobile route, r – RPL, (!) – FRR Backup path
Gateway of last resort is not set
i L1 1::1/128
[115/20] via fe80::a00:27ff:fe89:8077, 00:06:17, GigabitEthernet0/0/0/0
L 2::2/128 is directly connected,
00:17:53, Loopback6
C 12::/64 is directly connected,
00:07:33, GigabitEthernet0/0/0/0
L 12::2/128 is directly connected,
00:07:33, GigabitEthernet0/0/0/0