No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

S1720, S2700, S5700, and S6720 V200R011C10

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
RIPng Configuration Commands

RIPng Configuration Commands

Command Support

The following describes command support of S sereis switches. For details about support for some specific commands or parameters, see the commands.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5700S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X

Supported.

S5700LI

Supported. Only the S5700-10P-PWR-LI-AC/S5700-10P-LI-AC do not support RIPng.

S2750

Not supported.

S1720GFR

Not supported.

checkzero (RIPng)

Function

The checkzero command enables zero field check for RIPng packets.

The undo checkzero command disables zero field check for RIPng packets.

By default, zero field check is enabled for RIPng packets.

Format

checkzero

undo checkzero

Parameters

None

Views

RIPng view

Default Level

2: Configuration level

Usage Guidelines

After zero field check is enabled, the switch refuses to process the RIPng packets in which zero fields are not 0. If all RIPng packets are reliable and no zero field needs to be checked, run the undo checkzero command to reduce CPU usage.

Example

# Disable zero field check for RIPng packets.

<HUAWEI> system-view
[HUAWEI] ripng 1
[HUAWEI-ripng-1] undo checkzero
Related Topics

default-cost (RIPng)

Function

The default-cost command sets the default cost for imported routes.

The undo default-cost command restores the default value 0.

By default, the default cost of RIPng routes is 0.

Format

default-cost cost

undo default-cost

Parameters

Parameter Description Value
cost Sets the default cost of imported routes. The value is an integer that ranges from 0 to 15.

Views

RIPng view

Default Level

2: Configuration level

Usage Guidelines

You can run one of the following commands to set the cost of imported routes. The following commands are listed in descending order of priorities.

  • Run the apply cost command to set the cost of routes.

  • Run the import-route (RIPng) command to set the cost of imported routes.

  • Run the default-cost (RIPng) command to set the default cost of imported routes.

Example

# Set the default cost of imported routes to 2.

<HUAWEI> system-view
[HUAWEI] ripng 100
[HUAWEI-ripng-100] default-cost 2

description (RIPng)

Function

The description command configures a description for a RIPng process.

The undo description command deletes the configured description of a RIPng process.

By default, there is no description for a RIPng process.

Format

description text

undo description

Parameters

Parameter Description Value
text Configures a description for a RIPng process. The description is a string of 1 to 80 case-sensitive characters that can contain spaces.

Views

RIPng view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Configuring descriptions for RIPng processes helps identify and configure RIPng processes.

Precautions

If you run the description command multiple times, only the latest configuration takes effect.

Example

# Configure a description for RIPng process 100.

<HUAWEI> system-view
[HUAWEI] ripng 100
[HUAWEI-ripng-100] description this process configure the poison reverse process 

display default-parameter ripng

Function

The display default-parameter ripng command displays the default RIPng configuration.

Format

display default-parameter ripng

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

After the default RIPng configuration is modified, you can use the display default-parameter ripng command to view the default RIPng configuration used when RIPng is initialized.

Example

# Display the default RIPng configuration.

<HUAWEI> display default-parameter ripng
--------------------------------------------                                    
 Protocol Level Default Configurations                                          
--------------------------------------------                                    
       Preference    : 100                                                      
       Checkzero     : Enabled                                                  
       Default-cost  : 0                                                        
       Maximum Balanced Paths : 8                                               
       Update time   : 30 sec     Age time   : 180 sec                          
       Garbage-collect time            : 120 sec                                
--------------------------------------------                                    
 Interface Level Default Configurations                                         
--------------------------------------------                                    
    Metricin                : 0                                                 
    Metricout               : 1                                                 
    Input Packet Processing : Enabled                                           
    Output Packet Processing: Enabled                                           
    Poison Reverse          : Disabled                                          
    Split Horizon                                                               
     For Broadcast and P2P Interfaces     :  Enabled                            
     For NBMA Interfaces and LoopBack     :  Disabled                           
    Default Route                         :  Disabled                           
    Packet Transmit Interval              :  200 msecs                          
    Packet Transmit Number                :  30                                 
Table 7-14  Description of the display default-parameter ripng command output

Item

Description

Protocol Level Default Configurations

Default RIPng process configuration.

Preference

RIPng route preference.

Checkzero

Whether zero field check is enabled for RIPng packets.

Default Cost

Default cost of routes imported by RIPng from other routing protocols.

Maximum Balanced Paths

Maximum number of equal-cost routes for load balancing.

Update time

Interval for sending Update packets.

Age time

Aging time of RIPng routes.

Garbage-Collect time

Time from when a route is marked invalid until the route is removed from the routing table.

Interface Level Default Configurations

Default RIPng configuration on an interface.

Metricin

Metric that is added to a route when a RIPng packet is received.

Metricout

Metric that is added to a route when a RIPng packet is sent.

Poison Reverse

Whether poison reverse is enabled.

Split Horizon

Whether split horizon is enabled:
  • For Broadcast and P2P Interfaces: broadcast and P2P interfaces

  • For NBMA Interfaces and LoopBack: NBMA and loopback interfaces

Default-route

Default route. This route is used when no matching entry can be found for a packet in the routing table.

Packet Transmit Interval

Interval for forwarding packets, in milliseconds.

Packet Transmit Number

Number of forwarded packets.

Input Packet Processing

Whether this interface is enabled to receive RIPng packets

Output Packet Processing

Whether this interface is enabled to send RIPng packets

display ripng

Function

The display ripng command displays the current operating status and configuration of RIPng processes.

Format

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

NOTE:

