19 IP - NAST3059 - E01 - 1-ZXR10 M6000 OSPFv3 Configuration (V2.00.20) - 30p

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 30

ZXR10 M6000

OSPF v3 Configuration
(V2.00.20)
Objectives

n Master the configuration process of the OSPFv3


n Master the maintenance method of the OSPFv3

© ZTE All rights reserved 2


Contents

n OSPF v3 Configuration
n OSPF v3 Configuration Example

3
Ipv6 OSPF Configuration Steps (1)
n Enable ipv6 OSPF routing process

ZXR10(config)# ipv6 router ospf < process-id>

n Configure router-id of router

ZXR10(config-ospfv3-process-id)#router-id < ip-address>

Only when set router-id ,the router process can be working normally
n ipv6 OSPF protocol enabled on the interface and set area id to the interface

ZXR10(config-ospfv3-process-id)#interface <interface-name>[area<areaid>][instance<0~255>]
n Redistribution of ipv6 routes

ZXR10(config-ospfv3-process-id)#redistribute <protocol>[metric <metric-value>][metric-type


<type>][route-map<name>][tag <number>]

n Configure summarized prefix on ASBR

ZXR10(config-ospfv3-process-id)#summary-prefix <X:X::X:X/<0-128>>
n Configure area summarized prefix of ipv6 OSPF on ABR

ZXR10(config-ospfv3-process-id)#area <area-id> range X:X::X:X/<0-128>


[advertise | not-advertise]

© ZTE All rights reserved 4


Ipv6 OSPF Configuration Steps (2)

n Configure the interface cost


ZXR10(config-ospfv3-process-id-if-interface name)#cost <cost-value>

n Configure the interface priority

ZXR10(config-ospfv3-process-id-if interface-name)#priority <value>

n Configure load balancing of ipv6 OSPF route

ZXR10(config-ospfv3-process-id)#maximum-paths <number>
ZXR10(config)#interface <interface-name>
ZXR10(config-if-interface-name)#load-sharing bandwidth <bandwidth-value>

© ZTE All rights reserved 5


OSPF Configuration Steps (2)
n Define an area as stub area or totally stubby area

ZXR10(config-ospfv3-process-id)#area <area-id> stub[no-summary]

n Show ipv6 OSPF neighbor information

ZXR10# show ipv6 ospf neighbor

n Show ipv6 OSPF interface

ZXR10# show ipv6 ospf interface

n Show OSPF database

ZXR10# show ipv6 ospf database


n
Show ipv6 ospf instance information

ZXR10(config)#show ipv6 ospf <process-id>

© ZTE All rights reserved 6


Contents

n OSPF v3 Configuration
n OSPF v3 Configuration Example

7
OSPF v3 Configuration Example

Ospf v3 configuration steps


Step1:set ipv6 ip address
Step2:enable ipv6 ospf process
Step3:enable ipv6 ospf on the interface and configure area id

© ZTE All rights reserved 8


OSPF v3 Configuration Example– R1
R1:Configure the ipv6 address and enable ipv6 ospf process, loopback address
and physical address are enable ipv6 ospf and set area as 0

R1(config)# interface loopback5 R1(config)#ipv6 router ospf 1


R1(config-if-loopback5)#ipv6 enable R1(config-ospfv3-1)#router-id
R1(config-if-loopback5)#ipv6 address 11.11.11.11
3555::52/64 R1(config-ospfv3-1)#interface gei-
R1(config-if-loopback5)#exit 0/3/0/6 area 0

R1(config)#interface gei-0/3/0/6 R1(config-ospfv3-1-if-gei-0/3/0/6)#exit

R1(config-if-gei-0/3/0/6)#no shutdown R1(config-ospfv3-1)#interface loopback5


area 0
R1(config-if-gei-0/3/0/6)#ipv6 enable
R1(config-ospfv3-1-if-loopback5)#exit
R1(config-if-gei-0/3/0/6)#ipv6 address
3611::11/64 R1(config-ospfv3-1)#exit

R1(config-if-gei-0/3/0/6)#exit

© ZTE All rights reserved 9


