RIPng commands -- checkzero

Use checkzero to enable zero field check on RIPng packets.

Use undo checkzero to disable zero field check.

Syntax

checkzero

undo checkzero

Default

Zero field check is enabled.

Views

RIPng view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

Some fields in RIPng packet headers must be zero. These fields are called zero fields. You can enable zero field check on incoming RIPng packets. If a zero field of a packet contains a non-zero value, RIPng discards the packet.

Examples

# Disable zero field check on RIPng packets for RIPng 100.

<Sysname> system-view

[Sysname] ripng 100

[Sysname-ripng-100] undo checkzero

RIPng commands -- default cost

Use default cost to configure a default metric for redistributed routes.

Use undo default cost to restore the default.

Syntax

default cost cost-value

undo default cost

Default

The default metric of redistributed routes is 0.

Views

RIPng view

Predefined user roles

network-admin

mdc-admin

Parameters

cost-value: Specifies a default metric for redistributed routes, in the range of 0 to 16.

Usage guidelines

When you use the import-route command to redistribute routes from another routing protocol without specifying a metric, the metric specified by the default cost command applies.

Examples

# Configure a default metric of 2 for redistributed routes.

<Sysname> system-view

[Sysname] ripng 100

[Sysname-ripng-100] default cost 2

Related commands

import-route

RIPng commands -- display ripng

Use display ripng to display state and configuration information for a RIPng process.

Syntax