Only the S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X support the vpn-instance vpn-instance-name parameter.

Parameters

Parameter Description Value
process-id Displays the current operating status and configuration of the specified RIPng process. If this parameter is not specified, the configurations of all RIPng processes are displayed. The value is an integer that ranges from 1 to 65535.
vpn-instance vpn-instance-name Displays the status and configuration of a specified VPN instance. The value must be an existing VPN instance name.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ripng command to check the current operating status and configuration of RIPng processes.

Example

# Display information about a specified RIPng process.

<HUAWEI> display ripng 100
Public vpn-instance
    RIPng process : 100
       Preference : 100
       Checkzero : Enabled
       Default-cost : 0
       Maximum number of balanced paths : 8
       Update time   : 30 sec   Age time  : 180 sec
       Garbage-collect time : 120 sec
       Number of periodic updates sent : 0
       Number of trigger updates sent : 1
       Number of routes in database : 1
       Number of interfaces enabled : 1
       Total number of routes : 3 
       Total number of routes in ADV DB is : 0 
Table 7-15  Description of the display ripng command output

Item

Description

Public vpn-instance

Public VPN.

RIPng process

RIPng process ID.

Preference

RIPng process preference. To set the preference for RIPng routes, run the preference (RIPng) command.

Checkzero

Whether zero field check is enabled for RIPng packets.

Default-cost

Default cost of routes imported by RIPng from other routing protocols.

Maximum number of balanced paths

Maximum number of equal-cost routes for load balancing. To set the preference for RIPng routes, run the maximum load-balancing (RIPng) command.

Update time

Interval for sending Update packets.

Age time

Aging time of RIPng routes.

Garbage-collect time

Time from when a route is marked invalid until the route is removed from the routing table.

Number of periodic updates sent

Number of RIPng Update packets sent periodically.

Number of trigger updates sent

Number of triggered RIPng Update packets.

Number of routes in database

Number of routes in the RIPng database.

Number of interfaces enabled

Number of RIPng interfaces.

Total number of routes

Total number of routes of a RIPng process.

Total number of routes in ADV DB is

Total number of advertised routes in the database.

Related Topics

display ripng database

Function

The display ripng database command displays all the active routes in the RIPng database.

Format

display ripng process-id database [ verbose ]

Parameters

Parameter Description Value
process-id Displays all the active routes of the specified RIPng process. The value is an integer that ranges from 1 to 65535.
verbose Displays detailed information about the routes in the RIPng database. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ripng database command to check all the active routes in the RIPng database.

Example

# Display routes in the RIPng database.

<HUAWEI> display ripng 100 database
1::/64,                                                                      
        via FE80::82FB:6FF:FE35:45B6, Vlanif200, cost 0, Imported 
   2::/64,                                                                      
        Vlanif100, cost 0, RIPng-interface                           
   3::/64,                                                                      
        via FE80::82FB:6FF:FE35:45B6, Vlanif200, cost 16             
   3::/64,                                                                      
        Vlanif200, cost 0, RIPng-interface                           
   4::/64,                                                                      
        via FE80::82FB:6FF:FE35:45B6, Vlanif200, cost 1
Table 7-16  Description of the display ripng database command output

Item

Description

1::/64

Destination IPv6 address of a route.

via

Next-hop link-local address.

cost

Cost of a route.

Imported

Route imported from other routing protocols.

RIPng-interface

Route generated by RIPng.

Related Topics

display ripng interface

Function

The display ripng interface command displays information about RIPng interfaces.

Format

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

Parameters

Parameter Description Value
process-id Displays interface information in the specified RIPng process. The value is an integer that ranges from 1 to 65535.
interface-type interface-number Displays information on the interface with the specified type and number. -
verbose Displays detailed information about RIPng interfaces. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

This command displays the configuration and operating status of RIPng. The information is helpful in fault location and configuration verification.

Example

# Display information about VLANIF100 of the specified RIPng process.

<HUAWEI> display ripng 1 interface vlanif 100
 Vlanif100
    FE80::A0A:200:1
    State : UP, Protocol : RIPNG, MTU : 1440  
Table 7-17  Description of the display ripng interface command output

Item

Description

FE80::A0A:200:1

Link-local address of the interface.

State

Status of the interface:
  • UP

  • DOWN

Protocol

Routing protocol running on the interface.

MTU

Link MTU.

# Display detailed information about VLANIF100 of the specified RIPng process.

<HUAWEI> display ripng 1 interface vlanif100 verbose
 VLANIF100
    FE80::A0A:200:1
    State : UP, Protocol : RIPNG, MTU : 1440
    Metricin       : 0           
    Metricout      : 1
    Input          : Enabled     Output : Enabled
    Default Route  : Disabled
    Poison Reverse : Disabled
    Split Horizon  : Enabled           
Table 7-18  Description of the display ripng interface verbose command output

Item

Description

FE80::A0A:200:1

Link-local address of the interface.

State

Status of the interface:
  • UP

  • DOWN

Protocol

Routing protocol running on the interface.

MTU

Link MTU.

Metricin

Metric added to a received route. To set the metric, run the ripng metricin command.

Metricout

Metric added to a sent route. To set the metric, run the ripng metricout command.

Input

Indicates whether this interface is enabled to receive RIPng packets. To enable the specified interface to receive RIPng packets, run the ripng input command.

Output

Indicates whether this interface is enabled to send RIPng packets. To enable an interface to send RIPng packets, run the ripng output command.

Default Route

Whether the interface is enabled to advertise default routes. To generate a default route to the RIPng routing domain, run the ripng default-route command.

Poison Reverse