OSPF Area Configuration Example – R2
R2:Configure the ipv6 address and enable ipv6 ospf process, loopback
address
and physical address are enable ipv6 ospf and set area as 0
R2(config)#interface gei-0/1/1/3
R2(config-if-gei-0/1/1/3)#no shutdown R2(config)#ipv6 router ospf 1

R2(config-if-gei-0/1/1/3)#ipv6 enable R2(config-ospfv3-1)#router-id 10.10.10.10

R2(config-if-gei-0/1/1/3)#ipv6 address R2(config-ospfv3-1)#interface gei-0/1/1/3


3611::10/64 area 0

R2(config-if-gei-0/1/1/3)#exit R2(config-ospfv3-1-if-gei-0/1/1/3)#exit

R2(config)#interface loopback5 R2(config-ospfv3-1)#interface loopback5 area


0
R2(config-if-loopback5)#ipv6 enable
R2(config-ospfv3-1-if-loopback5)#exit
R2(config-if-loopback5)#ipv6 address
3550::55/64 R2(config-ospfv3-1)#exit

R2(config-if-loopback5)#exit

© ZTE All rights reserved 10


Show ipv6 ospf information – R1

R1(config)#show ipv6 ospf neighbor


OSPFv3 Process 1
Neighbor ID Pri State Dead Time Interface ID Interface
11.11.11.11 1 FULL/BDR 00:00:35 46 gei-0/3/0/6

R1#show ipv6 forwarding route 3550::55


IPv6 Routing Table:
Headers: Dest: Destination, Gw: Gateway, Pri: Priority;
Codes : K: kernel, I1: isis-l1, SFN: sf-nat64, R: ripng, AF: aftr, B: bgp,
D: direct, I2: isis-l2, SLN: sl-nat64, O: ospfv3, D6: dhcp, P: ppp
S: static, N: nd, V: vrrp, A: address, M: multicast, UI: user-ipaddr;
Dest Interface Pri Gw Owner
Metric
3550::55/128 gei-0/3/0/6 110 fe80:12::2d0:d0ff:feaf:cc10 O
1
© ZTE All rights reserved 11
Show ipv6 ospf information – R2

R2(config)#show ipv6 ospf neighbor


OSPFv3 Process 1
Neighbor ID Pri State Dead Time Interface ID Interface
10.10.10.10 1 FULL/BDR 00:00:37 18 gei-0/1/1/3

R2#show ipv6 forwarding route 3550::52


IPv6 Routing Table:
Headers: Dest: Destination, Gw: Gateway, Pri: Priority;
Codes : K: kernel, I1: isis-l1, SFN: sf-nat64, R: ripng, AF: aftr, B: bgp,
D: direct, I2: isis-l2, SLN: sl-nat64, O: ospfv3, D6: dhcp, P: ppp
S: static, N: nd, V: vrrp, A: address, M: multicast, UI: user-ipaddr;
Dest Interface Pri Gw Owner
Metric
3555::52/128 gei-0/1/1/3 110 fe80:2e::2d0:d0ff:fe78:99dd O
1
© ZTE All rights reserved 12
Integrated configuration example of ipv6 OSPF

A. Redistribution Configuration example of IPV6 OSPF

© ZTE All rights reserved 13


Integrated configuration example of ipv6 OSPF

A. Redistribution Configuration steps of IPV6 OSPF


Step1:configure the loopback address, and interface address

Step2:enable ipv6 OSPF process


Step3:configure router-id and interface enables ipv6 OSPF

Step4:redistribute the connect route to OSPF area

© ZTE All rights reserved 14


Integrated configuration example of ipv6 OSPF

A. Redistribution Configuration of IPV6 OSPF---R1

R1(config)#interface fei-0/0/0/7 R1(config)#ipv6 router ospf 1


R1(config-if-fei-0/0/0/7)#no shutdown R1(config-ospfv3-1)#router-id 11.11.11.11
R1(config-if-fei-0/0/0/7)#ipv6 enable R1(config-ospfv3-1)#interface fei-0/0/0/7
R1(config-if-fei-0/0/0/7)#ipv6 address area 0
3611::11/64 R1(config-ospfv3-1)#redistribute connected
R1(config-if-fei-0/0/0/7)#exit R1(config-ospfv3-1)#exit

