Cisco IOS Technologies

Routage ospf multizone ipv6 – Lab

Enable command

15:38:07 2016 Router0 Router>en

Configure Terminal command

Also to be able to configure your router, you need to access the global configuration mode.  So you need to type configure terminal command from privileged EXEC mode

15:38:10 2016 Router0 Router#config t

Hostname command

In order to rename the Router name to RO,  you need to type hostname R0

15:38:30 2016 Router0 Router(config)#hostname R0

Interface  Command

First, a few words about the the interfaces names.

  • The 100Mbits / interfaces are named fastethernet.
  • 1Gbit / interfaces are named gigabitEthernet.
  • 10Gigabit / s interfaces are named TenGigabitEthernet.
  • Port numbers have the following syntax: 0/1 or 1/0/1.

Let setup the network interface 0/0 connected to Router 0(Ro)

15:39:16 2016 Router0 R0(config)#interface fa0/0

Ip address Command

Actually, we will configure the IP address 172.19.1.1 on the interface fastethernet 0/0. Whoever, you need to configure the default gateway.

15:39:35 2016 Router0 R0(config-if)#ip address 172.19.1.1 255.255.255.0

No shutdown Command

Now we setup the fastethernet 0/0, we need to bring the interface up.  With this intention,  the “no shutdown ” command will bring the interface up.

15:39:37 2016 Router0 R0(config-if)#no shu

