Configuration Guide Managing Routes
hop in the routing table.
(Optional) Indicates the administrative distance of the static route. The administrative
distance is 1 by default.
(Optional) Indicates the tag of the static route. The tag is 0 by default.
(Optional) Indicates the flag of the permanent route. The static route is not a
permanent route by default.
(Optional) Indicates the weight of the static route. The weight is 1 by default.
description
description-text
(Optional) Indicates the description of the static route. By default, no description is
configured. description-text is a string of one to 60 characters.
(Optional) Indicates the enable flag of the static route. The flag is enabled by default.
(Optional) Indicates that the next hop belongs to a global routing table. By default, the
VRF of the next hop also belongs to a global routing table.
By default, no static default route is configured.
Global configuration mode
The simplest configuration of this command is ip route 0.0.0.0 0.0.0.0 ip-address.
 Configuring the IPv6 Default Gateway on a L3 Device
ipv6 route ::/0 { ipv6-address ] | interface [ ipv6-address ] ] } [ distance ] [ weight number ] [description
description-text]
Indicates the IPv6 prefix, which must comply with the address expression specified in
RFC4291.
Indicates the length of the IPv6 prefix. Note that a slash (/) must be added in front of
the length.
(Optional) Indicates the next-hop address of the static route. You must specify at least
one of ipv6-address and interface, or both of them. If ipv6-address is not specified, a
static direct route is configured.
(Optional) Indicates the next-hop exit interface of the static route. You must specify at
least one of ipv6-address and interface, or both of them. If interface is not specified, a
recursive static direct route is configured. The exit interface is obtained by the next
hop in the routing table.
(Optional) Indicates the administrative distance of the static route. The administrative
distance is 1 by default.
(Optional) Indicates the weight of the static route, which must be specified when you
configure equal-cost routes. The weight ranges from 1 to 8. When the weights of all
equal-cost routes of a route are summed up, the sum cannot exceed the maximum
number of equal-cost routes that can be configured for the route. Weighting of
equal-cost routes of a route indicates the traffic ratio of these routes. The weight is 1
by default.
description
description-text
(Optional) Indicates the description of the static route. By default, no description is
configured. description-text is a string of one to 60 characters.