R1(config)#interface loopback5
R1(config-if-loopback5)#ipv6 enable
R1(config-if-loopback5)#ipv6 address
3555::52/64
R1(config-if-loopback5)#exit

© ZTE All rights reserved 15


Integrated configuration example of ipv6 OSPF

A. IPV6 OSPF Configuration -----R2

R2(config)#interface fei-0/0/0/7 R2(config)#interface loopback5


R2(config-if-fei-0/0/0/7)#no shutdown R2(config-if-loopback5)#ipv6 enable
R2(config-if-fei-0/0/0/7)#ipv6 enable R2(config-if-loopback5)#ipv6 address
3550::52/64
R2(config-if-fei-0/0/0/7)#ipv6 address
3611::10/64 R2(config-if-loopback5)#exit
R2(config-if-fei-0/0/0/7)#exit R2(config)#ipv6 router ospf 1
R2(config)#interface fei-0/0/0/8 R2(config-ospfv3-1)#router-id 10.10.10.10
R2(config-if-fei-0/0/0/8)#no shutdown R2(config-ospfv3-1)#interface fei-0/0/0/7
area 0
R2(config-if-fei-0/0/0/8)#ipv6 enable
R2(config-ospfv3-1)# interface fei-0/0/0/8
R2(config-if-fei-0/0/0/8)#ipv6 address
area 10
2352::52/64
R2(config-ospfv3-1)#interface loopback5
R2(config-if-fei-0/0/0/8)#exit
area 0

16
R2(config-ospfv3-1)#exit
© ZTE All rights reserved
Integrated configuration example of ipv6 OSPF

A. IPV6 OSPF Configuration -----R3

R3(config)#interface loopback5 R3(config)#ipv6 router ospf 1


R3(config-if-loopback5)#ipv6 enable R3(config-ospfv3-1)#router-id 1.1.1.5
R3(config-if-loopback5)#ipv6 address R3(config-ospfv3-1)#interface fei-0/0/0/8 area
3500::55/64 10
R3(config-if-loopback5)#exit R3(config-ospfv3-1-if-fei-0/0/0/8)#exit
R3(config)#interface fei-0/0/0/8 R3(config-ospfv3-1)#interface loopback5 area 10
R3(config-if-fei-0/0/0/8)#no shutdown R3(config-ospfv3-1-if-loopback5)#exit
R3(config-if-fei-0/0/0/8)#ipv6 enable
R3(config-if-fei-0/0/0/8)#ipv6 address
2352::55/64
R3(config-if-fei-0/0/0/8)#exit

© ZTE All rights reserved 17


Integrated configuration example of ipv6 OSPF
Show ipv6 ospf neighbor information on R1
R1(config)#show ipv6 ospf neighbor
OSPFv3 Process 1
Neighbor ID Pri State Dead Time Interface ID Interface
10.10.10.10 1 FULL/BDR 00:00:35 19 fei-0/0/0/7

Show the ipv6 route information on R1


R1(config)#show ipv6 forwarding route 3500::55
IPv6 Routing Table:
Headers: Dest: Destination, Gw: Gateway, Pri: Priority;
Codes : K: kernel, I1: isis-l1, SFN: sf-nat64, R: ripng, AF: aftr, B: bgp,
D: direct, I2: isis-l2, SLN: sl-nat64, O: ospfv3, D6: dhcp, P: ppp,
S: static, N: nd, V: vrrp, A: address, M: multicast, UI: user-ipaddr;
Dest Interface Pri Gw Owner
Metric
3500::55/128 fei-0/0/0/7 110 fe80::222:93ff:fe54:6c1f O 2

© ZTE All rights reserved 18


Integrated configuration example of ipv6 OSPF
Show ipv6 ospf neighbor information on R2
R2(config)#show ipv6 ospf neighbor
OSPFv3 Process 1
Neighbor ID Pri State Dead Time Interface ID Interface
11.11.11.11 1 FULL/DR 00:00:37 19 fei-0/0/0/7
1.1.1.5 1 FULL/BDR 00:00:34 22 fei-0/0/0/8

Show the ipv6 route information on R2


