侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

CCNP(BSCI)实验:OSPFv3实验

2023-04-05 星期三 / 0 评论 / 0 点赞 / 72 阅读 / 2856 字

预配置R1(config)#int lo0 R1(config-if)#ipv add 1::1/64R1(config-if)#int s2/1R1(config-if)#ipv add 2001:

.


预配置
R1(config)#int lo0
R1(config-if)#ipv add 1::1/64
R1(config-if)#int s2/1
R1(config-if)#ipv add 2001::1/64
R1(config-if)#no sh
R1(config-if)#exi
R1(config)#ipv6 unicast-routing

R2(config)#int lo0
R2(config-if)#ipv add 2::1/64
R2(config-if)#int s2/1
R2(config-if)#ipv add 2001::2/64
R2(config-if)#no sh

第二步:配置ospfv3
R1(config)#int s2/1
R1(config-if)#ipv os 1 a 0
R1(config-if)#int lo0
R1(config-if)#ipv os 1 a 0
R1(config-if)#exi
R1(config)#ipv router os 1
R1(config-rtr)#rou
R1(config-rtr)#router-id 1.1.1.1

R2(config)#int lo0
R2(config-if)#ipv os 1 a 0
R2(config-if)#int s2/1
R2(config-if)#ipv os 1 a 0
R2(config-if)#ipv router os 1
R2(config-rtr)#router-id 2.2.2.2

第三步:调试
R1#sh ipv6 ospf neighbor

Neighbor ID Pri State Dead Time Interface ID Interface
2.2.2.2 1 FULL/ - 00:00:36 4 Serial2/1

R1#sh ipv6 ospf database

OSPFv3 Router with ID (1.1.1.1) (Process ID 1)

Router Link States (Area 0)

ADV Router Age Seq# Fragment ID Link count Bits
1.1.1.1 81 0x80000003 0 1 None
2.2.2.2 82 0x80000001 0 1 None

Link (Type-8) Link States (Area 0)

ADV Router Age Seq# Link ID Interface
1.1.1.1 140 0x80000001 6 Se2/1
2.2.2.2 82 0x80000001 4 Se2/1

Intra Area Prefix Link States (Area 0)

ADV Router Age Seq# Link ID Ref-lstype Ref-LSID
1.1.1.1 131 0x80000002 0 0x2001 0
2.2.2.2 82 0x80000001 0 0x2001 0

R1#sh ipv6 route
IPv6 Routing Table - 7 entries
Codes: 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
C 1::/64 [0/0]
via ::, Loopback0
L 1::1/128 [0/0]
via ::, Loopback0
O 2::1/128 [110/64]
via FE80::C892:FFF:FEAC:0, Serial2/1
C 2001::/64 [0/0]
via ::, Serial2/1
L 2001::1/128 [0/0]
via ::, Serial2/1
L FE80::/10 [0/0]
via ::, Null0
L FF00::/8 [0/0]
via ::, Null0

第四步:测试
R1#ping 2::1 so lo 0

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/30/32 ms

.

广告 广告

评论区