47
CISCO CCNA OSPF IPV6 Configuration To watch our C i sco CCNA V i deo Tra i n i ngs P l ease Check out the l i nk be l ow: www . asmed . com/c1 ASM Educational Center Inc. (ASM) Where Training, Technology & Service Converge Phone: (301) 984-7400

Cisco CCNA OSPF IPV6 Configuration

Embed Size (px)

Citation preview

Page 1: Cisco CCNA OSPF IPV6 Configuration

CISCO CCNAOSPF IPV6 ConfigurationTo watch our Cisco CCNA Video Trainings Please Check out the link below:www.asmed.com/c1

ASM Educational Center Inc. (ASM)Where Training, Technology & Service ConvergePhone: (301) 984-7400

Page 2: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration Now I will do small Lab:

 R4=10.10.10.4R10=10.10.10.10 connected via LAN link Also I will have IPV6 as follow: r4 f0/0=2001:4444::4/64r10 f0/0=2001:4444::10/64 Here are the configuration for Basic RouterHint: always start with IPV6?

Page 3: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

R4(config-if)#ipv6 addR4(config-if)#ipv6 address ? WORD General prefix name X:X:X:X::X IPv6 link-local address X:X:X:X::X/<0-128> IPv6 prefix autoconfig Obtain address using autoconfiguration R4(config-if)#ipv6 address 2001:4444::4/64R4(config-if)#

 Hint: same command work on Ipv6

Page 4: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

R1#show ip int brief show ipv6 int brief  show ip route show ipv6 route  show ip ospf int f0/0 show ipv6 ospf int f0/0

Page 5: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

Here is my show ipv6 int brief: R4#show ipv6 int briefFastEthernet0/0 [up/up] FE80::21C:58FF:FE7D:DEC0 2001:4444::4FastEthernet0/1 [administratively down/down] unassignedSerial0/0/0 [up/up] unassignedSerial0/0/0.41 [up/up] unassignedSerial0/1/0 [administratively down/down] unassignedLoopback0 [up/up] unassigned 

Page 6: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

As we see the link-local address which was created automatically by insertingFFFE in the middle of MAC addressLet’s look at mac of int f0/0 R4#show int f0/0FastEthernet0/0 is up, line protocol is up Hardware is MV96340 Ethernet, address is 001c.587d.dec0 (bia 001c.587d.dec0) Internet address is 140.101.108.4/22 MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255

Page 7: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

As we see my MAC address is: 001c.587d.dec0001c.58 7d.dec0

Here is my link-local:FE80::21C:58FF:FE7D:DEC0

Page 8: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

Here is another show commands:R4#show ipv6 int f0/0FastEthernet0/0 is up, line protocol is up IPv6 is enabled, link-local address is FE80::21C:58FF:FE7D:DEC0 Global unicast address(es): 2001:4444::4, subnet is 2001:4444::/64 Joined group address(es): FF02::1 FF02::2 FF02::1:FF00:4

Page 9: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

FF02::1:FF7D:DEC0 MTU is 1500 bytes ICMP error messages limited to one every 100 milliseconds ICMP redirects are enabled ND DAD is enabled, number of DAD attempts: 1 ND reachable time is 30000 millisecondsR4#

Page 10: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

Let’s ping each other:R4#ping 2001:4444::4 Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 2001:4444::4, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 msR4#R4#R4#R4#ping 2001:4444::10

Page 11: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 2001:4444::10, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 msR4#

Page 12: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

Here is my neighbors:R4#show ipv6 neighborsIPv6 Address Age Link-layer Addr State InterfaceFE80::21A:6CFF:FEA1:56F8 1 001a.6ca1.56f8 DELAY Fa0/02001:4444::10 0 001a.6ca1.56f8 REACH Fa0/0 R4#

Page 13: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