Whether poison reverse is enabled on the interface. To enable poison reverse for RIPng, run the ripng poison-reverse command.

Split Horizon

Whether split horizon is enabled on the interface. To enable split horizon for RIPng, run the ripng split-horizon command.

Related Topics

display ripng neighbor

Function

The display ripng neighbor command displays information about RIPng neighbors.

Format

display ripng process-id neighbor [ verbose ]

Parameters

Parameter Description Value
process-id Displays neighbor information in the specified RIPng process. The value is an integer that ranges from 1 to 65535.
verbose Displays detailed information about RIPng neighbors. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ripng neighbor command to check information about RIPng neighbors.

Example

# Display neighbor information in RIPng process 1.

<HUAWEI> display ripng 1 neighbor
 Neighbor : FE80::A0A:201:1 Vlanif100
    Protocol : RIPNG
Table 7-19  Description of the display ripng neighbor command output

Item

Description

Neighbor

IPv6 address and interface type of the neighbor interface.

Protocol

Routing protocol.

# Display detailed neighbor information in RIPng process 1.

<HUAWEI> display ripng 1 neighbor verbose
 Neighbor : FE80::A0A:201:1 VLANIF100
    Protocol : RIPNG
    Number of Active routes      : 1
    Number of routes in garbage  : 0 
Table 7-20  Description of the display ripng neighbor verbose command output

Item

Description

Number of Active routes

Number of active routes.

Number of routes in garbage

Number of garbage routes.

display ripng neighbor last-nbr-down

Function

The display ripng neighbor last-nbr-down command displays information about the last neighbor that goes Down in a RIPng process.

Format

display ripng process-id neighbor last-nbr-down

Parameters

Parameter Description Value
process-id Displays information about the last neighbor that goes Down in the specified RIPng process. The value is an integer that ranges from 1 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display ripng neighbor last-nbr-down command can be used to view information about the last neighbor that goes Down in a RIPng process and the reason why the neighbor goes Down.

Example

# Display information about the last neighbor that goes Down in a RIPng process.

<HUAWEI> display ripng 1 neighbor last-nbr-down
 Neighbor down index              : 1 
 Neighbor Link local Address      : FE80::2E0:B7FF:FE5B:8242
 Interface                        : vlanif 100
 Reason for Neighbor down         : Interface Down
 Time at which neighbor went down : 2011-06-02 12:03:40+03:00 DST
Table 7-21  Description of the display ripng neighbor last-nbr-down command output

Item

Description

Neighbor down index

Index of the neighbor that goes Down.

Neighbor link local Address

IPv6 link-local address of the neighbor interface.

Interface

Interface connecting to the neighbor.

Reason for Neighbor down

Reason that a neighbor goes Down
  • Interface Down
  • Configuration Change
  • Time Out (Normal)
  • Time Out (Authentication Failed)

Time at which neighbor went down

Time the neighbor goes Down.

display ripng route

Function

The display ripng route command displays all the RIPng routes that the switch learns from other switches.

Format

display ripng process-id route

Parameters

Parameter Description Value
process-id Displays the RIPng routes of the specified RIPng process that the switch learns from other switches. The value is an integer that ranges from 1 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display ripng route command is useful for debugging and testing protocols.

Example

# Display all active and inactive RIPng routes and timers of each route.

<HUAWEI> display ripng 100 route
   Route Flags: R - RIPng                                        
                A - Aging, G - Garbage-collect
 ----------------------------------------------------------------

 Peer 2000::1  on vlanif100
 Dest 2001:DB8:1::1/32,
     via 2000::1, cost  2, tag 0, RA, 6 Sec
 Dest 2001:DB8:1::2/64,
     via 2000::1, cost  2, tag 0, RA, 6 Sec
 Dest 2001:DB8:1::3/64,
     via 2000::1, cost  2, tag 0, RA, 6 Sec
 Dest 2001:DB8:1::4/64,
     via 2000::1, cost  2, tag 0, RA, 6 Sec
Table 7-22  Description of the display ripng route command output

Item

Description

Route Flags

Route tag. The first character indicates the type of the route, namely, a RIPng route; the second character indicates the status of the route:
  • RA: The RIPng route is in aging state.

  • RG: The RIPng route is in garbage collection state.

Peer

Neighbor connecting to the interface.

Dest

Destination IPv6 address.

via

Next-hop IPv6 address.

cost

Cost of a route.

tag

Route tag.

Sec

Time during which a route remains in the state indicated by the route tag.

Related Topics

display ripng statistics interface

Function

The display ripng statistics interface command displays statistics about packets received and sent by interfaces in a RIPng process.

Format

display ripng process-id statistics interface { all | interface-type interface-number [ verbose | neighbor neighbor-ipv6-address ] }

Parameters

Parameter Description Value
process-id Displays statistics on the interface of the specified RIPng process. The value is an integer that ranges from 1 to 65535.
all Displays statistics on all interfaces. -
interface-type interface-number Displays statistics on the specified interface. -
verbose Displays detailed statistics. -
neighbor neighbor-ipv6-address Displays statistics about the specified neighbor. The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

This command displays the configuration and operating status of RIPng. The information is helpful in fault location and configuration verification.

Example

# Display statistics about VLANIF100 of RIPng process 1.

