欢迎user
05-IPv6静态路由配置
本章节下载: 05-IPv6静态路由配置 (137.09 KB)
静态路由是一种特殊的路由,由管理员手工配置。当网络结构比较简单时,只需配置静态路由就可以使网络正常工作。
静态路由不能自动适应网络拓扑结构的变化。当网络发生故障或者拓扑发生变化后,必须由网络管理员手工修改配置。
IPv6静态路由与IPv4静态路由类似,适合于一些结构比较简单的IPv6网络。
(1) 进入系统视图。
system-view
(2) 配置IPv6静态路由。
(公网)
ipv6 route-static ipv6-address prefix-length { interface-type interface-number [ next-hop-address ] | next-hop-address | vpn-instance d-vpn-instance-name nexthop-address } [ permanent ] [ preference preference ] [ description text ]
缺省情况下,未配置IPv6静态路由。
(VPN网络)
ipv6 route-static vpn-instance s-vpn-instance-name ipv6-address prefix-length { interface-type interface-number [ next-hop-address ] | nexthop-address [ public ] | vpn-instance d-vpn-instance-name nexthop-address } [ permanent ] [ preference preference ] [ description text ]
缺省情况下,未配置IPv6静态路由。
在完成上述配置后,在任意视图下执行display命令查看IPv6静态路由配置的运行情况并检验配置结果。
表1-1 IPv6静态路由显示和维护
操作 |
命令 |
显示IPv6静态路由表信息 |
display ipv6 route-static routing-table [ vpn-instance vpn-instance-name ] [ ipv6-address prefix-length ] |
IPv6缺省路由是在路由器没有找到匹配的IPv6路由表项时使用的路由。
IPv6缺省路由采用网络管理员手工配置。配置请参见“1.2 配置IPv6静态路由”,指定的目的地址为::/0(前缀长度为0)。
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!