display ripng [ process-id ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

process-id: Specifies a RIPng process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays information about all RIPng processes.

Examples

# Display state and configuration information for all configured RIPng processes.

<Sysname> display ripng

Public VPN-instance name:

RIPng process: 1

Preference: 100

Routing policy: abc

Fast-reroute:

Routing policy: abc

Checkzero: Enabled

Default cost: 0

Maximum number of load balanced routes: 6

Update time : 30 secs Timeout time : 180 secs

Suppress time : 120 secs Garbage-collect time : 120 secs

Update output delay: 20(ms) Output count: 3

Graceful-restart interval: 60 secs

Triggered Interval : 5 50 200

Number of periodic updates sent: 256

Number of trigger updates sent: 1

Table 1 Command output

Field | Description
Public VPN-instance name | Public network where the RIPng process runs.
Private VPN-instance name | VPN where the RIPng process runs.
RIPng process | RIPng process ID.
Preference | RIPng preference.
Checkzero | Indicates whether zero field check for RIPng packet headers is enabled: Enabled or Disabled.
Default Cost | Default metric of redistributed routes.
Fast-reroute | RIPng FRR.
Maximum number of balanced paths | Maximum number of load-balanced routes.
Update time | RIPng update interval, in seconds.
Timeout time | RIPng timeout interval, in seconds.
Suppress time | RIPng suppress interval, in seconds.
Garbage-Collect time | RIPng garbage collection interval, in seconds.
Update output delay | RIPng packet sending interval, in milliseconds.
Output count | Maximum number of RIPng packets that can be sent at an interval.
Graceful-restart interval | GR interval in seconds.
Triggered Interval | Triggered update sending interval.

RIPng commands -- display ripng database

Use display ripng database to display all active routes in the advertising database for a RIPng process.

Syntax

display ripng process-id database [ ipv6-address prefix-length ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

process-id: Specifies a RIPng process by its ID in the range of 1 to 65535.

ipv6-address prefix-length: Specifies an IPv6 address. The ipv6-address argument specifies an IPv6 address. The prefix-length argument specifies a prefix length in the range of 0 to 128.

Examples

# Display active routes for RIPng process 1.

<Sysname> display ripng 1 database

1::/64,

cost 0, RIPng-interface

10::/32,

cost 0, imported

2::2/128,

via FE80::20C:29FF:FE7A:E3E4, cost 1

Table 2 Command output

Field | Description
cost | Route metric value.
imported | Indicates the route is redistributed from another routing protocol.
RIPng-interface | Route learned from the interface.
via | Next hop IPv6 address.

RIPng commands -- display ripng graceful-restart

Use display ripng graceful-restart to display GR information.

Syntax

display ripng [ process-id ] graceful-restart

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

process-id: Specifies a RIPng process by its ID in the range of 1 to 65535.

Examples

# Display GR information for RIPng process 1.

<Sysname> display ripng 1 graceful-restart

RIPng process: 1

Graceful Restart capability : Enabled

Current GR state : Normal

Graceful Restart period : 60 seconds

Graceful Restart remaining time: 0 seconds

Table 3 Command output

Field | Description
Graceful Restart capability | Indicates whether GR is enabled: Enabled or Disabled.
Current GR state | GR state: · Under GR—GR is in process. · Normal—GR is not in progress or has completed.

RIPng commands -- display ripng interface

Use display ripng interface to display interface information for a RIPng process.

Syntax

display ripng process-id interface [ interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

process-id: Specifies a RIPng process by its ID in the range of 1 to 65535.

interface-type interface-number: Specifies an interface by its type and number. If you do not specify this argument, the command displays information about all interfaces for the RIPng process.

Examples

# Display interface information for RIPng process 1. (Applicable to routers.)

<Sysname> display ripng 1 interface

Total: 1

Interface: GigabitEthernet1/0/2

Link-local address: FE80::20C:29FF:FEC8:B4DD

Split-horizon: On Poison-reverse: Off

MetricIn: 0 MetricOut: 1

Default route: Off

Primary path detection mode: BFD echo

Summary address:

1::/16

# Display interface information for RIPng process 1. (Applicable to switches.)

<Sysname> display ripng 1 interface

Total: 1

Interface: Vlan-interface100

Link-local address: FE80::20C:29FF:FEC8:B4DD

Split-horizon: On Poison-reverse: Off

MetricIn: 0 MetricOut: 1

Default route: Off

Primary path detection mode: BFD echo

Summary address:

1::/16

Table 4 Command output

Field | Description
Total | Number of interfaces running RIPng.
Interface | Name of an interface running RIPng.
Link Local Address | Link-local address of an interface running RIPng.
Split-horizon | Indicates whether split horizon is enabled: · On—Enabled. · Off—Disabled.
Poison-reverse | Indicates whether poison reverse is enabled: · On—Enabled. · Off—Disabled.
MetricIn/MetricOut | Additional metric to incoming and outgoing routes.
Default route | · Only—The interface advertises only a default route. · Originate—The interface advertises a default route and other RIPng routes. · Off—In this state, the interface does not advertise a default route. · In garbage-collection status—In this state, the interface advertises a default route with a metric of 16.
Default route cost | Cost of the default route.
Primary path detection mode | BFD echo indicates that BFD single-hop echo detection is used to detect primary link failures.

RIPng commands -- display ripng neighbor

Use display ripng neighbor to display neighbor information for a RIPng process.

Syntax

display ripng process-id neighbor [ interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

process-id: Specifies a RIPng process by its ID in the range of 1 to 65535.

interface-type interface-number: Specifies an interface by its type and number. If you do not specify this argument, the command displays information about all neighbors for the RIPng process.

Examples

# Display neighbor information for RIPng process 1. (Applicable to routers.)

<Sysname> display ripng 1 neighbor

Neighbor Address: FE80::230:FF:FE00:0

Interface : GigabitEthernet1/0/1

Version : RIPng version 1 Last update: 00h00m27s

Bad packets: 0 Bad routes : 0

# Display neighbor information for RIPng process 1. (Applicable to switches.)

<Sysname> display ripng 1 neighbor

Neighbor Address: FE80::230:FF:FE00:0

Interface : Vlan-interface1

Version : RIPng version 1 Last update: 00h00m27s

Bad packets: 0 Bad routes : 0

Table 5 Command output

Field | Description
Neighbor Address | Link-local address of a neighbor interface.
Interface | Name of a neighbor interface.
Version | Version of RIPng that a neighbor runs.
Last update | Time elapsed since the most recent update.

RIPng commands -- display ripng non-stop-routing

Use display ripng non-stop-routing to display RIPng NSR information.

Syntax

display ripng [ process-id ] non-stop-routing

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

process-id: Specifies a RIPng process by its ID in the range of 1 to 65535.

Examples

# Display NSR information for RIPng process 1.

<Sysname> display ripng 1 non-stop-routing

RIPng process: 1

Nonstop Routing capability: Enabled

Current NSR state : Finish

Table 6 Command output

Field | Description
Nonstop Routing capability | Indicates whether NSR is enabled: Enabled or Disabled.
Current NSR state | NSR state: · Initialization—Initialization state. · Smooth—Upgrading data. · Advertising—Advertising routes. · Redistribution—Redistributing routes. · Finish—Finished.

RIPng commands -- display ripng route

Use display ripng route to display all RIPng routes for a RIPng process.

Syntax

display ripng process-id route [ ipv6-address prefix-length [ verbose ] | peer ipv6-address | statistics ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

process-id: Specifies a RIPng process by its ID in the range of 1 to 65535.

ipv6-address prefix-length: Specifies an IPv6 address. The ipv6-address argument specifies an IPv6 address. The prefix-length argument specifies a prefix length in the range of 0 to 128.

verbose: Displays all routing information for the specified destination IPv6 address. If you do not specify this keyword, the command displays only optimal RIPng routes with the specified destination IPv6 address.

peer ipv6-address: Specifies a neighbor by its IPv6 address.

statistics: Displays routing information statistics, including total number of routes and the number of routes learned from each neighbor.

Examples

# Display routing information for RIPng process 1. (Applicable to routers.)

<Sysname> display ripng 1 route

Route Flags: A - Aging, S - Suppressed, G - Garbage-collect, D – Direct

O - Optimal, F - Flush to RIB

----------------------------------------------------------------

Peer FE80::20C:29FF:FED4:7171 on GigabitEthernet1/0/2

Destination 4::4/128,

via FE80::20C:29FF:FED4:7171, cost 1, tag 0, AOF, 5 secs

Local route

Destination 3::3/128,

via ::, cost 0, tag 0, DOF

Destination 6::/64,

via ::, cost 0, tag 0, DOF

# Display information about routes with the specified prefix for RIPng process 1. (Applicable to routers.)

<Sysname> display ripng 1 route 3::3 128 verbose

Route Flags: A - Aging, S - Suppressed, G - Garbage-collect, D – Direct

O - Optimal, F - Flush to RIB

----------------------------------------------------------------

Peer FE80::4283:59FF:FE97:205 on GigabitEthernet1/0/2

Destination 3::3/128,

via FE80::4283:59FF:FE97:205, cost 1, tag 0, AOF, 28 secs

# Display routing information for RIPng process 1. (Applicable to switches.)

<Sysname> display ripng 1 route

Route Flags: A - Aging, S - Suppressed, G - Garbage-collect, D – Direct

O - Optimal, F - Flush to RIB

----------------------------------------------------------------

Peer FE80::20C:29FF:FED4:7171 on Vlan-interface100

Destination 4::4/128,

via FE80::20C:29FF:FED4:7171, cost 1, tag 0, AOF, 5 secs

Local route

Destination 3::3/128,

via ::, cost 0, tag 0, DOF

Destination 6::/64,

via ::, cost 0, tag 0, DOF

# Display information about routes with the specified prefix for RIPng process 1. (Applicable to switches.)

<Sysname> display ripng 1 route 3::3 128 verbose

Route Flags: A - Aging, S - Suppressed, G - Garbage-collect, D – Direct

O - Optimal, F - Flush to RIB

----------------------------------------------------------------

Peer FE80::4283:59FF:FE97:205 on Vlan-interface100

Destination 3::3/128,

via FE80::4283:59FF:FE97:205, cost 1, tag 0, AOF, 28 secs

Table 7 Command output

Field | Description
A–Aging | The route is in aging state.
S–Suppressed | The route is in suppressed state.
G–Garbage-collect | The route is in Garbage-collect state.
D–Direct | The route is a direct route.
Local route | The route is a locally generated direct route.
O - Optimal | The route is an optimal route.
F - Flush to RIB | The route has been flushed to the RIB.
Peer | Neighbor connected to the interface.
Destination | IPv6 destination address.
via | Next hop IPv6 address.
cost | Routing metric value.
tag | Route tag.
secs | Time a route entry has stayed in the current state.

# Display routing information statistics for RIPng process 1.

<Sysname> display ripng 1 route statistics

Peer Optimal/Aging Garbage

FE80::20C:29FF:FED4:7171 1/2 0

Local 2/0 0

total 3/2 0

Table 8 Command output

Field | Description
Peer | IPv6 address of the neighbor.
Optimal | Number of optimal routes.
Aging | Number of routes in aging state.
Garbage | Number of routes in Garbage-collection state.
Local | Total number of locally generated direct route.
total | Total number of routes learned from RIPng neighbors.

RIPng commands -- enable ipsec-profile

Use enable ipsec-profile to apply an IPsec profile to a RIPng process.

Use undo enable ipsec-profile to remove the IPsec profile from the RIPng process.

Syntax

enable ipsec-profile profile-name

undo enable ipsec-profile

Default

No IPsec profile is applied to the RIPng process.

Views

RIPng view

Predefined user roles

network-admin

mdc-admin

Parameters

profile-name: Specifies an IPsec profile by its name, a case-insensitive string of 1 to 63 characters.

Usage guidelines

This command must reference an IPsec profile. For more information about IPsec profiles, see Security Configuration Guide.

Examples

# Apply IPsec profile profile001 to RIPng process 1.

<Sysname> system-view

[Sysname] ripng 1

[Sysname-ripng-1] enable ipsec-profile profile001

RIPng commands -- fast-reroute

Use fast-reroute to configure RIPng FRR.

Use undo fast-reroute to disable RIPng FRR.

Syntax

fast-reroute route-policy route-policy-name

undo fast-reroute

Default

RIPng FRR is disabled.

Views

RIPng view

Predefined user roles

network-admin

mdc-admin

Parameters

route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.

Usage guidelines

RIPng FRR is available only when the state of primary link (with Layer 3 interfaces in up state) changes from bidirectional to unidirectional or down.

RIPng FRR is effective only for RIPng routes that are learned from directly connected neighbors.

Equal-cost routes do not support RIPng FRR.

Examples

# Enable RIPng FRR and use routing policy frr to specify a backup next hop. (Applicable to routers.)

<Sysname> system-view

[Sysname] ipv6 prefix-list abc index 10 permit 100:: 64

[Sysname] route-policy frr permit node 10

[Sysname-route-policy-frr-10] if-match ipv6 address prefix-list abc

[Sysname-route-policy-frr-10] apply ipv6 fast-reroute backup-interface gigabitethernet 1/0/1 backup-nexthop FE80::8

[Sysname-route-policy-frr-10] quit

[Sysname] ripng 100

[Sysname-ripng-100] fast-reroute route-policy frr

# Enable RIPng FRR and use routing policy frr to specify a backup next hop. (Applicable to switches.)

<Sysname> system-view

[Sysname] ipv6 prefix-list abc index 10 permit 100:: 64

[Sysname] route-policy frr permit node 10

[Sysname-route-policy-frr-10] if-match ipv6 address prefix-list abc

[Sysname-route-policy-frr-10] apply ipv6 fast-reroute backup-interface vlan-interface 1 backup-nexthop FE80::8

[Sysname-route-policy-frr-10] quit

[Sysname] ripng 100

[Sysname-ripng-100] fast-reroute route-policy frr

RIPng commands -- filter-policy export

Use filter-policy export to configure RIPng to filter redistributed routes.

Use undo filter-policy export to remove the filtering.

Syntax

filter-policy { ipv6-acl-number | prefix-list prefix-list-name } export [ protocol [ process-id ] ]

undo filter-policy export [ protocol [ process-id ] ]

Default

RIPng does not filter redistributed routes.

Views

RIPng view

Predefined user roles

network-admin

mdc-admin

Parameters

ipv6-acl-number: Specifies an IPv6 ACL by its number in the range of 2000 to 3999 to filter redistributed routes.

prefix-list prefix-list-name: Specifies an IPv6 prefix list by its name, a string of 1 to 63 characters, to filter redistributed routes.

protocol: Filters routes redistributed from a routing protocol.

process-id: Specifies the process ID of the specified routing protocol, in the range of 1 to 65535. This argument is available only when the routing protocol is ripng, ospfv3, or isisv6. The default is 1.

Usage guidelines

If the protocol argument is specified, RIPng filters only routes redistributed from the specified routing protocol. Otherwise, RIPng filters all redistributed routes.

To use an advanced ACL (with a number from 3000 to 3999) in the command, configure the ACL in one of the following ways:

· To deny/permit a route with the specified destination, use the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix command.

· To deny/permit a route with the specified destination and prefix, use the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix destination dest dest-prefix command.

The source keyword specifies the destination address of a route and the destination keyword specifies the prefix of the route. For the prefix configuration to take effect, specify a contiguous prefix.

Examples

# Use IPv6 prefix list to filter redistributed RIPng updates.

<Sysname> system-view

[Sysname] ipv6 prefix-list abc index 10 permit 100:1:: 32

[Sysname] ripng 100

[Sysname-ripng-100] filter-policy prefix-list abc export

# Configure advanced IPv6 ACL 3000 to permit only route 2001::1/128 to pass. Use advanced IPv6 ACL 3000 to filter redistributed routes.

<Sysname> system-view

[Sysname] acl ipv6 advanced 3000

[Sysname-acl-ipv6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128

[Sysname-acl-ipv6-adv-3000] rule 100 deny ipv6

[Sysname-acl-ipv6-adv-3000] quit

[Sysname] ripng 100

[Sysname-ripng-100] filter-policy 3000 export

RIPng commands -- filter-policy import

Use filter-policy import to configure RIPng to filter received routes.

Use undo filter-policy import to restore the default.

Syntax

filter-policy { ipv6-acl-number | prefix-list prefix-list-name } import

undo filter-policy import

Default

RIPng does not filter received routes.

Views

RIPng view

Predefined user roles

network-admin

mdc-admin

Parameters

ipv6-acl-number: Specifies an IPv6 ACL by its number in the range of 2000 to 3999 to filter received routes.

prefix-list prefix-list-name: Specifies an IPv6 prefix list by its name, a string of 1 to 63 characters, to filter received routes.

Usage guidelines

To use an advanced ACL (with a number from 3000 to 3999) in the command, configure the ACL in one of the following ways:

· To deny/permit a route with the specified destination, use the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix command.

· To deny/permit a route with the specified destination and prefix, use the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix destination dest dest-prefix command.

The source keyword specifies the destination address of a route and the destination keyword specifies the prefix of the route. For the configuration to take effect, specify a contiguous prefix.

Examples

# Use the IPv6 prefix list abc to filter received RIPng updates.

<Sysname> system-view

[Sysname] ipv6 prefix-list abc index 10 permit 100:1:: 32

[Sysname] ripng 100

[Sysname-ripng-100] filter-policy prefix-list abc import

# Configure advanced IPv6 ACL 3000 to permit only route 2001::1/128 to pass. Use advanced IPv6 ACL 3000 to filter received routes.

<Sysname> system-view

[Sysname] acl ipv6 advanced 3000

[Sysname-acl-ipv6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128

[Sysname-acl-ipv6-adv-3000] rule 100 deny ipv6

[Sysname-acl-ipv6-adv-3000] quit

[Sysname] ripng 100

[Sysname-ripng-100] filter-policy 3000 import

RIPng commands -- graceful-restart

Use graceful-restart to enable Graceful Restart (GR) for RIPng.

Use undo graceful-restart to disable RIPng GR.

Syntax

graceful-restart

undo graceful-restart

Default

RIPng GR is disabled.

Views

RIPng view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

RIPng GR and RIPng NSR are mutually exclusive. Do not configure the graceful-restart command and the non-stop-routing command at the same time.

Examples

# Enable GR for RIPng process 1.

<Sysname> system-view

[Sysname] ripng 1

[Sysname-ripng-1] graceful-restart

RIPng commands -- graceful-restart interval

Use graceful-restart interval to set the GR interval.

Use undo graceful-restart interval to restore the default.

Syntax

graceful-restart interval interval

undo graceful-restart interval

Default

The GR interval is 60 seconds.

Views

RIPng view

Predefined user roles

network-admin

mdc-admin

Parameters

interval: Specifies the GR interval in the range of 5 to 360 seconds.

Examples

# Set the GR interval to 200 seconds for RIPng process 1.

<Sysname> system-view

[Sysname] ripng 1

[Sysname-ripng-1] graceful-restart interval 200

RIPng commands -- import-route

Use import-route to redistribute routes from another routing protocol.

Use undo import-route to remove routes redistributed from another routing protocol.

Syntax

import-route protocol [ as-number | process-id ] [ allow-ibgp ] [ allow-direct | cost cost-value | route-policy route-policy-name ] *

undo import-route protocol [ process-id ]

Default

RIPng does not redistribute routes from another routing protocol.

Views

RIPng view

Predefined user roles

network-admin

mdc-admin

Parameters

protocol: Specifies a routing protocol from which RIPng redistributes routes.

as-number: Specifies an AS by its number in the range of 1 to 4294967295. This argument applies only to the bgp4+ protocol. If you do not specify the as-number argument, this command redistributes all IPv6 EBGP routes. As a best practice, specify the AS number to avoid redistributing excessive IPv6 EBGP routes.

process-id: Specifies a process by its ID in the range of 1 to 65535. The default is 1. This argument is available only when the protocol is isisv6, ospfv3, or ripng.

allow-ibgp: Allows redistribution of IBGP routes. This keyword is available when the protocol argument is set to bgp4+.

allow-direct: Redistributes the networks of the local interfaces enabled with the specified routing protocol. By default, the networks of the local interfaces are not redistributed. If you specify both the allow-direct keyword and the route-policy route-policy-name option, make sure the if-match rule defined in the routing policy does not conflict with the allow-direct keyword. For example, if you specify the allow-direct keyword, do not configure the if-match route-type rule for the routing policy. Otherwise, the allow-direct keyword does not take effect.

cost cost-value: Specifies a metric for redistributed routes, in the range of 0 to 16. The default metric is 0.

route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.

Usage guidelines

The import-route bgp4+ command redistributes only EBGP routes. The import-route bgp4+ allow-ibgp command redistributes both EBGP and IBGP routes.

Examples

# Redistribute routes from IPv6 IS-IS process 7 into RIPng and set the metric for redistributed routes to 7.

<Sysname> system-view

[Sysname] ripng 100

[Sysname-ripng-100] import-route isisv6 7 cost 7

RIPng commands -- maximum load-balancing

Use maximum load-balancing to set the maximum number of equal-cost multi-path (ECMP) routes for load balancing.

Use undo maximum load-balancing to restore the default.

Syntax

maximum load-balancing number

undo maximum load-balancing

Default

The maximum number of RIPng ECMP routes equals the maximum number of ECMP routes supported by the system.

Views

RIPng view

Predefined user roles

network-admin

mdc-admin

Parameters

number: Specifies the maximum number of ECMP routes. When this argument takes a value of 1, RIPng does not perform load balancing. The value range and default value for this argument vary by device model.

Usage guidelines

The value range for the number argument of the maximum load-balancing command depends on the maximum number of ECMP routes supported by the system. You can use the max-ecmp-num command to set the maximum number of ECMP routes supported by the system to m. After a reboot, the value range for the number argument is 1 to m.

Examples

# Set the maximum number of ECMP routes to 2.

<Sysname> system-view

[Sysname] ripng 100

[Sysname-ripng-100] maximum load-balancing 2

Related commands

max-ecmp-num

RIPng commands -- non-stop-routing

Use non-stop-routing to enable RIPng NSR.

Use undo non-stop-routing to disable RIPng NSR.

Syntax

non-stop-routing

undo non-stop-routing

Default

RIPng NSR is disabled.

Views

RIPng view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

RIPng NSR enabled for a RIPng process takes effect only on that process. If multiple RIPng processes exist, enable RIPng NSR for each process as a best practice.

RIPng NSR and RIPng GR are mutually exclusive. Do not configure the non-stop-routing command and the graceful-restart command at the same time.

Examples

# Enable NSR for RIPng process 1.

<Sysname> system-view

[Sysname] ripng 1

[Sysname-ripng-1] non-stop-routing

RIPng commands -- output-delay

Use output-delay to set the RIPng packet sending interval and the maximum number of RIPng packets that can be sent at each interval.

Use undo output-delay to restore the default.

Syntax

output-delay time count count

undo output-delay

Default

A RIPng process sends a maximum of three RIPng packets every 20 milliseconds.

Views

RIPng view

Predefined user roles

network-admin

mdc-admin

Parameters

time: Specifies the RIPng packet sending interval in the range of 10 to 100 milliseconds.

count: Specifies the maximum number of RIPng packets sent by a RIPng process at each interval, in the range of 1 to 30.

Usage guidelines

If you configure the RIPng packet sending rate for both a RIPng process and an interface running the RIPng process, the configuration on the interface takes effect.

Examples

# Configure RIPng process 1 to send a maximum of 10 RIPng packets every 60 milliseconds.

<Sysname> system-view

[Sysname] ripng 1

[Sysname-ripng-1] output-delay 60 count 10

Related commands

ripng output-delay

RIPng commands -- preference

Use preference to set the preference for RIPng routes.

Use undo preference to restore the default.

Syntax

preference { preference | route-policy route-policy-name } *

undo preference

Default

The preference of RIPng routes is 100.

Views

RIPng view

Predefined user roles

network-admin

mdc-admin

Parameters

preference: Specifies the preference for RIPng routes, in the range of 1 to 255. The smaller the value, the higher the preference.

route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.

Usage guidelines

You can specify a routing policy to set a preference for the matching RIPng routes.

· The preference set by the routing policy applies to all matching RIPng routes. The preference of other routes is set by the preference command.

· If no preference is set by the routing policy, the preference of all RIPng routes is set by the preference command.

Examples

# Set the preference for RIPng routes to 120.

<Sysname> system-view

[Sysname] ripng 100

[Sysname-ripng-100] preference 120

RIPng commands -- reset ripng process

Use reset ripng process to restart a RIPng process.

Syntax

reset ripng process-id process

Views

User view

Predefined user roles

network-admin

mdc-admin

Parameters

process-id: Specifies a RIPng process by its ID in the range of 1 to 65535.

Usage guidelines

After executing the command, you are prompted to confirm the operation.

Examples

# Restart RIPng process 100.

<Sysname> reset ripng 100 process

Reset RIPng process? [Y/N]:y

RIPng commands -- reset ripng statistics

Use reset ripng statistics to clear statistics for a RIPng process.

Syntax

reset ripng process-id statistics

Views

User view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

process-id: Specifies a RIPng process by its ID in the range of 1 to 65535.

Examples

# Clear statistics for RIPng process 100.

<Sysname> reset ripng 100 statistics

RIPng commands -- ripng

Use ripng to enable RIPng and enter RIPng view.

Use undo ripng to disable RIPng.

Syntax

ripng [ process-id ] [ vpn-instance vpn-instance-name ]

undo ripng [ process-id ]

Default

RIPng is disabled.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

process-id: Specifies a RIPng process by its ID in the range of 1 to 65535. The default value is 1.

vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, the RIPng process runs on the public network.

Usage guidelines

Before you configure global RIPng parameters, you must create a RIPng process. This restriction does not apply to configuring interface RIPng parameters.

If you disable a RIPng process, the configured RIPng parameters become invalid.

Examples

# Create RIPng process 100 and enter its view.

<Sysname> system-view

[Sysname] ripng 100

[Sysname-ripng-100]

RIPng commands -- ripng default-route

Use ripng default-route to configure a RIPng interface to advertise a default route with a specified metric.

Use undo ripng default-route to disable a RIPng interface from sending a default route.

Syntax

ripng default-route { only | originate } [ cost cost-value | route-policy route-policy-name ] *

undo ripng default-route

Default

A RIPng process does not advertise a default route.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

only: Advertises only an IPv6 default route (::/0).

originate: Advertises an IPv6 default route (::/0) and other routes.

cost-value: Specifies a cost for the default route, in the range of 1 to 15. The default is 1.

route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. The command advertises a default route only when a route in the routing table matches the routing policy.

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.

A RIPng interface configured to advertise a default route does not receive any default routes from its neighbors.

Examples

# Configure RIPng on GigabitEthernet 1/0/1 to advertise only a default route. (Applicable to routers.)

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] ripng default-route only

# Configure RIPng on GigabitEthernet 1/0/1 to advertise a default route and other routes. (Applicable to routers.)

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] ripng default-route originate

# Configure RIPng on VLAN-interface 100 to advertise only a default route. (Applicable to switches.)

<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. (Applicable to switches.)

<Sysname> system-view

[Sysname] interface vlan-interface 101

[Sysname-Vlan-interface101] ripng default-route originate

RIPng commands -- 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 enable

Default

RIPng is disabled on an interface.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

process-id: Specifies a RIPng process by its ID in the range of 1 to 65535.

Examples

# Enable RIPng 100 on GigabitEthernet 1/0/1. (Applicable to routers.)

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] ripng 100 enable

# Enable RIPng 100 on VLAN-interface 100. (Applicable to switches.)

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] ripng 100 enable

RIPng commands -- ripng ipsec-profile

Use ripng ipsec-profile to apply an IPsec profile to a RIPng interface.

Use undo ripng ipsec-profile to remove the IPsec profile from the RIPng interface.

Syntax

ripng ipsec-profile profile-name

undo ripng ipsec-profile

Default

No IPsec profile is applied to the RIPng interface.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

profile-name: Specifies an IPsec profile by its name, a case-insensitive string of 1 to 63 characters.

Usage guidelines

This command must reference an IPsec profile. For more information about IPsec profiles, see Security Configuration Guide.

Examples

# Apply IPsec profile profile001 to GigabitEthernet 1/0/1. (Applicable to routers.)

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] ripng ipsec-profile profile001

# Apply IPsec profile profile001 to VLAN-interface 100. (Applicable to switches.)

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] ripng ipsec-profile profile001

RIPng commands -- ripng metricin

Use ripng metricin to configure an interface to add a metric to inbound RIPng routes.

Use undo ripng metricin to restore the default.

Syntax

ripng metricin value

undo ripng metricin

Default

The additional metric of an inbound route is 0.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

value: Adds an additional metric to inbound routes, in the range of 0 to 16.

Examples

# Configure GigabitEthernet 1/0/1 to add a metric of 12 to inbound RIPng routes. (Applicable to routers.)

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] ripng metricin 12