Here is my neighbors:R4#show ipv6 neighborsIPv6 Address Age Link-layer Addr State InterfaceFE80::21A:6CFF:FEA1:56F8 1 001a.6ca1.56f8 DELAY Fa0/02001:4444::10 0 001a.6ca1.56f8 REACH Fa0/0 R4#

Page 14: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

Also I can ping the link-local address:R4#ping FE80::21A:6CFF:FEA1:56F8Output Interface: FastEthernet0/0Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to FE80::21A:6CFF:FEA1:56F8, timeout is 2 seconds:Packet sent with a source address of FE80::21C:58FF:FE7D:DEC0!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/4 msR4#

Page 15: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

Now I will configure 4 loopback address on R10; then I willAdvertise them in OSPF; then when I go to R4#show ipv6 route I should see allThose loopback address lo1 FEC0:1000::1/128lo2 FEC0:1000::2/128lo3 FEC0:1000::3/128lo4 FEC0:1000::4/128

Page 16: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

Now I will go and configure OSPF inside the IPv6  Hint: For IPV6 environment; in order to advertise it; you do not go under OSPF section; you will go under int lo1 and etc., and advertised it.Hint: you must enable ipv6 unicast-routingHint: always always remember use ipv6? R4(config)#R4(config)#ipvR4(config)#ipv6 ? access-list Configure access lists cef Cisco Express Forwarding for IPv6 dhcp Configure IPv6 DHCP

Page 17: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

flow-aggregation Configure flow aggregation flow-cache Configure netflow cache parameters flow-capture Capture additional netflow information flow-export Specify host/port to send flow statistics general-prefix Configure a general IPv6 prefix hop-limit Configure hop count limit host Configure static hostnames icmp Configure ICMP parameters inspect Context-based Access Control Engine local Specify local options mfib Multicast Forwarding mobile Mobile IPv6

Page 18: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

multicast-routing Enable IPv6 multicast nat NAT-PT Configuration commands neighbor Neighbor ospf OSPF pim Configure Protocol Independent Multicast port-map Port to application mapping (PAM) configuration commands prefix-list Build a prefix list route Configure static routes router Enable an IPV6 routing process source-route Process packets with source routing header options unicast-routing Enable unicast routing

Page 19: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

R4(config)#ipv6 routR4(config)#ipv6 router ? ospf Open Shortest Path First (OSPF) rip IPv6 Routing Information Protocol (RIPv6) R4(config)#ipv6 router osR4(config)#ipv6 router ospf ? <1-65535> Process ID

Page 20: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

R4(config)#ipv6 router ospf 110 ? <cr>R4(config)#ipv6 router ospf 110% IPv6 routing not enabledR4(config)# Hint: as we see I need to have ipv6 unicast-routing R4(config)#ipv6 uniR4(config)#ipv6 unicast-routingR4(config)#ipv6 router ospf 110R4(config-rtr)#?

Page 21: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

Hint: in order to advertise your network; you must go Under   int f0/0 ipv6?R4(config)#R4(config)#R4(config)#int f0/0R4(config-if)#ipcR4(config-if)#ipR4(config-if)#ipvR4(config-if)#ipv6 ? 

Page 22: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

IPv6 interface subcommands: address Configure IPv6 address on interface cef Cisco Express Forwarding for IPv6 dhcp IPv6 DHCP interface subcommands enable Enable IPv6 on interface flow Enable IPv6 Flow on the interface inspect Apply inspect name mfib Interface Specific MFIB Control mld interface commands mobile Mobile IPv6 mtu Set IPv6 Maximum Transmission Unit

Page 23: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

multicast multicast nat Enable IPv6 NAT on interface nd IPv6 interface Neighbor Discovery subcommands ospf OSPF interface commands pim PIM interface commands policy Enable IPv6 policy routing redirects Enable sending of ICMP Redirect messages rip Configure RIP routing protocol router IPv6 Router interface commands traffic-filter Access control list for packets unnumbered Preferred interface for source address selection verify Enable per packet validation virtual-reassembly IPv6 Enable Virtual Fragment Reassembly

