343
Syntax
ripng default-route
{
only
|
originate
} [
cost
cost
]
undo ripng default-route
Default
A RIPng process does not advertise a default route.
Views
Interface view
Predefined user roles
network-admin
Parameters
only
: Advertises only an IPv6 default route (::/0).
originate
: Advertises an IPv6 default route (::/0) and other routes.
cost
: Specifies a cost for the default route, in the range of 1 to 15. The default is 1.
Usage guidelines
This command enables the interface to advertise a RIPng default route in a route update regardless of
whether the default route exists in the local IPv6 routing table.
Examples
# Configure RIPng on VLAN-interface 100 to advertise only a default route.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ripng default-route only
# Configure RIPng on VLAN-interface 101 to advertise a default route and other routes.
<Sysname> system-view
[Sysname] interface vlan-interface 101
[Sysname-Vlan-interface101] ripng default-route originate
ripng enable
Use
ripng
enable
to enable RIPng on an interface.
Use
undo ripng enable
to disable RIPng on an interface.
Syntax
ripng
process-id
enable
undo ripng
[
process-id
]
enable
Default
RIPng is disabled on an interface.
Views
Interface view
Predefined user roles
network-admin