#configure terminal | Enter configure mode. |
(config)#interface eth1 | Enter interface mode. |
(config-if)#ipv6 address 2000::1/64 | Configure the IPv6 address of the interface. |
(config-if)#ipv6 router ospf area 0 tag proc1 | Configure the interface in an area assigned with the area ID (0) which uniquely identifies the routing process |
(config-if)#exit | Exit interface mode. |
(config)#interface lo | Enter interface mode. |
(config-if)# ipv6 address 1111::1/128 | Configure the IPv6 address of the interface. |
(config-if)# ipv6 address 2222::2/128 | Configure the IPv6 address of the interface. |
(config-if)#exit | Exit interface mode. |
(config)#router ipv6 ospf proc1 | Configure the routing process |
(config-router)#router-id 1.1.1.1 | Configure router-id to uniquely identify the router |
(config-router)#redistribute connected | Redistribute connected routes into ospfv3 |
(config-router)#commit | Commit the candidate configuration to the running configuration. |
(config-router)#end | Exit router mode. |
#configure terminal | Enter configure mode. |
(config)#interface eth1 | Enter interface mode. |
(config-if)#ipv6 address 2000::50/64 | Configure the IPv6 address of the interface |
(config-if)#ipv6 router ospf area 0 tag proc1 | Configure the interface in an area assigned with the area ID (0) which uniquely identifies the routing process |
(config-if)#exit | Exit interface mode |
(config)#interface eth2 | Enter interface mode |
(config-if)#ipv6 address 4000::50/64 | Configure the IPv6 address of the interface. |
(config-if)#exit | Exit interface mode |
(config-if)#ipv6 router rip | Configure rip instance under interface |
(config-if)#exit | Exit interface mode |
(config)#router ipv6 rip | Configure the rip routing process |
(config-router)#neighbor fe80::5054:ff:fe85:19bc eth2 | Configure RIP neighbor peer |
(config-router)#exit | Exit router mode. |
(config)#ipv6 access-list 1 | Configure ipv6 access list |
(config-ipv6-acl)# permit any 7777::/64 any | Configure ipv6 access-list to permit 7777::/64 and deny 8888::/64 |
(config-ipv6-acl)#exit | Exit ipv6 access-list mode |
(config)#ipv6 access-list 2 | Configure ipv6 access-list |
(config-ipv6-acl)#permit any 1111::1/128 any | Configure ipv6 access-list to permit 1111::1/128 and deny 2222::2/128 |
(config-ipv6-acl)#exit | Exit ipv6 access-list mode |
(config)#router ipv6 ospf proc1 | Configure the ospfv3 routing process |
(config-router)#router-id 2.2.2.2 | Configure router-id to uniquely identify the router |
(config-router)#redistribute rip | Redistribute rip routes |
(config-router)#distribute-list 1 out rip | Configure distribute list to allow only the permitted routes redistributed from RIP |
(config-router)#distribute-list 2 in | Configure distribute list to allow the installation of only the permitted OSPFv3 routes in RIB |
(config-router)#exit | Exit router mode |
(config)#ipv6 access-list 1 | Enter access-list mode |
(config-ipv6-acl)#permit any 8888::/64 any | Configure the ipv6 access-list to permit 8888::/64 alongwith 7777::/64 |
(config-ipv6-acl)#exit | Exit access-list mode |
(config)#ipv6 access-list 2 | Enter access-list mode |
(config-ipv6-acl)#permit any 2222::2/128 any | Configure the ipv6 access-list to permit 2222::2/128 alongwith 1111::1/128 |
(config-ipv6-acl)#exit | Exit access-list mode |
(config)#commit | Commit the candidate configuration to the running configuration. |
(config)#exit | Exit configure mode |
#configure terminal | Enter configure mode |
(config)#interface eth1 | Enter interface mode |
(config-if)#ipv6 address 4000::51/64 | Configure the IPv6 address of the interface. |
(config-if)#ipv6 router rip | Configure rip instance under interface |
(config-if)#exit | Exit interface mode |
(config)#router ipv6 rip | Configure the rip routing process |
(config-router)#neighbor fe80::5054:ff:fec6:69f eth1 | Configure rip neighbor peer |
(config-router)#exit | Exit router mode |
(config)#ipv6 route 7777::/64 eth2 | Configure static route |
(config)#ipv6 route 8888::/64 eth3 | Configure static route |
(config)#router ipv6 rip | Configure the rip routing process |
(config-router)#redistribute static | Redistribute configured static routes |
(config-router)#commit | Commit the candidate configuration to the running configuration. |
(config-router)#end | Exit router mode |