Page 24: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

R4(config-if)#ipv6 opsR4(config-if)#ipv6 osR4(config-if)#ipv6 ospf ? <1-65535> Process ID authentication Enable authentication cost Interface cost database-filter Filter OSPF LSA during synchronization and flooding dead-interval Interval after which a neighbor is declared dead demand-circuit OSPF demand circuit flood-reduction OSPF Flood Reduction hello-interval Time between HELLO packets mtu-ignore Ignores the MTU in DBD packets

Page 25: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

neighbor OSPF neighbor network Network type priority Router priority retransmit-interval Time between retransmitting lost link state advertisements transmit-delay Link state transmit delay R4(config-if)#ipv6 ospf 110 ? area Set the OSPF area ID R4(config-if)#ipv6 ospf 110 areR4(config-if)#ipv6 ospf 110 area ?

Page 26: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

<0-4294967295> OSPF area ID as a decimal value A.B.C.D OSPF area ID in IP address format R4(config-if)#ipv6 ospf 110 area 0 ? instance Set the OSPF instance <cr> R4(config-if)#ipv6 ospf 110 area 0

Page 27: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

Here is my show run on r10:R10#show run ipv6 unicast-routing interface Loopback1 ip address 140.101.170.11 255.255.255.255 ipv6 address FEC0:1000::1/128 ipv6 ospf 110 area 0

Page 28: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

!interface Loopback2 ip address 140.101.170.12 255.255.255.255 ipv6 address FEC0:1000::2/128 ipv6 ospf 110 area 0!interface Loopback3 ip address 140.101.170.13 255.255.255.255 ipv6 address FEC0:1000::3/128 ipv6 ospf 110 area 0!

Page 29: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

interface Loopback4 ip address 140.101.170.14 255.255.255.255 ipv6 address FEC0:1000::4/128 ipv6 ospf 110 area 0  ipv6 router ospf 110 log-adjacency-changes 

Page 30: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

Now I go to R4# show ipv6 routeI do not see any ospf why?R4#show ipv6 rouR4#show ipv6 routeIPv6 Routing Table - 4 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGP U - Per-user Static route I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2

Page 31: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2C 2001:4444::/64 [0/0] via ::, FastEthernet0/0L 2001:4444::4/128 [0/0] via ::, FastEthernet0/0L FE80::/10 [0/0] via ::, Null0L FF00::/8 [0/0] via ::, Null0Hint: Since I need to advertised my OSPF under int f0/0 ( LAN section) so that they can send hello packet to each other

Page 32: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

R10#R10#config tEnter configuration commands, one per line. End with CNTL/Z.R10(config)#int f0/0R10(config-if)#ipvR10(config-if)#ipv6 osR10(config-if)#ipv6 ospf ? <1-65535> Process ID authentication Enable authentication

Page 33: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

cost Interface cost database-filter Filter OSPF LSA during synchronization and flooding dead-interval Interval after which a neighbor is declared dead demand-circuit OSPF demand circuit flood-reduction OSPF Flood Reduction hello-interval Time between HELLO packets mtu-ignore Ignores the MTU in DBD packets neighbor OSPF neighbor network Network type priority Router priority retransmit-interval Time between retransmitting lost link state advertisements

Page 34: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

transmit-delay Link state transmit delay R10(config-if)#ipv6 ospf 110 ? area Set the OSPF area ID R10(config-if)#ipv6 ospf 110 are ~R10(config-if)#ipv6 ospf 110 areR10(config-if)#ipv6 ospf 110 area 0 AS SOON AS I DO THIS; I SEE some activity in R4

Page 35: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