# Configure VLAN-interface 100 to add a metric of 12 to inbound RIPng routes. (Applicable to switches.)

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] ripng metricin 12

RIPng commands -- ripng metricout

Use ripng metricout to configure an interface to add a metric to outbound RIPng routes.

Use undo ripng metricout to restore the default.

Syntax

ripng metricout value

undo ripng metricout

Default

The additional metric of outbound routes is 1.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

value: Adds an additional metric to outbound routes, in the range of 1 to 16.

Examples

# Configure RIPng on GigabitEthernet 1/0/1 to add a metric of 12 to outbound RIPng routes. (Applicable to routers.)

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] ripng metricout 12

# Configure RIPng on VLAN-interface 100 to add a metric of 12 to outbound routes. (Applicable to switches.)

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] ripng metricout 12

RIPng commands -- ripng output-delay

Use ripng output-delay to set the RIPng packet sending interval and the maximum number of RIPng packets that can be sent by an interface at each interval.

Use undo ripng output-delay to restore the default.

Syntax

ripng output-delay time count count

undo ripng output-delay

Default

An interface uses the RIPng packet sending rate set for the RIPng process that the interface runs.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

time: Specifies the RIPng packet sending interval in the range of 10 to 100 milliseconds.

count: Specifies the maximum number of RIPng packets sent at each interval, in the range of 1 to 30.