R2(config)#show ipv6 forwarding route 3555::52
IPv6 Routing Table:
Headers: Dest: Destination, Gw: Gateway, Pri: Priority;
Codes : K: kernel, I1: isis-l1, SFN: sf-nat64, R: ripng, AF: aftr, B: bgp,
D: direct, I2: isis-l2, SLN: sl-nat64, O: ospfv3, D6: dhcp, P: ppp,
S: static, N: nd, V: vrrp, A: address, M: multicast, UI: user-ipaddr;
Dest Interface Pri Gw Owner Metric
3555::/64 fei-0/0/0/7 110 fe80::222:93ff:fe54:48a1 O 20

© ZTE All rights reserved 19


Integrated configuration example of ipv6 OSPF
Show ipv6 ospf neighbor information on R3
R26#show ipv6 ospf neighbor
OSPFv3 Process 1
Neighbor ID Pri State Dead Time Interface ID Interface
10.10.10.10 1 FULL/DR 00:00:35 20 fei-0/0/0/8

Show the ipv6 route information on R3


R26#show ipv6 forwarding route 3555::52
IPv6 Routing Table:
Headers: Dest: Destination, Gw: Gateway, Pri: Priority;
Codes : K: kernel, I1: isis-l1, SFN: sf-nat64, R: ripng, AF: aftr, B: bgp,
D: direct, I2: isis-l2, SLN: sl-nat64, O: ospfv3, D6: dhcp, P: ppp,
S: static, N: nd, V: vrrp, A: address, M: multicast, UI: user-ipaddr;
Dest Interface Pri Gw Owner Metric
3555::/64 fei-0/0/0/8 110 fe80::222:93ff:fe54:6c1f O 20

© ZTE All rights reserved 20


Integrated configuration example of ipv6 OSPF

Ping ipv6 address on R1


R1#ping 6 3500::55/64
sending 5,100-byte ICMP echo(es) to 3500:0:0:0:0:0:0:55,timeout is 2 second(s).
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 1/1/2 ms

Ping ipv6 address on R2


R28#ping 6 3555::52
sending 5,100-byte ICMP echo(es) to 3555:0:0:0:0:0:0:52,timeout is 2 second(s).
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 1/1/3 ms.

Ping ipv6 address on R3


R26#ping 6 3555::52
sending 5,100-byte ICMP echo(es) to 3555:0:0:0:0:0:0:52,timeout is 2 second(s).
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 2/2/4 ms.
© ZTE All rights reserved 21
Integrated configuration example of ipv6 OSPF

B. load balancing Configuration example of IPV6 OSPF

© ZTE All rights reserved 22


Integrated configuration example of ipv6 OSPF

B. load balancing Configuration steps of IPV6 OSPF


Based on Part A examples, the load balancing configuration steps as follows:

Step1:configure the ipv6 address

Step2:interface enables ipv6 ospf

Step3:configure the maximum path of ipv6 ospf

© ZTE All rights reserved 23


Integrated configuration example of ipv6 OSPF

B. load balancing Configuration steps of IPV6 OSPF

R2 configuration R3 configuration

R2(config)#interface fei-0/0/0/6 R3(config)#interface fei-0/0/0/6


R2(config-if-fei-0/0/0/6)#no shutdown R3(config-if-fei-0/0/0/6)#no shutdown
R2(config-if-fei-0/0/0/6)#ipv6 enable R3(config-if-fei-0/0/0/6)#ipv6 enable
R2(config-if-fei-0/0/0/6)#ipv6 address 2005::2/64 R3(config-if-fei-0/0/0/6)#ipv6 address 2005::1/64
R2(config-if-fei-0/0/0/6)#exit R3(config-if-fei-0/0/0/6)#exit
R2(config)#ipv6 router ospf 1 R3(config)#ipv6 router ospf 1
R2(config-ospfv3-1)#interface fei-0/0/0/6 area 10 R3(config-ospfv3-1)#interface fei-0/0/0/6 area 10
R2(config-ospfv3-1-if-fei-0/0/0/6)#exit R3(config-ospfv3-1-if-fei-0/0/0/6)#exit
R2(config-ospfv3-1)#maximum-paths 2 R3(config-ospfv3-1)#maximum-paths 2
R2(config-ospfv3-1)#exit R3(config-ospfv3-1)#exit

© ZTE All rights reserved 24


Integrated configuration example of ipv6 OSPF

Show ipv6 ospf information on R2


