Hà Nội: NTT03, Line 1, Thống Nhất Complex, 82 Nguyễn Tuân, Thanh Xuân, Hà Nội. ● HCM: Số 31B, Đường 1, Phường An Phú, Quận 2 (Thủ Đức), TP HCM. ===> Đơn Vị Hàng Đầu Trong Lĩnh Vực Cung Cấp Thiết Bị Security - Network - Wifi - CCTV - Conference - Máy chủ Server - Lưu trữ Storge.
Danh mục sản phẩm

Configure an IPv6 Static Route

Configuration Condition

Before configuring an IPv6 static route, ensure that:

  • The link layer protocol has been configured to ensure normal communication at the link layer.
  • Interface IPv6 addresses have been configured so that neighbor nodes are reachable at the network layer.

Configure an IPv6 Static Route

According to the parameters that have been specified, IPv6 static routes are divided into the following three types:

  • Interface route: For an interface route, only the output interface is specified.
  • Gateway route: For a gateway route, only the gateway address is specified.
  • Interface gateway route: For an interface gateway route, both the output interface and the gateway address are specified.

The configured IPv6 static routes become invalid if some of the following conditions are met:

  1. The destination address is the local interface address.
  2. The administrative distance of the route is 255.
  3. The output interface of the route is DOWN.
  4. The egress interface of the route does not enable IPv6.
  5. The gateway address is not reachable.
  6. The gateway address conflicts with the local address.
  7. The output interface and the gateway of the route conflict.
  8. The output interface of the route does not exist.
  9. The TRACK object that is associated with the route is "fake".

If an interface route meets any one condition among 1, 2, 3, 4, 8, and 9, the route is invalid. If a gateway route meets any one condition among 1, 2, 5, 6, and 9, the route is invalid. If an interface gateway route meets any of the above conditions, the route is invalid.

Table 4-2 Configuring an IPv6 static route

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Configure an  IPv6 static route.

ipv6 route destination-ipv6-address/destination-mask { interface-name / [ nexthop-ipv6-address ] } [ name nexthop-name ] [ tag tag-value ] [ track track-id ] [ administrative-distance ]

Mandatory

The field administrative-distance is the administrative distance of the static route. If it is not specified, the default administrative distance is used.

note


  • When configuring the default route, the destination network and mask must be set to 0::/0.
  • The output interface of the Null0 route should be configured to Null0.
  • The output interface of the Null0 interface need not be configured with an IPv6 address.