Usage guidelines

If you set the RIPng packet sending rate for both a RIPng process and an interface running the RIPng process, the configuration on the interface takes effect.

Examples

# Configure GigabitEthernet 1/0/1 to send a maximum of six RIPng packets every 30 milliseconds. (Applicable to routers.)

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] ripng output-delay 30 count 6

# Configure VLAN-interface 100 to send a maximum of six RIPng packets every 30 milliseconds. (Applicable to switches.)

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] ripng output-delay 30 count 6

Related commands

output-delay

RIPng commands -- ripng poison-reverse

Use ripng poison-reverse to enable poison reverse.

Use undo ripng poison-reverse to disable poison reverse.

Syntax

ripng poison-reverse

undo ripng poison-reverse

Default

Poison reverse is disabled.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Examples

# Enable poison reverse for RIPng update messages on GigabitEthernet 1/0/1. (Applicable to routers.)

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] ripng poison-reverse

# Enable poison reverse for RIPng update messages on VLAN-interface 100. (Applicable to switches.)

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] ripng poison-reverse

RIPng commands -- ripng primary-path-detect bfd echo

Use ripng primary-path-detect bfd echo to enable BFD single-hop echo detection for RIPng FRR.

Use undo ripng primary-path-detect bfd to disable BFD single-hop echo detection for RIPng FRR.