15:41:37 2016 Router0 R0(config-if)#ipv6 address 2001:DB8:AEC:1::1/64
15:41:59 2016 Router0 R0(config-if)#interface se0/0/0
15:42:30 2016 Router0 R0(config-if)#ip address 172.19.2.1 255.255.255.252
15:42:32 2016 Router0 R0(config-if)#no shu
15:44:06 2016 Router0 R0(config-if)#clock rate 64000
15:44:29 2016 Router0 R0(config-if)#ipv6 address 2001:DB8:AEC:2::1/64
15:45:09 2016 Router0 R0(config-if)#exit
15:47:28 2016 Router0 R0(config)#interface fa0/1
15:48:04 2016 Router0 R0(config-if)#ip address 172.19.2.9 255.255.255.248
15:48:11 2016 Router0 R0(config-if)#no shutdown
15:48:39 2016 Router0 R0(config-if)#ipv6 address 2001:DB8:AEC:5::1/64
15:49:43 2016 Router1 Router>en
15:49:46 2016 Router1 Router#config t
15:49:51 2016 Router1 Router(config)#hostname R1
15:52:06 2016 Router1 R1(config)#interface se0/0/0
15:52:22 2016 Router1 R1(config-if)#ip address 172.19.2.2 255.255.255.252
15:52:24 2016 Router1 R1(config-if)#no shutdown
15:52:37 2016 Router1 R1(config-if)#do ping 172.19.2.1
15:54:50 2016 Router1 R1(config-if)#ipv6 address 2001:DB8:AEC:2::2/64
15:55:09 2016 Router1 R1(config-if)#interface se0/0/1
15:55:23 2016 Router1 R1(config-if)#ip address 172.19.2.5 255.255.255.252
15:55:27 2016 Router1 R1(config-if)#no shutdown
15:55:44 2016 Router1 R1(config-if)#clock rate 64000
15:56:29 2016 Router1 R1(config-if)#ipv6 address 2001:DB8:AEC:8::1/64
15:56:43 2016 Router1 R1(config-if)#exit
15:56:46 2016 Router1 R1(config)#interface fa0/0
15:57:03 2016 Router1 R1(config-if)#ip address 192.168.1.1 255.255.255.0
15:57:08 2016 Router1 R1(config-if)#no shutdown
15:57:30 2016 Router1 R1(config-if)#ipv6 address 2001:DB8:AEC:3::1/64
15:57:59 2016 Router2 Router>en
15:58:32 2016 Router2 Router#config t
15:58:40 2016 Router2 Router(config)#hostname R2
15:59:01 2016 Router2 R2(config)#interface se0/0/1
15:59:23 2016 Router2 R2(config-if)#ip address 172.19.2.6 255.255.255.252
15:59:26 2016 Router2 R2(config-if)#no shutdown
16:00:07 2016 Router2 R2(config-if)#do ping 172.19.2.5
16:00:36 2016 Router2 R2(config-if)#ipv6 address 2001:DB8:AEC:8::2/64
16:00:57 2016 Router2 R2(config-if)#interface fa0/0
16:01:11 2016 Router2 R2(config-if)#ip address 192.168.2.1 255.255.255.0
16:01:14 2016 Router2 R2(config-if)#no shu
16:01:35 2016 Router2 R2(config-if)#ipv6 address 2001:DB8:AEC:4::1/64
16:01:45 2016 Router2 R2(config-if)#interface fa0/1
16:02:20 2016 Router2 R2(config-if)#ip address 172.19.2.10 255.255.255.248
16:02:22 2016 Router2 R2(config-if)#no shu
16:02:47 2016 Router2 R2(config-if)#ipv6 address 2001:DB8:AEC:5::2/64
16:04:30 2016 Router3 Router>en
16:04:33 2016 Router3 Router#config t
16:04:37 2016 Router3 Router(config)#hostname
16:04:43 2016 Router3 Router(config)#hostname R3
16:04:48 2016 Router3 R3(config)#interface fa0/0
16:05:11 2016 Router3 R3(config-if)#ip address 10.1.2.1 255.255.255.0
16:05:15 2016 Router3 R3(config-if)#no shutdown
16:05:36 2016 Router3 R3(config-if)#ipv6 address 2001:DB8:AEC:7::1/64
16:05:52 2016 Router3 R3(config-if)#interface fa0/1
16:06:13 2016 Router3 R3(config-if)#ip address 172.19.2.11 255.255.255.248
16:06:16 2016 Router3 R3(config-if)#no shu
16:06:33 2016 Router3 R3(config-if)#ipv6 address 2001:DB8:AEC:5::3/64
16:06:55 2016 Router3 R3(config-if)#interface eth0/0/0
16:06:58 2016 Router3 R3(config-if)#ip address
16:07:18 2016 Router3 R3(config-if)#ip address 10.1.1.1 255.255.255.0
16:07:29 2016 Router3 R3(config-if)#no shutdown
16:07:46 2016 Router3 R3(config-if)#ipv6 address 2001:DB8:AEC:6::1/64
16:08:29 2016 Router0 R0>en
16:08:31 2016 Router0 R0#config t
16:08:37 2016 Router0 R0(config)#router ospf 1
16:08:51 2016 Router0 R0(config-router)#router-id 10.10.10.10
16:08:56 2016 Router0 R0(config-router)#do sh ip rou
16:09:37 2016 Router0 R0(config-router)#network 172.19.1.0 0.0.0.255 area 40
16:10:18 2016 Router0 R0(config-router)#network 172.19.2.0 0.0.0.3 area 0
16:10:50 2016 Router0 R0(config-router)#network 172.19.2.8 0.0.0.7 area 30
16:12:03 2016 Router0 R0(config-router)#passive-interface fa0/0
16:15:47 2016 Router0 R0(config-router)#do sh inter se0/0/0
16:18:18 2016 Router0 R0(config-router)#interface fa0/1
16:18:24 2016 Router0 R0(config-if)#ip ospf priority ?
16:19:02 2016 Router0 R0(config-if)#ip ospf priority 100
16:19:16 2016 Router0 R0(config-if)#exit
16:19:46 2016 Router0 R0(config)#ipv6 unicast-routing
16:20:13 2016 Router0 R0(config)#ipv6 router ospf 1
16:20:22 2016 Router0 R0(config-rtr)#router-id 10.10.10.10
16:21:10 2016 Router0 R0(config-rtr)#passive-interface fa0/0
16:21:13 2016 Router0 R0(config-rtr)#exit
16:22:33 2016 Router0 R0(config)#interface fa0/0
16:23:47 2016 Router0 R0(config-if)#ipv6 ospf 1 ?
16:23:57 2016 Router0 R0(config-if)#ipv6 ospf 1 area 40
16:24:05 2016 Router0 R0(config-if)#interface fa0/1
16:24:18 2016 Router0 R0(config-if)#ipv6 ospf 1 area 30
16:24:25 2016 Router0 R0(config-if)#interface se0/0/0
16:24:33 2016 Router0 R0(config-if)#ipv6 ospf 1 area 0
16:24:57 2016 Router1 R1>en
16:25:02 2016 Router1 R1#confi t
16:25:17 2016 Router1 R1(config)#router ospf 1
16:25:56 2016 Router1 R1(config-router)#router-id 10.10.10.1
16:26:01 2016 Router1 R1(config-router)#do sh ip route
16:27:20 2016 Router1 R1(config-router)#network 172.19.2.0 0.0.0.3 area 0
16:27:55 2016 Router1 R1(config-router)#network
16:28:14 2016 Router1 R1(config-router)#network 172.19.2.4 0.0.0.3 area 20
16:29:07 2016 Router1 R1(config-router)#network 192.168.1.0 0.0.0.255 area 10
16:29:17 2016 Router1 R1(config-router)#exit
16:29:23 2016 Router1 R1(config)#ipv6 unicast-routing
16:29:31 2016 Router1 R1(config)#ipv6 router ospf 1
16:29:38 2016 Router1 R1(config-rtr)#router-id 10.10.10.1
16:29:45 2016 Router1 R1(config-rtr)#passive-interface fa0/0
16:29:48 2016 Router1 R1(config-rtr)#exit
16:29:54 2016 Router1 R1(config)#interface fa0/0
16:30:08 2016 Router1 R1(config-if)#ipv6 ospf 1 area 10
16:30:21 2016 Router1 R1(config-if)#interface se0/0/0
16:30:34 2016 Router1 R1(config-if)#ipv6 ospf 1 area 0
16:30:41 2016 Router1 R1(config-if)#interface se0/0/1
16:30:53 2016 Router1 R1(config-if)#ipv6 ospf 1 area 20
16:31:23 2016 Router2 R2>en
16:31:26 2016 Router2 R2#config t
16:31:31 2016 Router2 R2(config)#router ospf 1
16:31:44 2016 Router2 R2(config-router)#router-id 10.10.10.20
16:31:51 2016 Router2 R2(config-router)#do sh ip rou
16:32:14 2016 Router2 R2(config-router)#network 172.19.2.4 0.0.0.3 area 20
16:32:56 2016 Router2 R2(config-router)#network 172.19.2.8 0.0.0.7 area 30
16:33:24 2016 Router2 R2(config-router)#network 192.168.2.0 0.0.0.255 area 20
16:33:32 2016 Router2 R2(config-router)#passive-interface fa0/0
16:33:49 2016 Router2 R2(config-router)#exit
16:33:59 2016 Router2 R2(config)#ipv6 unicast-routing
16:34:07 2016 Router2 R2(config)#ipv6 router ospf 1
16:34:18 2016 Router2 R2(config-rtr)#router-id 10.10.10.20
16:34:26 2016 Router2 R2(config-rtr)#passive-interface fa0/0
16:34:32 2016 Router2 R2(config-rtr)#exit
16:34:36 2016 Router2 R2(config)#interface fa0/0
16:34:44 2016 Router2 R2(config-if)#ipv6 ospf 1 area 20
16:34:48 2016 Router2 R2(config-if)#interface fa0/1
16:34:54 2016 Router2 R2(config-if)#ipv6 ospf 1 area 30
16:35:01 2016 Router2 R2(config-if)#interface se0/0/1
16:35:12 2016 Router2 R2(config-if)#ipv6 ospf 1 area 20
16:36:00 2016 Router3 R3>en
16:36:02 2016 Router3 R3#config t
16:36:07 2016 Router3 R3(config)#router ospf 1
16:36:20 2016 Router3 R3(config-router)#router-id 10.10.10.30
16:36:26 2016 Router3 R3(config-router)#do sh ip rou
16:36:52 2016 Router3 R3(config-router)#network 10.1.1.0 0.0.0.255 area 30
16:37:14 2016 Router3 R3(config-router)#network 10.1.2.0 0.0.0.255 area 30
16:37:48 2016 Router3 R3(config-router)#network 172.19.2.8 0.0.0.7 area 30
16:38:36 2016 Router3 R3(config-router)#passive-interface fa0/0
16:38:47 2016 Router3 R3(config-router)#passive-interface eth0/0/0
16:38:58 2016 Router3 R3(config-router)#exit
16:39:04 2016 Router3 R3(config)#ipv6 unicast-routing
16:39:16 2016 Router3 R3(config)#ipv6 router ospf 1
16:39:25 2016 Router3 R3(config-rtr)#router-id 10.10.10.30
16:39:49 2016 Router3 R3(config-rtr)#passive-interface fa0/0
16:40:10 2016 Router3 R3(config-rtr)#passive-interface eth 0/0/0
16:40:31 2016 Router3 R3(config-rtr)#passive-interface ethernet 0/0?
16:40:59 2016 Router3 R3(config-rtr)#exit
16:41:08 2016 Router3 R3(config)#interface fa0/1
16:41:22 2016 Router3 R3(config-if)#ip ospf priority 80
16:41:49 2016 Router3 R3(config-if)#do clear ip ospf process
16:42:28 2016 Router3 R3(config-if)#ipv6 ospf ?
16:42:44 2016 Router0 R0>en
16:42:47 2016 Router0 R0#config t
16:43:41 2016 Router0 R0(config)#interface fa0/1
16:43:49 2016 Router0 R0(config-if)#ipv6 ospf priority 100
16:44:20 2016 Router3 R3(config-if)#ipv6 ospf priority 80
16:44:45 2016 Router3 R3(config-if)#ipv6 ospf 1 area 30
16:45:38 2016 Router3 R3(config-if)#exit
16:45:44 2016 Router3 R3(config)#interface fa0/0
16:45:50 2016 Router3 R3(config-if)#ipv6 ospf 1 area 30
16:46:02 2016 Router3 R3(config-if)#interface eth0/0/0
16:46:04 2016 Router3 R3(config-if)#ipv6 ospf 1 area 30
16:46:22 2016 Router3 R3(config-if)#do sh ip rou
16:51:52 2016 Router3 R3(config-if)#do sh ipv6 rou
16:52:21 2016 Router1 R1>en
16:52:26 2016 Router1 R1#sh ipv6 rou
16:53:04 2016 Router0 R0#sh ipv6 route
16:53:11 2016 Router2 R2>en
16:53:15 2016 Router2 R2#sh ipv6 route
16:53:21 2016 Router3 R3(config-if)#do sh ipv6 rou
16:53:34 2016 Router3 R3#sh ipv6 protocols
16:54:42 2016 Router3 R3#sh ipv6 ospf neighbor
16:55:20 2016 Router3 R3#sh run
16:56:15 2016 Router3 R3#sh ip ospf nei
16:56:30 2016 Router3 R3#clear ipv6 ospf process
16:57:18 2016 Router3 R3#sh ipv6 ospf neighbor
16:58:13 2016 Router3 R3#do sh ipv6 rou
16:58:18 2016 Router3 R3#sh ipv6 rou
16:59:49 2016 Router1 R1#sh ip rou
17:04:56 2016 Router0 R0>en
17:04:58 2016 Router0 R0#config t
17:05:03 2016 Router0 R0(config)#router ospf 1
17:05:11 2016 Router0 R0(config-router)#area 30 ?
17:05:17 2016 Router0 R0(config-router)#area 30 range ?
17:05:50 2016 Router0 R0(config-router)#area 30 range 10.1.0.0 ?
17:06:06 2016 Router0 R0(config-router)#area 30 range 10.1.0.0 255.255.252.0 ?
17:06:08 2016 Router0 R0(config-router)#area 30 range 10.1.0.0 255.255.252.0
17:06:25 2016 Router1 R1#sh ip rou
17:08:44 2016 Router0 R0(config-router)#do sh ipv6 rou
17:09:04 2016 Router1 R1#sh ipv6 rou
17:09:24 2016 Router3 R3>en
17:09:26 2016 Router3 R3#sh run
17:10:51 2016 Router1 R1#clear ipv6 ospf process
17:11:07 2016 Router1 R1#sh ipv6 rou
17:11:23 2016 Router0 R0(config-router)#exit
17:11:36 2016 Router0 R0(config)#ipv6 router ospf 1
17:12:01 2016 Router0 R0(config-rtr)#area 30 range 2001:DB8:AEC:6::/63
17:12:07 2016 Router1 R1#sh ipv6 rou