R4#*Feb 25 01:19:33.199: %OSPFv3-5-ADJCHG: Process 110, Nbr 140.101.170.14 on FastEthernet0/0 from LOADING to FULL, Loading DoneR4# Now i will go to R4# show ipv6 routeR4#show ipv6 routeIPv6 Routing Table - 8 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGP U - Per-user Static route I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2

Page 36: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

C 2001:4444::/64 [0/0] via ::, FastEthernet0/0L 2001:4444::4/128 [0/0] via ::, FastEthernet0/0L FE80::/10 [0/0] via ::, Null0O FEC0:1000::1/128 [110/1] via FE80::21A:6CFF:FEA1:56F8, FastEthernet0/0

Page 37: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

O FEC0:1000::2/128 [110/1] via FE80::21A:6CFF:FEA1:56F8, FastEthernet0/0O FEC0:1000::3/128 [110/1] via FE80::21A:6CFF:FEA1:56F8, FastEthernet0/0O FEC0:1000::4/128 [110/1] via FE80::21A:6CFF:FEA1:56F8, FastEthernet0/0L FF00::/8 [0/0] via ::, Null0R4# As we see I see all the OPSF so life is good

Page 38: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

via ::, Null0R4#ping FEC0:1000::1 Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to FEC0:1000::1, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/4 msR4#ping FEC0:1000::2

Page 39: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to FEC0:1000::2, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/4 msR4#ping FEC0:1000::3 Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to FEC0:1000::3, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/4 msR4#ping FEC0:1000::4

Page 40: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to FEC0:1000::4, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/4 msR4#

Page 41: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

As we i can ping all the loopback addressLet’s look at some show commands:R10#show ipv6 ospf neighbor

0R10#Here is R4#R4#show ipv6 ospf neighbor

0R4#

Neighbor ID

Pri   State

Dead Time

Interface ID

Interface

4.4.4.4

1   FULL/DR

00:00:34

4 FastEthernet0/

Neighbor ID

Pri State

Dead Time

Interface ID

Interface

140.101.170.14

1 FULL/BDR

00:00:31 4 FastEthernet0/

Page 42: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

As we see the router-ID for the R10 = 140.101.170.14 ( it picked the highest lookback address)I can also hard code the route-Id You must do it under the:R10#ipv6 router ospf 110

Page 43: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

R10(config)#ipv6 router ospf 110R10(config-rtr)#roptR10(config-rtr)#rooyR10(config-rtr)#roR10(config-rtr)#router-id 10.10.10.10Reload or use "clear ipv6 ospf process" command, for this to take effectR10(config-rtr)#

Page 44: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

As we see in order to take it I need to clear itR10#clear ipv6 ospf proR10#clear ipv6 ospf processReset ALL OSPF processes? [no]: yR10#Let’s check on R4R4#show ipv6 ospf neighbor

 R4#

Neighbor ID

Pri State

Dead Time

Interface ID

Interface

10.10.10.10

1 FULL/BDR

00:00:37 4 FastEthernet0/0

Page 45: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

As we see in above R4 is DR since I do not see myselfRemember we had this: R1#show ip ospf int f0/0

Same commands in ipv6:R4#show ipv6 ospf int f0/0FastEthernet0/0 is up, line protocol is up Link Local Address FE80::21C:58FF:FE7D:DEC0, Interface ID 4 Area 0, Process ID 110, Instance ID 0, Router ID 4.4.4.4 Network Type BROADCAST, Cost: 1

Page 46: Cisco CCNA OSPF IPV6 Configuration

OSPF IPV6 Configuration

Adjacent with neighbor 10.10.10.10 (Backup Designated Router) Suppress hello for 0 neighbor(s)R4# As we see in above R4# Dr and router-id 4.4.4.4network =brodcastBDR=R10 

Page 47: Cisco CCNA OSPF IPV6 Configuration

ASM Educational Center Inc. (ASM)Where Training, Technology & Service Converge

To watch our Cisco CCNA Video Trainings Please Check out the link below:www.asmed.com/c1Phone: (301) 984-7400