Syntax

ripng primary-path-detect bfd echo

undo ripng primary-path-detect bfd

Default

BFD single-hop echo detection is disabled for RIPng FRR.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

This command enables RIPng FRR to use BFD single-hop echo detection to detect primary link failures.

Examples

# Enable BFD single-hop echo detection for RIPng FRR on GigabitEthernet 1/0/1. (Applicable to routers.)

<Sysname> system-view

[Sysname] ripng 1

[Sysname-ripng-1] fast-reroute route-policy frr

[Sysname-ripng-1] quit

[Sysname] bfd echo-source-ipv6 1::1

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] ripng primary-path-detect bfd echo

# Enable BFD single-hop echo detection for RIPng FRR on VLAN-interface 10. (Applicable to switches.)

<Sysname> system-view

[Sysname] ripng 1

[Sysname-ripng-1] fast-reroute route-policy frr

[Sysname-ripng-1] quit

[Sysname] bfd echo-source-ipv6 1::1

[Sysname] interface vlan-interface 11

[Sysname-Vlan-interface11] ripng primary-path-detect bfd echo

RIPng commands -- ripng split-horizon

Use ripng split-horizon to enable split horizon.

Use undo ripng split-horizon to disable split horizon.

Syntax

ripng split-horizon

undo ripng split-horizon