<HUAWEI> display ripng 1 statistics interface vlanif 100
Vlanif100(FE80::2E0:B9FF:FE7F:1A01)
Statistical information          Last min     Last 5 min    Total
------------------------------------------------------------------
Periodic updates sent            5              23             259
Triggered updates sent           5              30             408
Response packets sent            10              34             434
Response packets received        15              38             467
Response packets ignored         0               0               0
Request packets sent             1               3               8
Request packets received         4              20              40
Request packets ignored          0               0               0
Bad packets received             0               0               0
Routes received                  2              10               0
Routes sent                      1               4               4
Bad routes received              0               0               0
Packets send failed              0               0               0
Table 7-23  Description of the display ripng statistics interface command output

Item

Description

Statistical information

Packet type.

Last min

Statistics within the last minute.

Last 5 min

Statistics within the last 5 minutes.

Total

Total statistics.

Periodic updates sent

Number of periodically sent Update packets.

Triggered updates sent

Number of triggered sent Update packets.

Response packets sent

Number of sent RIPng Response packets.

Response packets received

Number of received RIPng Response packets.

Response packets ignored

Number of ignored RIPng Response packets.

Request packets sent

Number of sent RIPng Request packets.

Request packets received

Number of received RIPng Request packets.

Request packets ignored

Number of ignored RIPng Request packets.

Bad packets received

Number of received packets that cannot be parsed.

Bad routes received

Number of received routes that cannot be parsed.

Routes received

Number of received routes.

Routes sent

Number of sent routes.

Packets send failed

Number of RIPng packets that fail to be sent.

filter-policy export (RIPng)

Function

The filter-policy export command specifies the filtering policy for sent routes.

The undo filter-policy export command cancels the configuration.

By default, no filtering policy is configured.

Format

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

undo filter-policy [ acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name ] export [ protocol [ process-id ] ]

Parameters

Parameter Description Value
acl6-number Specifies the number of a basic IPv6 ACL. The value is an integer ranging from 2000 to 2999.
acl6-name acl6-name Specifies the name of a named IPv6 ACL, which is case sensitive. The name is a string of 1 to 64 case-sensitive characters without spaces.
ipv6-prefix ipv6-prefix-name Specifies the name of an IPv6 prefix list. The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
route-policy route-policy-name Specifies the name of the routing policy. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
protocol Specifies the name of a routing protocol from which routes are imported.

The value can be bgp, direct, isis, unr, ripng, static or ospfv3.

process-id

Specifies the process ID of IS-IS, RIPng or OSPFv3.

The value is an integer that ranges from 1 to 65535.

Views

RIPng view

Default Level

2: Configuration level

Usage Guidelines

In some cases, you need to precisely control the advertisement of RIPng routes to meet complicated network requirements. RIPng can use an IPv6 prefix list , route policy and ACL to filter imported routes, allowing only the routes matching the IPv6 prefix list , route policy and ACL to be advertised to RIPng neighbors.

For a ACL, when the rule command is used to configure a filtering rule, the filtering rule is effective only with the source address range that is specified by the source parameter and with the time period that is specified by the time-range parameter.

Example

# Use IPv6 prefix list Filter2 to filter the RIPng Update packets that need to be advertised.

<HUAWEI> system-view
[HUAWEI] ripng 100
[HUAWEI-ripng-100] filter-policy ipv6-prefix Filter2 export
Related Topics

filter-policy import (RIPng)

Function

The filter-policy import command specifies the filtering policy for received routes. Only the routes that match the filtering policy can be received.

The undo filter-policy import command cancels the configuration.

By default, no filtering policy is configured.

Format

filter-policy { acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name } import

undo filter-policy [ acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name ] import

Parameters

Parameter Description Value
acl6-number Specifies the number of a basic IPv6 ACL. The value is an integer ranging from 2000 to 2999.
acl6-name acl6-name Specifies the name of a named IPv6 ACL, which is case sensitive. The name is a string of 1 to 64 case-sensitive characters without spaces.
ipv6-prefix ipv6-prefix-name Specifies the name of an IPv6 prefix list. The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
route-policy route-policy-name Specifies the name of the routing policy. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

RIPng view

Default Level

2: Configuration level

Usage Guidelines

In some cases, you need to precisely control the receiving of RIPng routes to meet complicated network requirements. RIPng can use an IPv6 prefix list, route policy and ACL to filter received RIPng routes, allowing only the routes matching the IPv6 prefix list, route policy and ACL to be added to RIPng routing tables.

For an ACL, when the rule command is used to configure a filtering rule, the filtering rule is effective only with the source address range that is specified by the source parameter and with the time period that is specified by the time-range parameter.

Example

# Use IPv6 prefix list Filter1 to filter received RIPng Update packets.

<HUAWEI> system-view
[HUAWEI] ripng 1
[HUAWEI-ripng-1] filter-policy ipv6-prefix Filter1 import

import-route (RIPng)

Function

The import-route command imports routes.

The undo import-route command cancels importing routes.

By default, no route is imported.

Format

import-route { { ripng | isis | ospfv3 } [ process-id ] | bgp [ permit-ibgp ] | unr | direct | static } [ [ cost cost | inherit-cost ] | route-policy route-policy-name ] *

undo import-route protocol [ process-id ]

Parameters

Parameter Description Value
protocol Specifies the routing protocol from which routes are imported. The value can be direct, static, ripng, isis, unr, bgp, or ospfv3.
ripng Imports RIPng routes. -
isis Imports IS-IS routes. -
ospfv3 Imports OSPFv3 routes. -
process-id Specifies the process ID of imported routes. The value is an integer that ranges from 1 to 65535.
bgp Imports BGP routes. -
permit-ibgp Imports IBGP routes in a public network instance.
NOTE:
  • Import of IBGP routes in RIPng process can lead to routing loops. Administrators should take care of routing loops before configuring permit-ibgp.
