User's Manual
546
78.3 Routing Management Module’s Configuration Tasks
78.3.1 Setting the Static Route
To set the static route, run the following command in global configuration mode:
Command Purpose
Ipv6 route prefix / prefixlen {ipv6-address |
interface-type interface-number
Sets the static route.
When setting the static route, you can designate the type and number of the outgoing interfaces, and also
the address of the next hop. It depends on actual requirements whether to designate an outgoing interface
or the next-hop address. The next-hop address cannot be the IPv6 address of the local address, or the
static route is invalid.
When you run IPv6 route to set the static route, if the destination address and the mask are set to 0::0/0, the
configured route is a default one. The prefixlen parameter in the configured prefix should be less than or
equal to 64, or be equal to 128 (host’s route).
Different management distances can be set for different static routes and therefore these static routes
can be flexibly applied on the routing management modules.
The next hop of the configured static route must be activated, otherwise the static route cannot be activated.
When the next hop is an interface or an interface VLAN, the interface must be a v6 one; when the next
hop is a gateway, this gateway must be in the directly-connected network segment.
78.3.2 Setting the Threshold of Routes in a Routing Table
To a maximum number of routes in a routing table, that is, to set a threshold for routes in a routing table, run
the following command in global configuration mode:
Command Purpose
Ipv6 route max-number <64-640000>
Sets the total number of routes, distributes
systematic resources reasonably and