OcNOS-SP : Layer 3 Guide : Layer 3 Unicast Configuration Guide : IS-IS IPv6 Configuration : Redistribute Routes into IS-IS
Redistribute Routes into IS-IS
In this example, the configuration causes OSPFv3 routes to be imported into the IS-ISv6 routing table, and advertised into the ABC instance.
 
Topology
Figure 14-117: Redistribute Routes into IS-IS
Configuration
R1
 
#configure terminal
Enter configure mode.
(config)#interface eth1
Enter interface mode.
(config-if)#ipv6 router isis ABC
Enable IS-ISv6 routing on an interface for area 49(ABC).
(config-if)#ipv6 address 1000::1/64
Configure IPv6 address on interface.
(config-if)#commit
Commit candidate configuration to the running configuration
(config-if)#exit
Exit interface mode.
(config)#router isis ABC
Create an IS-IS routing instance for area 49 (ABC).
(config-router)#is-type level-2-only
Configure instance as level-2-only routing.
(config-router)#net 49.0005.0000.0000.0001.00
Set a Network Entity Title for this instance, specifying the area address and the system ID.
(config-router)#commit
Commit candidate configuration to the running configuration
R2
 
#configure terminal
Enter configure mode.
(config)#interface eth1
Enter interface mode.
(config-if)#ipv6 router isis ABC
Enable IS-ISv6 routing on an interface for area 49(ABC).
(config-if)#ipv6 address 1000::2/64
Configure IPv6 address on interface.
(config-if)#commit
Commit candidate configuration to the running configuration
(config-if)#exit
Exit interface mode.
(config)#interface eth2
Enter interface mode.
(config-if)#ipv6 router ospf area 0
Enable OSPFv3 routing on an interface and assign the Area ID 0.
(config-if)#ipv6 address 2000::1/64
Configure IPv6 address on interface.
(config-if)#commit
Commit candidate configuration to the running configuration
(config-if)#exit
Exit interface mode.
(config)#router isis ABC
Create an IS-IS routing instance for area 49 (ABC).
(config-router)#is-type level-2-only
Configure instance as level-2-only routing.
(config-router)#net 49.0005.0000.0000.0002.00
Set a Network Entity Title for this instance, specifying the area address and the system ID.
(config-router)#address-family ipv6
Enter 'address-family ipv6' mode, where users can configure IPv6 routing specific configuration
(config-router-af)#redistribute ospf
Enable redistribution of routes from ospf into the ISIS routing table.
(config-router-af)# exit-address-family
Exit address family mode.
(config-router)#commit
Commit candidate configuration to the running configuration
(config-router)#exit
Exit router mode.
(config)#router ipv6 ospf
Create an OSPFv3 routing instance.
(config-router)#router-id 2.2.2.2
Specify a Router ID (2.2.2.2) for the OSPFv3 routing process.
(config-router)#end
Exit the current mode and enter privilege mode.
R3
#configure terminal
Enter configure mode.
(config)#interface eth2
Enter interface mode.
(config-if)#ipv6 router ospf area 0
Enable OSPFv3 routing on an interface and assign the Area ID 0.
(config-if)#ipv6 address 2000::2/64
Configure IPv6 address on interface.
(config-if)#commit
Commit candidate configuration to the running configuration
(config-if)#exit
Exit interface mode.
(config)#router ipv6 ospf
Create an OSPFv3 routing instance.
(config-router)#router-id 3.3.3.3
Specify a Router ID (3.3.3.3) for the OSPFv3 routing process.
(config-router)#commit
Commit candidate configuration to the running configuration
(config-router)#end
Exit the current mode and enter privilege mode.
Validation
R1#show clns neighbors
 
Total number of L1 adjacencies: 0
Total number of L2 adjacencies: 1
Total number of adjacencies: 1
Tag ABC: VRF : default
System Id Interface SNPA State Holdtime Type Protocol
0000.0000.0002 eth1 b86a.97c4.31c5 Up 27 L2 IS-IS
R1#
 
R2#show clns neighbors
 
Total number of L1 adjacencies: 0
Total number of L2 adjacencies: 1
Total number of adjacencies: 1
Tag ABC: VRF : default
System Id Interface SNPA State Holdtime Type Protocol
0000.0000.0001 eth1 b86a.97cb.3ec5 Up 8 L2 IS-IS
R2#
 
R2#show ipv6 ospf neighbor
 
Total number of full neighbors: 1
OSPFv3 Process (*null*)
Neighbor ID Pri State Dead Time Interface Instance ID
3.3.3.3 1 Full/DR 00:00:34 eth2 0
R2#
 
 
R1#show ipv6 route isis
IP Route Table for VRF "default"
i L2 2000::/64 [115/10] via fe80::ba6a:97ff:fec4:31c5, eth1, 00:21:19
R1#
 
 
R1#show ipv6 route
IPv6 Routing Table
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
IA - OSPF inter area, E1 - OSPF external type 1,
E2 - OSPF external type 2, E - EVPN N1 - OSPF NSSA external type 1,
N2 - OSPF NSSA external type 2, i - IS-IS, B - BGP
Timers: Uptime
 
IP Route Table for VRF "default"
C ::1/128 via ::, lo, 01:33:07
C 1000::/64 via ::, eth1, 01:13:36
i L2 2000::/64 [115/10] via fe80::ba6a:97ff:fec4:31c5, eth1, 00:21:29
C fe80::/64 via ::, xe8, 00:39:44
R1#
Last modified date: 10/16/2023