OS10 Enterprise Edition User Guide Release


Static IPv6 routing

To define an explicit route between two IPv6 networking devices, configure a static route on an interface. Static routing is useful for smaller networks with only one path to an outside network, or to provide security for certain traffic types in a larger network.

  • Enter the static routing information including the IPv6 address and mask in x:x:x:x::x format in CONFIGURATION mode—prefix length 0 to 64.
    ipv6 route 
                                           mask {next-hop | interface 
                                           interface [
    • next-hop — Enter the next-hop IPv6 address in x:x:x:x::x format.
    • interface interface — Enter the interface type then the slot/port or number information.
    • route-preference — (Optional) Enter a route-preference range—1 to 255.

After you configure a static IPv6 route, configure the forwarding router’s address on the interface. The IPv6 neighbor interface must have an IPv6 address configured.

Configure IPv6 static routing and view configuration

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

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: <>()\