-
unr Imports UNR routes. -
direct Imports direct routes. -
static Imports static routes. -
cost cost Specifies the cost of imported routes. If no cost is specified, the default cost configured using the default-cost command is used. The value is an integer that ranges from 0 to 15.
inherit-cost Specifies to retain the original cost of the imported route. -
route-policy route-policy-name Specifies the name of a route-policy. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

RIPng view

Default Level

2: Configuration level

Usage Guidelines

You can configure a route-policy to allow RIPng to import only the routes that match the rout-policy and set attributes for imported routes.

You can run one of the following commands to set the cost of imported routes. The following commands are listed in descending order of priorities.

  • Run the apply cost command to set the cost of routes.

  • Run the import-route (RIPng view) command to set the cost of imported routes.

  • Run the default-cost (RIPng) command to set the default cost of imported routes.

NOTE:

After the import-route direct command is executed, routes to the network segment where the IPv6 address of the management interface belongs are also imported in the RIPng routing table. Therefore, use this command with caution.

Example

# Import routes from IS-IS process 7 and set the cost of imported routes to 7.

<HUAWEI> system-view
[HUAWEI] ripng 1
[HUAWEI-ripng-1] import-route isis 7 cost 7

# Import the IBGP routes matching route-policy abc to RIPng process 1 and set the cost of imported routes to 5.

<HUAWEI> system-view
[HUAWEI] ripng 1
[HUAWEI-ripng-1] import-route bgp permit-ibgp cost 5 route-policy abc

ipsec sa (RIPng)

Function

The ipsec sa command enables Internet Protocol Security (IPSec) authentication in a RIPng process.

The undo ipsec sa command disables IPSec authentication in a RIPng process.

By default, IPSec authentication is disabled in a RIPng process.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI

Supported

S6720LI, S6720S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S2720EI, S1720GFR, S1720GW-E, S1720GWR-E, S1720X-E, S1720GW, S1720GWR, S1720X

Not supported

Format

ipsec sa sa-name

undo ipsec sa

Parameters

Parameter Description Value
sa-name Specifies the name of an Security Association (SA)

The value is an existing SA name.

Views

RIPng view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The ipsec sa command enables IPSec authentication in a RIPng process. IPSec authenticates received and sent RIPng packets by using the specified SA (including the security algorithm and key). This improves the security of the RIPng network.

If the ipsec sa command is run for a RIPng process, all packets of the process will be authenticated by using the SA specified in the command. This means that the IPSec authentication configuration takes effect on all interfaces in the RIPng process.

If IPSec authentication needs to be enabled only on a certain RIPng interface, run the ripng ipsec sa command in the view of the interface.

Prerequisites

An IPSec SA has been configured.

Precaution

The ripng ipsec sa command takes precedence over the ipsec sa command. If both commands are run in respective views and different SA names are specified, only the configuration of the ripng ipsec sa command takes effect.

Example

# Enable IPSec in a RIPng process and specify sa1 as the SA name.

<HUAWEI> system-view
[HUAWEI] ripng 1
[HUAWEI-ripng-1] ipsec sa sa1

maximum load-balancing (RIPng)

Function

The maximum load-balancing command configures the maximum number of equal-cost routes for load balancing.

The undo maximum load-balancing command restores the default setting.

By default, the maximum number of equal-cost routes is 8.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI

Supported

S6720LI, S6720S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S2720EI, S1720GFR, S1720GW-E, S1720GWR-E, S1720X-E, S1720GW, S1720GWR, S1720X

Not supported

Format

maximum load-balancing number

undo maximum load-balancing

Parameters

Parameter Description Value
number Specifies the maximum number of equal-cost routes for load balancing. The value is an integer that ranges from 1 to 8. The default value is 8.

Views

RIPng view

Default Level

2: Configuration level

Usage Guidelines

If there are multiple links on the network, you can set the maximum number of equal-cost routes for load balancing. This prevents some links from being heavily loaded and improves network resource efficiency.

Example

# Set the maximum number of equal-cost routes to 4.

<HUAWEI> system-view
[HUAWEI] ripng 1
[HUAWEI-ripng-1] maximum load-balancing 4
Related Topics

preference (RIPng)

Function

The preference command specifies the preference for RIPng routes.

The undo preference command restores the default setting.

By default, the preference of RIPng routes is 100.

Format

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

undo preference

Parameters

Parameter Description Value
preference Specifies the preference of RIPng routes. The value is an integer that ranges from 1 to 255.
route-policy route-policy-name Specifies the name of a route-policy. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

RIPng view

Default Level

2: Configuration level

Usage Guidelines

A smaller value indicates a higher preference. To make RIPng routes take precedence over other IGP routes, set a smaller preference value for RIPng routes. The preference values also determine which routing protocol's routes are optimal routes in an IPv6 routing table.

Example

# Set the preference of RIPng routes to 120.

<HUAWEI> system-view
[HUAWEI] ripng 100
[HUAWEI-ripng-100] preference 120

# Set the preference of the RIPng routes matching route-policy policy1 to 60.

<HUAWEI> system-view
[HUAWEI] ripng 100
[HUAWEI-ripng-100] preference route-policy policy1 60

reset ripng statistics

Function

The reset ripng statistics command clears statistics in a specified RIPng process.

Format

reset ripng process-id statistics [ interface { all | interface-type interface-number [ neighbor neighbor-ipv6-address ] } ]

Parameters

