Cisco Catalyst Center Template Labs – Rest-APIs – Part 9
Hace 19 horas
A continuación un ejemplo básico de configuración de OSPFv3, con la particularidad que un vecino estará corriendo IOS XR. La topología es sencilla y se muestra en la siguiente figura:
Primero se configura el direccionamiento IPv6 en las interfaces que interconectan a R1 y R2.
RP/0/1/CPU0:R1#conf t
RP/0/1/CPU0:R1(config)#int Gi0/0/0/1
RP/0/1/CPU0:R1(config-if)#ipv6 add 2001:db8:1212::1/48
RP/0/1/CPU0:R1(config-if)#commit
R2#conf t
R2(config)#interface GigabitEthernet1/0/0
R2(config-if)#ipv6 add 2001:db8:1212::2/48
RP/0/1/CPU0:R1(config-if)#do ping 2001:db8:1212::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:db8:1212::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 3/23/87 ms
RP/0/1/CPU0:R1(config)#int lo0
RP/0/1/CPU0:R1(config-if)#ipv6 add 2001:db8:1111:1111::1/128
RP/0/1/CPU0:R1(config-if)#commit
R2(config)#int lo0
R2(config-if)#ipv6 add 2001:db8:2222:2222::2/128
RP/0/1/CPU0:R1(config)#router ospfv3 1
RP/0/1/CPU0:R1(config-ospfv3)#area 0
RP/0/1/CPU0:R1(config-ospfv3-ar)#int Gi0/0/0/1
RP/0/1/CPU0:R1(config-ospfv3-ar-if)#commit
R2(config)#ipv6 uni
R2(config)#interface GigabitEthernet1/0/0
R2(config-if)#ipv6 ospf 1 a 0
RP/0/1/CPU0:R1#sh ospfv3 neighbor
Neighbors for OSPFv3 1
Neighbor ID Pri State Dead Time Interface ID Interface
2.2.2.2 1 FULL/DR 00:00:39 17 GigabitEthernet0/0/0/1
Neighbor is up for 00:00:38
Total neighbor count: 1
RP/0/1/CPU0:R1#
RP/0/1/CPU0:R1#sh run int lo0
interface Loopback0
ipv4 address 1.1.1.1 255.255.255.255
ipv6 address 2001:db8:1111:1111::1/128
R2#sh run int lo0
interface Loopback0
ip address 2.2.2.2 255.255.255.255
ipv6 address 2001:DB8:2222:2222::2/128
RP/0/1/CPU0:R1#conf t
RP/0/1/CPU0:R1(config)#router ospfv3 1
RP/0/1/CPU0:R1(config-ospfv3)#area 0
RP/0/1/CPU0:R1(config-ospfv3-ar)#int lo0
RP/0/1/CPU0:R1(config-ospfv3-ar-if)#commit
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int lo0
R2(config-if)#ipv6 ospf 1 area 0
RP/0/1/CPU0:R1#sh route ipv6
Gateway of last resort is not set
L 2001:db8:1111:1111::1/128 is directly connected,
00:12:10, Loopback0
C 2001:db8:1212::/48 is directly connected,
00:05:22, GigabitEthernet0/0/0/1
L 2001:db8:1212::1/128 is directly connected,
00:05:22, GigabitEthernet0/0/0/1
O 2001:db8:2222:2222::2/128
[110/1] via fe80::21e:f7ff:fef7:5340, 00:00:14, GigabitEthernet0/0/0/1
R2#ping 2001:db8:1111:1111::1 sou lo0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:1111:1111::1, timeout is 2 seconds:
Packet sent with a source address of 2001:DB8:2222:2222::2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/14/64 ms
© 2010. CCIE en Español. All Rights Reserved.
Blogger Template by Blogger SEO Tools based on WP theme by CamelGraph.
Programming IOS-XR with gRPC and Go
gRPC library for Cisco IOS XR