Default

Split horizon is enabled.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

Split horizon prevents routing loops. If you want to disable this feature, make sure the operation is indispensable.

If both poison reverse and split horizon are enabled, only poison reverse takes effect.

On NBMA networks, such as FR where multiple VCs are configured on the primary and secondary interfaces, disable split horizon to ensure correct route advertisement. For more information, see Layer 2—WAN Configuration Guide.

Examples

# Enable split horizon on GigabitEthernet 1/0/1. (Applicable to routers.)

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] ripng split-horizon

# Enable split horizon on VLAN-interface 100. (Applicable to switches.)

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] ripng split-horizon

RIPng commands -- ripng summary-address

Use ripng summary-address to configure a summary network to be advertised through an interface.

Use undo ripng summary-address to remove a summary network.

Syntax

ripng summary-address ipv6-address prefix-length

undo ripng summary-address ipv6-address prefix-length

Default

No summary network is configured to be advertised through an interface.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

ipv6-address: Specifies the destination IPv6 address of the summary route.

prefix-length: Specifies the prefix length of the destination IPv6 address of the summary route, in the range of 0 to 128. It indicates the number of consecutive 1s of the prefix, which defines the network ID.

Usage guidelines

Networks on the summary network will not be advertised. The cost of the summary route is the lowest cost among summarized routes.