Parameter Description Value
process-id Specifies a RIPng process ID. The value is an integer that ranges from 1 to 65535.
interface all Clears statistics on all interfaces. -
interface interface-type interface-number Clears statistics on the specified interface. -
neighbor neighbor-ipv6-address Clears statistics in the RIPng process with the specified neighbor. The value is a 32-digit hexadecimal number, in the common format of X:X:X:X:X:X:X:X.

Views

User view

Default Level

3: Management level

Usage Guidelines

You can use the reset ripng statistics command in the user view to clear statistics in a specified RIPng process and recollect statistics for debugging.

Statistics about a RIPng process cannot be restored after being cleared. So, exercise caution when using this command.

Example

# Clear statistics on all the interfaces in RIPng process 100.

<HUAWEI> reset ripng 100 statistics interface all
Warning:The RIPNG statistics will be reset. Continue? [Y/N] y

ripng

Function

The ripng command creates a RIPng process.

The undo ripng command deletes a RIPng process.

By default, no RIPng process is created.

Format

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

undo ripng process-id

NOTE:

Only the S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI, S6720LI, S6720S-LI, S5720LI, S5720S-LI, S2720EI, S1720X-E, S1720GW-E, S1720GWR-E, S1720GW, S1720GWR, S1720X support the vpn-instance vpn-instance-name parameter.

Parameters

Parameter Description Value
process-id Specifies a RIPng process ID. The value is an integer that ranges from 1 to 65535. The default value is 1.
vpn-instance vpn-instance-name Specifies the name of a VPN instance. The value must be an existing VPN instance name.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Before configuring RIPng functions, run the ripng command to create a RIPng process.

When a RIPng process is deleted, the ripng enable command needs to be run again on interfaces.

Example

# Create a specified RIPng process.

<HUAWEI> system-view
[HUAWEI] ripng 100
[HUAWEI-ripng-100]
Related Topics

ripng default-route

Function

The ripng default-route command generates a default route to the RIPng routing domain.

The undo ripng default-route command disables advertising RIPng default routes and forwarding IPv6 default routes.

By default, there is no default route in the RIPng routing domain.

Format

ripng default-route { only | originate } [ cost cost ]

undo ripng default-route

Parameters

Parameter Description Value
only Advertises only IPv6 default routes (::/0) and suppresses the advertisement of other routes. -
originate Advertises IPv6 default routes (::/0) without affecting the advertisement of other routes. -
cost cost Specifies the cost of default routes. The value is an integer that ranges from 0 to 15. The default value is 0.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

The generated default RIPng route is forcibly advertised in an Update packet through the specified interface, regardless of whether this route already exists in the IPv6 routing table.

This command can take effect only after IPv6 is enabled for the interface by the ipv6 enable command.

Example

# Advertise only default routes in Update packets through an interface.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ipv6 enable
[HUAWEI-Vlanif100] ripng default-route only

# Advertise only default routes in Update packets through an interface.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ripng default-route only

# Advertise default routes together with other routes in Update packets through an interface.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ipv6 enable
[HUAWEI-Vlanif100] ripng default-route originate

## Advertise default routes together with other routes in Update packets through an interface.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ripng default-route originate

ripng enable

Function

The ripng enable command enables RIPng on an interface.

The undo ripng command disables RIPng on an interface.

By default, RIPng process is disabled.

Format

ripng process-id enable

undo ripng

Parameters

Parameter Description Value
process-id Specifies a RIPng process ID. The value is an integer that ranges from 1 to 65535.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

This command can take effect only after IPv6 is enabled for the RIPng process and interfaces.

Example

# Enable RIPng process 100 on VLANIF100.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ripng 100
[HUAWEI-ripng-100] quit
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ipv6 enable
[HUAWEI-Vlanif100] ipv6 address fc00:0:0:1::1/64
[HUAWEI-Vlanif100] ripng 100 enable

# Enable RIPng process 100 on GE0/0/1.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ripng 100
[HUAWEI-ripng-100] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ipv6 address fc00:0:0:1::1/64
[HUAWEI-GigabitEthernet0/0/1] ripng 100 enable
Related Topics

ripng input

Function

The ripng input command enables the specified interface to receive RIPng packets.

The undo ripng input command disables the specified interface from receiving RIPng packets.

By default, interfaces can receive RIPng packets.

Format

ripng input

undo ripng input

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

When a device running RIPng is connected to a network running other routing protocols, you can run the undo ripng input command on the interface that connects the device to the network to prevent the interface from receiving RIPng packets from the network.

Example

# Disable VLANIF100 interface to receive RIPng packets.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] undo ripng input
Related Topics

ripng ipsec sa

Function

The ripng ipsec sa command enables Internet Protocol Security (IPSec) authentication on a RIPng interface.

The undo ripng ipsec sa command disables IPSec authentication on a RIPng interface.

By default, IPSec authentication is disabled on a RIPng interface.

Product

Support

S6720EI, S6720S-EI, S5720HI, S5720EI, S6720SI, S6720S-SI, S5730SI, S5730S-EI, S5720SI, S5720S-SI

Supported

S6720LI, S6720S-LI, S5720LI, S5720S-LI, S5710-X-LI, S5700LI, S5700S-LI, S2750EI, S2720EI, S1720GFR, S1720GW-E, S1720GWR-E, S1720X-E, S1720GW, S1720GWR, S1720X

Not supported

Format

ripng ipsec sa sa-name

undo ripng ipsec sa

Parameters

Parameter Description Value
sa-name Specifies the name of an Security Association (SA).

The value is an existing SA name.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The ripng ipsec sa command enables IPSec on a RIPng interface. IPSec authenticates received and sent RIPng packets by using the specified SA (including the security algorithm and key). This improves the security of the RIPng network.

