
Configuring IPv6
Creating an IPv6 Static Route
OmniSwitch AOS Release 7 Network Configuration Guide
June 2013
page 17-19
Creating an IPv6 Static Route
Static routes are user-defined and carry a higher priority than routes created by dynamic routing proto-
cols. That is, if two routes have the same metric value, the static route has the higher priority. Static routes
allow you to define, or customize, an explicit path to an IPv6 network segment, which is then added to the
IPv6 Forwarding table. Static routes can be created between VLANs to enable devices on these VLANs to
communicate.
Use the
command to create a static route. You must specify the destination IPv6 address
of the route as well as the IPv6 address of the first hop (gateway) used to reach the destination. For exam-
ple, to create a static route to IPv6 address 212:95:5::/64 through gateway
fe80::2d0:95ff:fe6a:f458
on interface v6if-137, you would enter:
-> ipv6 static-route 2001:db8:212:95::/64 gateway fe80::2d0:95ff:fe6a:f458 v6if-137
Note that in the example above the IPv6 interface name for the gateway was included. This parameter is
required only when a link local address is specified as the gateway.
When you create a static route, the default metric value of 1 is used. However, you can change the prior-
ity of the route by increasing its metric value. The lower the metric value, the higher the priority. This
metric is added to the metric cost of the route. The metric range is 1 to 15. For example:
-> ipv6 static-route 2001:db8:212:95::/64 gateway fe80::2d0:95ff:fe6a:f458 v6if-137
metric 3
Static routes do not age out of the IPv6 Forwarding table; you must delete them from the table. Use the
no ipv6 static-route
command to delete a static route. You must specify the destination IPv6 address of
the route as well as the IPv6 address of the first hop (gateway). For example, to delete the static you would
enter:
-> no ip static-route 2001:db8:212:95::/64 gateway fe80::2d0:95ff:fe6a:f458 v6if-137
The IPv6 Forwarding table includes routes learned through one of the routing protocols (RIP, OSPF,
BGP) as well as any static routes that are configured. Use the
command to display the
IPv6 Forwarding table.
Note.
A static route is not active unless the gateway it is using is active.
Содержание os6900
Страница 28: ...Contents xxviii OmniSwitch AOS Release 7 Network Configuration Guide June 2013...
Страница 374: ...VRF Route Leak Configuring IP page 15 40 OmniSwitch AOS Release 7 Network Configuration Guide June 2013...
Страница 692: ...Policy Applications Configuring QoS page 25 84 OmniSwitch AOS Release 7 Network Configuration Guide June 2013...