Examples

# Assign an IPv6 address with the 64-bit prefix to GigabitEthernet 1/0/1 and configure a summary with the 35-bit prefix. (Applicable to routers.)

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] ipv6 address 2001:200::3EFF:FE11:6770/64

[Sysname-GigabitEthernet1/0/1] ripng summary-address 2001:200:: 35

# Assign an IPv6 address with the 64-bit prefix to VLAN-interface 100 and configure a summary with the 35-bit prefix. (Applicable to switches.)

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] ipv6 address 2001:200::3EFF:FE11:6770/64

[Sysname-Vlan-interface100] ripng summary-address 2001:200:: 35

RIPng commands -- timer triggered

Use timer triggered to set the interval for sending triggered updates.

Use undo timer triggered to restore the default.

Syntax

timer triggered maximum-interval [ minimum-interval [ incremental-interval ] ]

undo timer triggered

Default

The maximum, minimum, and incremental intervals for sending triggered updates are 5 seconds, 50 milliseconds, and 200 milliseconds, respectively.

Views

RIPng view

Predefines user roles

network-admin

mdc-admin

Parameters

maximum-interval: Specifies the maximum interval for sending triggered updates, in the range of 1 to 5 seconds.

minimum-interval: Specifies the minimum interval for sending triggered updates, in the range of 10 to 5000 milliseconds.