The command can take effect only after IPv6 is enabled for the interface by the ipv6 enable command.

If the ripng ipsec sa command is run on an interface, all RIPng packets received and sent by the interface will be authenticated by using the SA specified in the command.

Prerequisites

An IPSec SA has been configured.

Precaution

The ripng ipsec sa command takes precedence over the ipsec sa command. If both commands are run in respective views and different SA names are specified, only the configuration of the ripng ipsec sa command takes effect.

Example

# Enable IPSec authentication on a RIPng interface and specify sa3 as the SA name.

<HUAWEI> system-view
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] ipv6 enable
[HUAWEI-Vlanif10] ripng ipsec sa sa3

ripng metricin

Function

The ripng metricin command sets the metric that is added to the RIPng route received by an interface.

The undo ripng metricin command restores the default metric added to a received RIPng route.

By default, an interface does not add the metric to a received RIPng route.

Format

ripng metricin value

undo ripng metricin

Parameters

Parameter Description Value
value Specifies the value of the metric to be added to a received RIPng route. The value is an integer that ranges from 0 to 15. The default value is 0.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

When an interface receives a valid RIPng route, the interface adds a metric to the route before adding the route to the routing table. The metric of this route is changed in the routing table. That is, increasing the metric of an interface also increases the metric of the RIPng route received by the interface.

Before running the ripng metricin command on an interface, run the ipv6 enable command to enable IPv6 on the interface.

Example

# Set the metric that is added to a received RIPng route to 12.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ipv6 enable
[HUAWEI-Vlanif100] ripng metricin 12

# Set the metric that is added to a received RIPng route to 12.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ripng metricin 12

ripng metricout

Function

The ripng metricout command sets the metric that is added to the RIPng route sent by an interface.

The undo ripng metricout command restores the default setting.

By default, the metric that is added to the RIPng route sent by an interface is 1.

Format

ripng metricout { value | { acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name } value1 }

undo ripng metricout

Parameters

Parameter Description Value
value Specifies the metric added to a sent route. The value is an integer that ranges from 1 to 15. The default value is 1.
acl6-number Specifies the number of a basic IPv6 ACL. The value is an integer ranging from 2000 to 2999.
acl6-name acl6-name Specifies the name of a named IPv6 ACL. The name is a string of 1 to 64 case-sensitive characters without spaces.
ipv6-prefix ipv6-prefix-name Specifies the name of an IPv6 prefix list. The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
value1 Specifies the metric added to the route matching the IPv6 prefix list. The value is an integer that ranges from 2 to 15.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

An interface adds a metric to a route before advertising the route. Therefore, increasing the metric of an interface also increases the metric of the RIPng routes sent by the interface. The metric of the route in the routing table, however, remains unchanged.

Before running the ripng metricout command on an interface, run the ipv6 enable command to enable IPv6 on the interface.

Example

# Set the metric that is added to a route sent on an interface to 12.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ipv6 enable
[HUAWEI-Vlanif100] ripng metricout 12

# Set the metric that is added to a route sent on an interface to 12.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ripng metricout 12

# Set the metric that is added to the RIPng route matching IPv6 prefix list p1 to 12.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ip ipv6-prefix p1 permit fc00:0:0:1::1 128
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ipv6 enable
[HUAWEI-Vlanif100] ripng metricout ipv6-prefix p1 12

ripng output

Function

The ripng output command enables an interface to send RIPng packets.

The undo ripng output command disables an interface from sending RIPng packets.

By default, an interface can send RIPng packets.

Format

ripng output

undo ripng output

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

When a device running RIPng is connected to a network running other routing protocols, you can run the undo ripng output command on the interface that connects the device to the network to prevent the interface from sending RIPng packets to the network.

Example

# Disable VLANIF100 interface to send RIPng packets.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] undo ripng output
Related Topics

ripng pkt-transmit

Function

The ripng pkt-transmit command sets the interval for sending Update packets and the number of packets sent each time on a specified interface.

The undo ripng pkt-transmit command restores the default value.

By default, the interval for sending Update packets is 200 ms and the number of packets sent each time is 30 on the RIPng interface.

Format

ripng pkt-transmit { interval interval | number pkt-count } *

undo ripng pkt-transmit

Parameters

Parameter Description Value
interval interval Specifies the interval for sending Update packets. The value is an integer that ranges from 50 to 500, in milliseconds. The default value is 200.
number pkt-count Specifies the number of packets sent each time. The value is an integer that ranges from 25 to 100. The default value is 30.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Running the ripng pkt-transmit command in the interface view as required can accurately control the interval for sending packets and the number of sent packets. RIPng performance is then improved.

Before running the ripng pkt-transmit command on an interface, run the ipv6 enable command to enable IPv6 on the interface.

Example

# Set the interval for sending Update packets on VLANIF100 to 100 ms and the number of packets sent each time to 50.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ipv6 enable
[HUAWEI-Vlanif100] ripng pkt-transmit interval 100 number 50

# Set the interval for sending Update packets on GE0/0/1 to 100 ms and the number of packets sent each time to 50.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ripng pkt-transmit interval 100 number 50

ripng poison-reverse

Function

The ripng poison-reverse command enables poison reverse for RIPng.

The undo ripng poison-reverse command disables poison reverse for RIPng.

By default, poison reverse is disabled for RIPng.

Format

ripng poison-reverse

undo ripng poison-reverse

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

After poison reverse is configured, the route learned from an interface is also sent to the neighboring device through the same interface. The metric of this route is set to 16, indicating that the route is unreachable.

