ZXR10 5900E Series Configuration Guide (IPv6)
Command
Function
ZXR10(config)#
ipv6 route
[
vrf
<
vrf-name
>]<
prefix
>
/
<
mask-len
><
i
nterface-name
>[<
distance-metric
>][
bfd enable
]
Configures a static route with the
specified egress interface. If the
egress interface is a broadcast
interface, the next hop should also
be specified.
ZXR10(config)#
ipv6 route
<
prefix
>
/
<
mask-len
><
forwarding-route
r's-address
>[<
distance-metric
>][
bfd enable
]
Configures a static route with the
specified next hop.
ZXR10(config)#
ipv6 route
<
prefix
>
/
<
mask-len
><
interface-name
><
forwarding-router's-address
>[<
distance-metric
>][
bfd enable
]
Configures a static route with both
the specified egress interface and
the specified next hop.
For a description of the parameters, refer to the following table:
Parameter
Description
<
vrf-name
>
Used to configure static route in a specific VRF. The VRF
name is with 1–32 characters. The management port mng
is a special VRF.
<
prefix
>
Indicates the IPv6 address prefix.
<
mask-len
>
Indicates the mask length ranging from 0 to 128.
<
forwarding-router's-address
>
Indicates the next-hop IPv6 address.
<
interface-name
>
Indicates the interface name.
<
distance-metric
>
Indicates the administrative distance ranging from 1 to 255.
bfd enable
Enables the
for the route in the IPv6 route configuration.
5.3 Maintaining IPv6 Static Routes
To maintain IPv6 static routes, run the following commands:
Command
Function
ZXR10(config)#
show running-config ipv6-static-route
Shows the static routes configured
in the system database.
ZXR10(config)#
show ipv6 protocol routing static
Shows the static routes in the
routing table and the validity of
these routes.
Run the
show running-config ipv6-static-route
command to show the static routes
configured in the system database. The display results indicate the user-configured static
routes but these routes are not necessarily effective.
5-2
SJ-20150114102049-011|2015-01-15 (R1.0)
ZTE Proprietary and Confidential