incremental-interval: Specifies the incremental interval for sending triggered updates, in the range of 100 to 1000 milliseconds.

Usage guidelines

The minimum interval and the incremental interval cannot be greater than the maximum interval.

For a stable network, the minimum interval is used. If network changes become frequent, the incremental interval incremental-interval is used to increase the triggered update sending interval until the maximum-interval is reached.

Examples

# Set the maximum, minimum, and incremental intervals for sending triggered updates to 2 seconds, 100 milliseconds, and 100 milliseconds, respectively.

<Sysname> system-view

[Sysname] ripng 100

[Sysname-ripng-100] timer triggered 2 100 100

RIPng commands -- timers

Use timers to set RIPng timers.

Use undo timers to restore the default.

Syntax

timers { garbage-collect garbage-collect-value | suppress suppress-value | timeout timeout-value | update update-value } *

undo timers { garbage-collect | suppress | timeout | update } *

Default

The garbage-collect timer is 120 seconds, the suppress timer is 120 seconds, the timeout timer is 180 seconds, and the update timer is 30 seconds.

Views

RIPng view

Predefines user roles

network-admin

mdc-admin

Parameters

garbage-collect-value: Sets the garbage-collect timer in the range of 1 to 86400 seconds.

suppress-value: Sets the suppress timer in the range of 0 to 86400 seconds.

timeout-value: Sets the timeout timer in the range of 1 to 86400 seconds.

update-value: Sets the update timer in the range of 1 to 86400 seconds.

Usage guidelines

RIPng has the following timers:

· Update timer—Interval between update messages.

· Timeout timer—Route aging time. If no update for a route is received before the timer expires, RIPng sets the metric of the route to 16.

· Suppress timer—How long a RIPng route stays in suppressed state. When the metric of a route becomes 16, the route enters the suppressed state. If RIPng receives an update for the route from the same neighbor and the route in the update has a metric less than 16, RIPng uses the route to replace the suppressed route.

· Garbage-collect timer—Interval from when the metric of a route becomes 16 to when it is deleted from the routing table. During the garbage-collect timer length, RIPng advertises the route with a metric of 16. If no update is announced for that route before the garbage-collect timer expires, RIPng deletes the route from the routing table.

As a best practice, do not change the default values of these timers.

The timer lengths must be kept consistent on all routers in the network.

Examples

# Set the update, timeout, suppress, and garbage-collect timers to 5 seconds, 15 seconds, 15 seconds, and 30 seconds.

<Sysname> system-view

[Sysname] ripng 1

[Sysname-ripng-1] timers update 5 timeout 15 suppress 15 garbage-collect 30