华为创建IPv6静态路由
背景信息在创建IPv6静态路由时,可以同时指定出接口和下一跳。对于不同的出接口类型,也可以只指定出接口或只指定下一跳。
对于点到点接口,指定出接口。
对于NBMA(Non Broadcast Multiple Access)接口,指定下一跳。
对于广播类型接口,需指定下一跳地址。下一跳地址可以是链路本地地址,当下一跳地址为链路本地地址时,必须同时指定出接口。
在创建相同目的地址的多条IPv6静态路由时,如果指定相同优先级,则可实现负载分担,如果指定不同优先级,则可实现路由备份。
在创建IPv6静态路由时,如果将目的地址与掩码配置为全零,则表示配置的是IPv6静态缺省路由。缺省情况下,没有创建IPv6静态缺省路由。
操作步骤
执行命令system-view,进入系统视图。
配置IPv6静态路由。
在公网上配置IPv6静态路由:ipv6 route-static dest-ipv6-address prefix-length { interface-type interface-number [ nexthop-ipv6-address ] | nexthop-ipv6-address } [ preference preference | tag tag ] * [ description text ]或ipv6 route-static dest-ipv6-address prefix-length vpn-instance vpn-destination-name [ preference preference | tag tag ] * [ description text ]
在VPN实例中配置IPv6静态路由:ipv6 route-static vpn-instance vpn-instance-name dest-ipv6-address prefix-length { [ interface-type interface-number ] nexthop-ipv6-address | nexthop-ipv6-address [ public ] | vpn-instance vpn-destination-name nexthop-ipv6-address } [ preference preference | tag tag ] * [ description text ]或ipv6 route-static vpn-instance vpn-instance-name dest-ipv6-address prefix-length { public | vpn-instance vpn-destination-name } [ preference preference | tag tag ] * [ description text ]
{:6_290:} {:6_290:} {:6_290:} {:6_267:} {:6_267:}{:6_267:}{:6_290:}{:6_290:}{:6_267:}
页:
[1]