Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

PDF

静态 IPv6 路由

要在两个 IPv6 网络设备之间定义显式路由,请在接口上配置静态路由。静态路由对于仅有一条路径到外部网络的小型网络非常有用,或者为大型网络中的某些流量类型提供安全性。

  • 在 CONFIGURATION 模式下输入静态路由信息,包括以 in x:x:x:x::x 格式显示的 IPv6 地址和掩码。长度为 0 到 64。
    ipv6 route ipv6–prefix/mask {next-hop | interface interface [route-preference]}
    • next-hop — 以 x:x:x:x::x 格式输入下一跳 IPv6 地址。
    • interface interface — 输入接口类型,然后输入插槽/端口或编号信息。
    • route-preference —(可选)输入路由首选项范围,从 1 到 255。

配置静态 IPv6 路由后,配置接口上转发路由器的地址。IPv6 邻居接口必须配置有 IPv6 地址。

配置 IPv6 静态路由和查看配置

OS10(config)# ipv6 route 2111:dddd:0eee::22/128 2001:db86:0fff::2
OS10(config)# do show ipv6 route static
Codes: C - connected
       S - static
       B - BGP, IN - internal BGP, EX - external BGP
       O - OSPF,IA - OSPF inter area, N1 - OSPF NSSA external type 1,
       N2 - OSPF NSSA external type 2, E1 - OSPF external type 1,
       E2 - OSPF external type 2, > - non-active route
Gateway of last resort is not set
  Destination            Gateway                 Dist/Metric   Last Change
--------------------------------------------------------------------------
  S 2111:dddd:eee::22/12via 2001:db86:fff::2 ethernet1/1/1  1/1  00:01:24

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\