H3C   OSPFV3 路由配置

 

IPv6网络中,OSPF 路由协议版本为3。


R3:
system-view
sysname R3
ipv6
int lo3
ipv6 add 3333::0003/128
undo shutdown
quit
int s0/2/2
ipv6 add 3400::003/64
undo shutdown
quit
ospfv3 100
router-id 3.3.3.3
maximum load-balancing 6
preference 33
quit
int lo3
ospfv3 100 area 0
quit
int s0/2/2
ospfv3 100 area 0
quit

 

R4:
system-view
sysname R4
ipv6
ipv6 enable
int lo4
ipv6 add 4444::0004/128
undo shutdown
quit
int s0/2/0
ipv6 add 3400::0004/64
undo shutdown
quit
ospfv3 100
router-id 4.4.4.4
maximum load-balancing 6
preference 33
quit
int lo4
ospfv3 100 area 0
quit
int s0/2/0
ospfv3 100 area 0
quit


测试:
ping ipv6 4444::4
ping ipv6 4444::4
  PING 4444::4 : 56  data bytes, press CTRL_C to break
    Reply from 4444::4
    bytes=56 Sequence=1 hop limit=64  time = 20 ms
    Reply from 4444::4
    bytes=56 Sequence=2 hop limit=64  time = 4 ms
    Reply from 4444::4
    bytes=56 Sequence=3 hop limit=64  time = 10 ms
    Reply from 4444::4
    bytes=56 Sequence=4 hop limit=64  time = 20 ms
    Reply from 4444::4
    bytes=56 Sequence=5 hop limit=64  time = 10 ms

  --- 4444::4 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 4/12/20 ms

在这里可以看到,OSPFv3的基本配置情况了。

 

IPv6 ISIS 配置:

 

R3
system-view
sysname R3
ipv6
int lo3
ipv6 add 3333::0003/128
undo shutdown
quit
int s0/2/2
ipv6 add 3400::003/64
undo shutdown
quit
isis 100
network-entity 49.0000.0000.0003.00
ipv6 enable
quit
int lo3
isis ipv6 enable 100
quit
int s0/2/2
isis ipv6 enable 100
quit

 

R4:
system-view
sysname R4
ipv6
ipv6 enable
int lo4
ipv6 add 4444::0004/128
undo shutdown
quit
int s0/2/0
ipv6 add 3400::004/64
undo shutdown
quit
isis 100
network-entity 49.0000.0000.0004.00
ipv6 enable
quit
int lo4
isis ipv6 enable 100
quit
int s0/2/0
isis ipv6 enable 100
quit

 

 

 

你可能感兴趣的:(职场,华为,休闲, ,HCNE,HCSE,HCIE)