When split horizon and poison reverse are configured on the same interface, only poison reverse takes effect.

Before running the ripng poison-reverse command on an interface, run the ipv6 enable command to enable IPv6 on the interface.

Example

# Enable poison reverse for RIPng Update packets.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ipv6 enable
[HUAWEI-Vlanif100] ripng poison-reverse

# Enable poison reverse for RIPng Update packets.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ripng poison-reverse

# Disable poison reverse for RIPng Update packets.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ipv6 enable
[HUAWEI-Vlanif100] undo ripng poison-reverse

ripng split-horizon

Function

The ripng split-horizon command enables split horizon for RIPng.

The undo ripng split-horizon command disables split horizon for RIPng.

y default, split horizon is enabled except on the NBMA network.

Format

ripng split-horizon

undo ripng split-horizon

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

After split horizon is enabled, a route is blocked if the route is advertised through the interface that learns the route. The split horizon mechanism avoids routing loops between adjacent neighbors.

When poison reverse and split horizon are configured on the same interface, only poison reverse takes effect.

Before running the ripng split-horizon command on an interface, run the ipv6 enable command to enable IPv6 on the interface.

Example

# Enable split horizon for RIPng Update packets.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ipv6 enable
[HUAWEI-Vlanif100] ripng split-horizon

# Enable split horizon for RIPng Update packets.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ripng split-horizon

# Disable split horizon for RIPng Update packets.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ipv6 enable
[HUAWEI-Vlanif100] undo ripng split-horizon

ripng summary-address

Function

The ripng summary-address command configures a RIPng device to advertise summarized IPv6 addresses on an interface.

The undo ripng summary-address command deletes this configuration.

By default, a RIPng switch does not advertise summarized IPv6 addresses.

Format

ripng summary-address ipv6-address prefix-length [ avoid-feedback ]

undo ripng summary-address ipv6-address prefix-length

Parameters

Parameter Description Value
ipv6-address Specifies a summarized IPv6 address. The value is a 32-digit hexadecimal number, in the X:X:X:X:X:X:X:X format.
prefix-length Specifies the prefix length of an IPv6 address. The value is an integer that ranges from 0 to 128.
avoid-feedback Disables an interface from learning the same summarized route. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

If the prefix and prefix length of a route match the defined IPv6 prefix, the defined IPv6 prefix is advertised instead of the route. As a result, multiple routes are replaced by a single route that has a lower metric.

After the keyword avoid-feedback is specified, an interface no longer learns the summarized route with the same IP address as the advertised summarized IP address. This avoids routing loops.

This command can take effect only after IPv6 is enabled for the RIPng process and interfaces.

Example

# Configure IPv6 address FC00:200::3EFF:FE11:6770 for VLANIF100, set the prefix length to 64 bits, and summarize the configured IPv6 address as an IPv6 address with prefix FC00:200::/35 in RIPng process 100.
<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ripng 100
[HUAWEI-ripng-100] quit
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ipv6 enable
[HUAWEI-Vlanif100] ipv6 address fc00:200::3EFF:FE11:6770/64
[HUAWEI-Vlanif100] ripng 100 enable
[HUAWEI-Vlanif100] ripng summary-address fc00:200:: 35
# Configure IPv6 address FC00:200::3EFF:FE11:6770 for GE0/0/1, set the prefix length to 64 bits, and summarize the configured IPv6 address as an IPv6 address with prefix FC00:200::/35 in RIPng process 100.
<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ripng 100
[HUAWEI-ripng-100] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ipv6 enable
[HUAWEI-GigabitEthernet0/0/1] ipv6 address fc00:200::3EFF:FE11:6770/64
[HUAWEI-GigabitEthernet0/0/1] ripng 100 enable
[HUAWEI-GigabitEthernet0/0/1] ripng summary-address fc00:200:: 35

timers ripng

Function

The timers ripng command configures RIPng timers.

The undo timers ripng command restores the default values of timers.

By default, the interval for sending RIPng Update packets is 30s, the aging time of routes is 180s, and the time for deleting routes from an IPv6 routing table is 120s.

Format

timers ripng update age garbage-collect

undo timers ripng

Parameters

Parameter Description Value
update Specifies the interval for sending Update packets. This parameter is the basic timing parameter of routing protocols. The value is an integer that ranges from 1 to 86400, in seconds. The default value is 30 seconds.
age Specifies the aging time of routes. The value of age must be at least three times the value of update. If no Update packet of a route is received within the aging time, the route becomes invalid (unreachable). The value is an integer that ranges from 1 to 86400, in seconds. The default value is 180 seconds.
garbage-collect Specifies the time from when a route is found invalid until it is deleted from the routing table. The value is an integer that ranges from 1 to 86400, in seconds. The default value is 120 seconds.

Views

RIPng view

Default Level

2: Configuration level

Usage Guidelines

The basic timing parameters of RIPng can be adjusted because RIPng adopts a distributed asynchronous routing algorithm. On the network, these parameters on switches need to be consistent with those on access servers.

The command can take effect only after the global IPv6 is enabled.

If the values of the preceding four timers are set improperly, route flapping occurs. The relationship of the values of the four timers is: update < age and update < garbage-collect. For example, if the update time is longer than the aging time, switches cannot inform neighbors on time if RIPng routes change during the update time.

Example

# Set values for RIPng timers.

<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] ripng 100
[HUAWEI-ripng-100] timers ripng 5 15 30
Translation
Download
Updated: 2019-04-18

Document ID: EDOC1000178165

Views: 43076

Downloads: 1107

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next