R2#show ipv6 ospf neighbor
OSPFv3 Process 1
Neighbor ID Pri State Dead Time Interface ID Interface
1.1.1.5 1 FULL/BDR 00:00:33 20 fei-0/0/0/6
11.11.11.11 1 FULL/BDR 00:00:33 19 fei-0/0/0/7
1.1.1.5 1 FULL/BDR 00:00:36 22 fei-0/0/0/8

R2#show ipv6 forwarding route 3500::55


IPv6 Routing Table:
Headers: Dest: Destination, Gw: Gateway, Pri: Priority;
Codes : K: kernel, I1: isis-l1, SFN: sf-nat64, R: ripng, AF: aftr, B: bgp,
D: direct, I2: isis-l2, SLN: sl-nat64, O: ospfv3, D6: dhcp, P: ppp,
S: static, N: nd, V: vrrp, A: address, M: multicast, UI: user-ipaddr;
Dest Interface Pri Gw Owner
Metric
3500::55/128 fei-0/0/0/8 110 fe80::222:93ff:fe54:48c8 O 1
3500::55/128 fei-0/0/0/6 110 fe80::222:93ff:fe54:48c8 O 1

© ZTE All rights reserved 25


Integrated configuration example of ipv6 OSPF

Show ipv6 ospf information on R3


R3#show ipv6 ospf neighbor
OSPFv3 Process 1
Neighbor ID Pri State Dead Time Interface ID Interface
10.10.10.10 1 FULL/BDR 00:00:37 18 fei-0/0/0/6
10.10.10.10 1 FULL/DR 00:00:36 20 fei-0/0/0/8

R3#show ipv6 forwarding route 3555::52


IPv6 Routing Table:
Headers: Dest: Destination, Gw: Gateway, Pri: Priority;
Codes : K: kernel, I1: isis-l1, SFN: sf-nat64, R: ripng, AF: aftr, B: bgp,
D: direct, I2: isis-l2, SLN: sl-nat64, O: ospfv3, D6: dhcp, P: ppp,
S: static, N: nd, V: vrrp, A: address, M: multicast, UI: user-ipaddr;
Dest Interface Pri Gw Owner Metric
3555::/64 fei-0/0/0/8 110 fe80::222:93ff:fe54:6c1f O 20
3555::/64 fei-0/0/0/6 110 fe80::222:93ff:fe54:6c1f O 20

© ZTE All rights reserved 26


Integrated configuration example of ipv6 OSPF

C. Stub area configuration of ipv6 ospf

© ZTE All rights reserved 27


Integrated configuration example of ipv6 OSPF

Based on part A and part B configuration, set area 10 as stub area

R2 configuration R3 configuration

R2(config)#ipv6 router ospf 1 R3(config)#ipv6 router ospf 1


R2(config-ospfv3-1)#area 10 stub R3(config-ospfv3-1)#area 10 stub
R2(config-ospfv3-1)#exit R3(config-ospfv3-1)#exit

© ZTE All rights reserved 28


Integrated configuration example of ipv6 OSPF

Show ipv6 ospf information on R3


R3#show ipv6 ospf neighbor
OSPFv3 Process 1
Neighbor ID Pri State Dead Time Interface ID Interface
10.10.10.10 1 FULL/BDR 00:01:37 18 fei-0/0/0/6
10.10.10.10 1 FULL/DR 00:01:36 20 fei-0/0/0/8

R3(config)#show ipv6 forwarding route 3555::52


IPv6 Routing Table:
Headers: Dest: Destination, Gw: Gateway, Pri: Priority;
Codes : K: kernel, I1: isis-l1, SFN: sf-nat64, R: ripng, AF: aftr, B: bgp,
D: direct, I2: isis-l2, SLN: sl-nat64, O: ospfv3, D6: dhcp, P: ppp,
S: static, N: nd, V: vrrp, A: address, M: multicast, UI: user-ipaddr;
Dest Interface Pri Gw Owner
Metric
::/0 fei-0/0/0/8 110 fe80::222:93ff:fe54:6c1f O 2
::/0 fei-0/0/0/6 110 fe80::222:93ff:fe54:6c1f O 2

© ZTE All rights reserved 29


Thank you

You might also like