- Table of Contents
-
- 04-Layer 3 Command Reference
- 00-Preface
- 01-ARP Commands
- 02-IP Addressing Commands
- 03-DHCP Commands
- 04-DHCPv6 Commands
- 05-DNS Commands
- 06-IPv6 DNS Commands
- 07-NAT Commands
- 08-Adjacency Table Commands
- 09-Flow Classification Commands
- 10-IPv6 Basics Commands
- 11-IP Performance Optimization Commands
- 12-Basic IP Routing Commands
- 13-Static Routing Commands
- 14-IPv6 Static Routing Commands
- 15-GRE Commands
- 16-RIP Commands
- 17-RIPng Commands
- 18-Policy-Based Routing Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
17-RIPng Commands | 97.40 KB |
enable ipsec-policy (RIPng view)
filter-policy export (RIPng view)
filter-policy import (RIPng view)
maximum load-balancing (RIPng view)
RIPng configuration commands
checkzero
Use checkzero to enable the zero field check on RIPng packets.
Use undo checkzero to disable the zero field check.
Syntax
checkzero
undo checkzero
Default
The zero field check is enabled.
Views
RIPng view
Default command level
2: System level
Usage guidelines
Some fields in RIPng packet headers must be zero. These fields are called "zero fields." You can enable the zero field check on RIPng packet headers. If any such field contains a non-zero value, the RIPng packet is discarded.
Examples
# Disable the zero field check on RIPng packet headers of RIPng 100.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] undo checkzero
default cost (RIPng view)
Use default cost to specify the default metric of redistributed routes.
Use undo default cost to restore the default.
Syntax
default cost cost
undo default cost
Default
The default metric of redistributed routes is 0.
Views
RIPng view
Default command level
2: System level
Parameters
cost: Default metric of redistributed routes, in the range of 0 to 16.
Usage guidelines
The specified default metric applies to the routes redistributed by the import-route command with no metric specified.
Examples
# Set the default metric of redistributed routes to 2.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] default cost 2
Related commands
import-route
display ripng
Use display ripng to display the running status and configuration information of a RIPng process.
Syntax
display ripng [ process-id ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
process-id: RIPng process ID, in the range of 1 to 65535.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If no process-id is specified, information about all RIPng processes is displayed.
Examples
# Display the running status and configuration information of all configured RIPng processes.
<Sysname> display ripng
RIPng process : 1
Preference : 100
Checkzero : Enabled
Default Cost : 0
Maximum number of balanced paths : 8
Update time : 30 sec(s) Timeout time : 180 sec(s)
Suppress time : 120 sec(s) Garbage-Collect time : 120 sec(s)
Number of periodic updates sent : 0
Number of trigger updates sent : 0
IPsec policy name: policy001, SPI: 300
Table 1 Command output
Field |
Description |
RIPng process |
RIPng process ID. |
Preference |
RIPng preference. |
Checkzero |
Indicates whether zero field check for RIPng packet headers is enabled. |
Default Cost |
Default metric of redistributed routes. |
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. |
Number of periodic updates sent |
Number of periodic updates sent. |
Number of trigger updates sent |
Number of triggered updates sent. |
IPsec policy name |
IPsec policy applied in the process. |
SPI |
SPI defined in the IPsec policy. |
display ripng database
Use display ripng database to display all active routes in the advertising database of the specified RIPng process, which are sent in normal RIPng update messages.
Syntax
display ripng process-id database [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
process-id: RIPng process ID, in the range of 1 to 65535.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the active routes in the database of RIPng process 100.
<Sysname> display ripng 100 database
2001:7B::2:2A1:5DE/64,
cost 4, Imported
1:13::/120,
cost 4, Imported
1:32::/120,
cost 4, Imported
1:33::/120,
cost 4, Imported
100::/32,
via FE80::200:5EFF:FE04:3302, cost 2
3FFE:C00:C18:1::/64,
via FE80::200:5EFF:FE04:B602, cost 2
3FFE:C00:C18:1::/64,
via FE80::200:5EFF:FE04:B601, cost 2
3FFE:C00:C18:2::/64,
via FE80::200:5EFF:FE04:B602, cost 2
3FFE:C00:C18:3::/64,
via FE80::200:5EFF:FE04:B601, cost 2
4000:1::/64,
via FE80::200:5EFF:FE04:3302, cost 2
4000:2::/64,
via FE80::200:5EFF:FE04:3302, cost 2
1111::/64,
cost 0, RIPng-interface
Table 2 Command output
Field |
Description |
2001:7B::2:2A1:5DE/64 |
IPv6 destination address/prefix length. |
via |
Next hop IPv6 address. |
cost |
Route metric value. |
Imported |
Route redistributed from another routing protocol. |
RIPng-interface |
Route learned from the interface. |
display ripng interface
Use display ripng interface to display the interface information of the RIPng process.
Syntax
display ripng process-id interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
process-id: RIPng process ID, in the range of 1 to 65535.
interface-type interface-number: Specifies an interface by its type and number.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If no interface is specified, information about all interfaces of the RIPng process will be displayed.
Examples
# Display the interface information of RIPng process 1.
<Sysname> display ripng 1 interface
Interface-name: GigabitEthernet1/0/5
Link Local Address: FE80::20F:E2FF:FE30:C16C
Split-horizon: on Poison-reverse: off
MetricIn: 0 MetricOut: 1
Default route: off
Summary address:
3:: 64
3:: 16
IPsec policy name: policy001, SPI: 300
Table 3 Command output
Field |
Description |
Interface-name |
Name of an interface running RIPng. |
Link Local Address |
Link-local address of an interface running RIPng. |
Split-horizon |
Indicates whether the split horizon function is enabled: · on—Enabled. · off—Disabled. |
Poison-reverse |
Indicates whether the poison reverse function is enabled: · on—Enabled. · off—Disabled. |
MetricIn/MetricOut |
Additional metric to incoming and outgoing routes. |
Default route |
· Only/Originate—Only means that the interface advertises only the default route. Originate means that the default route and other RIPng routes are advertised. · Off—Indicates that no default route is advertised or the garbage-collect time expires after the default route advertisement was disabled. · In garbage-collect status—With default route advertisement disabled, the interface advertises the default route with metric 16 during the garbage-collect time. |
Summary address |
Summarized IPv6 prefix and summary IPv6 prefix on the interface. |
IPsec policy name |
IPsec policy applied on the interface. |
SPI |
SPI defined in the IPsec policy. |
display ripng route
Use display ripng route to display all RIPng routes and timers associated with each route of a RIPng process.
Syntax
display ripng process-id route [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
process-id: RIPng process ID, in the range of 1 to 65535.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the routing information of RIPng process 100.
<Sysname> display ripng 100 route
Route Flags: A - Aging, S - Suppressed, G - Garbage-collect
----------------------------------------------------------------
Peer FE80::200:5EFF:FE04:B602 on GigabitEthernet1/0/1
Dest 3FFE:C00:C18:1::/64,
via FE80::200:5EFF:FE04:B602, cost 2, tag 0, A, 34 Sec
Dest 3FFE:C00:C18:2::/64,
via FE80::200:5EFF:FE04:B602, cost 2, tag 0, A, 34 Sec
Peer FE80::200:5EFF:FE04:B601 on GigabitEthernet1/0/2
Dest 3FFE:C00:C18:1::/64,
via FE80::200:5EFF:FE04:B601, cost 2, tag 0, A, 13 Sec
Dest 3FFE:C00:C18:3::/64,
via FE80::200:5EFF:FE04:B601, cost 2, tag 0, A, 13 Sec
Peer FE80::200:5EFF:FE04:3302 on GigabitEthernet1/0/3
Dest 100::/32,
via FE80::200:5EFF:FE04:3302, cost 2, tag 0, A, 6 Sec
Dest 4000:1::/64,
via FE80::200:5EFF:FE04:3302, cost 2, tag 0, A, 6 Sec
Dest 4000:2::/64,
via FE80::200:5EFF:FE04:3302, cost 2, tag 0, A, 6 Sec
Dest 4000:3::/64,
via FE80::200:5EFF:FE04:3302, cost 2, tag 0, A, 6 Sec
Dest 4000:4::/64,
Table 4 Command output
Field |
Description |
Peer |
Neighbor connected to the interface. |
Dest |
IPv6 destination address. |
via |
Next hop IPv6 address. |
cost |
Routing metric value. |
tag |
Route tag. |
Sec |
Time that a route entry stays in a particular state. |
"A" |
The route is in aging state. |
"S" |
The route is in suppressed state. |
"G" |
The route is in Garbage-collect state. |
enable ipsec-policy (RIPng view)
Use enable ipsec-policy to apply an IPsec policy in a RIPng process.
Use undo enable ipsec-policy to remove the IPsec policy from the RIPng process.
Syntax
enable ipsec-policy policy-name
undo enable ipsec-policy
Default
No IPsec policy is configured for the RIPng process.
Views
RIPng view
Default command level
2: System level
Parameters
policy-name: IPsec policy name, a string of 1 to 15 characters.
Usage guidelines
The IPsec policy to be applied must have been configured.
Examples
# Apply IPsec policy policy001 to RIPng process 1.
<Sysname> system-view
[Sysname] ripng 1
[Sysname-ripng-1] enable ipsec-policy policy001
filter-policy export (RIPng view)
Use filter-policy export to define an outbound route filtering policy. Only routes passing the filter can be advertised in the update messages.
Use undo filter-policy export to disable the outbound route filtering.
Syntax
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } export [ protocol [ process-id ] ]
undo filter-policy export [ protocol [ process-id ] ]
Default
RIPng does not filter any outbound routing information.
Views
RIPng view
Default command level
2: System level
Parameters
acl6-number: Specifies the number of an ACL to filter advertised routing information, in the range of 2000 to 3999.
ipv6-prefix ipv6-prefix-name: Specifies the name of an IPv6 prefix list used to filter routing information, a string of 1 to 19 characters.
protocol: Filters routes redistributed from a routing protocol, including direct, ripng, and static.
process-id: Process number of the specified routing protocol, in the range of 1 to 65535. This argument is available only when the routing protocol is ripng.
Usage guidelines
With the protocol argument specified, only routing information redistributed from the specified routing protocol will be filtered. Otherwise, all outgoing routing information will be filtered.
To reference 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 rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix.
· To deny/permit a route with the specified destination and prefix, use rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix destination dest dest-prefix.
The source keyword specifies the destination address of a route, and the destination keyword specifies the prefix of the route. (The prefix must be valid; otherwise, the configuration is ineffective.)
Examples
# Use IPv6 prefix list Filter 2 to filter advertised RIPng updates.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] filter-policy ipv6-prefix Filter2 export
# Configure ACL6 3000 to permit only route 2001::1/128 to pass, and reference ACL6 3000 to filter advertised RIPng updates.
<Sysname> system-view
[Sysname] acl ipv6 number 3000
[Sysname-acl6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128
[Sysname-acl6-adv-3000] rule 100 deny ipv6
[Sysname-acl6-adv-3000] quit
[Sysname] ripng 100
[Sysname-ripng-100] filter-policy 3000 export
filter-policy import (RIPng view)
Use filter-policy import to define an inbound route filtering policy. Only routes that match the filtering policy can be received.
Use undo filter-policy import to disable inbound route filtering.
Syntax
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } import
undo filter-policy import
Default
RIPng does not filter incoming routing information.
Views
RIPng view
Default command level
2: System level
Parameters
acl6-number: Specifies the number of an ACL to filter incoming routing information, in the range of 2000 to 3999.
ipv6-prefix ipv6-prefix-name: Specifies the name of an IPv6 prefix list to filter incoming routes, in the range of 1 to 19 characters.
Usage guidelines
To reference 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 rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix.
· To deny/permit a route with the specified destination and prefix, use rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix destination dest dest-prefix.
The source keyword specifies the destination address of a route, and the destination keyword specifies the prefix of the route. (The prefix must be valid; otherwise, the configuration is ineffective.)
Examples
# Reference IPv6 prefix list Filter1 to filter incoming RIPng updates.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] filter-policy ipv6-prefix Filter1 import
# Configure ACL6 3000 to permit only route 2001::1/128 to pass, and reference ACL6 3000 to filter incoming RIPng updates.
[Sysname] acl ipv6 number 3000
[Sysname-acl6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128
[Sysname-acl6-adv-3000] rule 100 deny ipv6
[Sysname-acl6-adv-3000] quit
[Sysname] ripng 100
[Sysname-ripng-100] filter-policy 3000 import
import-route
Use import-route to redistribute routes from another routing protocol.
Use undo import-route to disable redistributing routes from another routing protocol.
Syntax
import-route protocol [ process-id ] [ cost cost ] *
undo import-route protocol [ process-id ]
Default
RIPng does not redistribute routes from other routing protocols.
Views
RIPng view
Default command level
2: System level
Parameters
protocol: Specifies a routing protocol from which to redistribute routes. It can be direct, ripng, or static.
process-id: Process ID, in the range of 1 to 65535. The default is 1. This argument is available only when the protocol is ripng.
cost: Routing metric of redistributed routes, in the range of 0 to 16. If cost value is not specified, the metric is the default metric specified by the default cost command.
Examples
# Redistribute RIPng routes (process 7) and specify the metric as 7.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] import-route ripng 7 cost 7
Related commands
default cost
maximum load-balancing (RIPng view)
Use maximum load-balancing to specify 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 ECMP routes is 4.
Views
RIPng view
Default command level
2: System level
Parameters
number: Maximum number of ECMP routes. The value range is 1 to 4.
Usage guidelines
Configure the maximum number of ECMP routes according to the memory size.
Examples
# Set the maximum number of ECMP routes to 2.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] maximum load-balancing 2
preference
Use preference to specify the preference for RIPng routes.
Use undo preference to restore the default.
Syntax
preference preference
undo preference
Default
The preference of RIPng routes is 100.
Views
RIPng view
Default command level
2: System level
Parameters
preference: Preference for RIPng routes, in the range of 1 to 255.
Examples
# Set the RIPng route preference to 120.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] preference 120
# Restore the default RIPng route preference.
[Sysname-ripng-100] undo preference
reset ripng process
Use reset ripng process to reset the specified RIPng process.
Syntax
reset ripng process-id process
Views
User view
Default command level
2: System level
Parameters
process-id: RIPng process ID, in the range of 1 to 65535.
Usage guidelines
After executing the command, you are prompted whether you want to reset the RIPng process.
Examples
# Reset RIPng process 100.
<Sysname> reset ripng 100 process
Warning : Reset RIPng process? [Y/N]:Y
reset ripng statistics
Use reset ripng statistics to clear the statistics of the specified RIPng process.
Syntax
reset ripng process-id statistics
Views
User view
Default command level
1: Monitor level
Parameters
process-id: RIPng process ID, in the range of 1 to 65535.
Examples
# Clear the statistics of RIPng process 100.
<Sysname> reset ripng 100 statistics
ripng
Use ripng to create a RIPng process and enter RIPng view.
Use undo ripng to disable a RIPng process.
Syntax
ripng [ process-id ]
undo ripng [ process-id ]
Default
No RIPng process is enabled.
Views
System view
Default command level
2: System level
Parameters
process-id: RIPng process ID, in the range of 1 to 65535. The default value is 1.
Usage guidelines
Before configuring global RIPng parameters, you must create a RIPng process. This requirement does not apply to interface RIPng parameter configuration.
After you disable a RIPng process, the RIPng parameters on interface running the process also become ineffective.
Examples
# Create RIPng process 100 and enter its view.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100]
# Disable RIPng process 100.
[Sysname] undo ripng 100
ripng default-route
Use ripng default-route to advertise a default route with the specified routing metric to a RIPng neighbor.
Use undo ripng default-route to stop advertising or forwarding the default route.
Syntax
ripng default-route { only | originate } [ cost cost ]
undo ripng default-route
Default
A RIP process does not advertise any default route.
Views
Interface view
Default command level
2: System level
Parameters
only: Indicates that only the IPv6 default route (::/0) is advertised through the interface.
originate: Indicates that the IPv6 default route (::/0) is advertised without suppressing other routes.
cost: Metric of the advertised default route, in the range of 1 to 15, with a default value of 1.
Usage guidelines
After you execute this command, the generated RIPng default route is advertised in a route update over the specified interface. This IPv6 default route is advertised without considering whether it already exists in the local IPv6 routing table.
Examples
# Advertise only the default route through GigabitEthernet 1/0/5.
<Sysname> system-view
[Sysname] interface gigabitethernet1/0/5
[Sysname-GigabitEthernet1/0/5] ripng default-route only
# Advertise the default route together with other routes through GigabitEthernet 1/0/5.
<Sysname> system-view
[Sysname] interface gigabitethernet1/0/5
[Sysname-GigabitEthernet1/0/5] ripng default-route originate
ripng enable
Use ripng enable to enable RIPng on the specified interface.
Use undo ripng enable to disable RIPng on the specified interface.
Syntax
ripng process-id enable
undo ripng [ process-id ] enable
Default
RIPng is disabled on an interface.
Views
Interface view
Default command level
2: System level
Parameters
process-id: RIPng process ID, in the range of 1 to 65535.
Examples
# Enable RIPng100 on GigabitEthernet 1/0/5.
<Sysname> system-view
[Sysname] interface gigabitethernet1/0/5
[Sysname-GigabitEthernet1/0/5] ripng 100 enable
ripng ipsec-policy
Use ripng ipsec-policy to apply an IPsec policy on a RIPng interface.
Use undo ripng ipsec-policy to remove the IPsec policy from the RIPng interface.
Syntax
ripng ipsec-policy policy-name
undo ripng ipsec-policy
Default
No IPsec policy is configured for the RIPng interface.
Views
Interface view
Default command level
2: System level
Parameters
policy-name: IPsec policy name, a string of 1 to 15 characters.
Usage guidelines
The IPsec policy to be applied must have been configured.
Examples
# Apply IPsec policy policy001 to interface GigabitEthernet 1/0/5.
<Sysname> system-view
[Sysname] interface gigabitethernet1/0/5
[Sysname-GigabitEthernet1/0/5] ripng ipsec-policy policy001
ripng metricin
Use ripng metricin to specify an additional metric for received RIPng routes.
Use undo ripng metricin to restore the default.
Syntax
ripng metricin value
undo ripng metricin
Default
The additional metric to received routes is 0.
Views
Interface view
Default command level
2: System level
Parameters
value: Additional metric for received routes, in the range of 0 to 16.
Examples
# Specify the additional routing metric as 12 for RIPng routes received by GigabitEthernet 1/0/5.
<Sysname> system-view
[Sysname] interface gigabitethernet1/0/5
[Sysname-GigabitEthernet1/0/5] ripng metricin 12
Related commands
ripng metricout
ripng metricout
Use ripng metricout to configure an additional metric for RIPng routes advertised by an interface.
Use undo rip metricout to restore the default.
Syntax
ripng metricout value
undo ripng metricout
Default
The default additional routing metric is 1.
Views
Interface view
Default command level
2: System level
Parameters
value: Additional metric to advertised routes, in the range of 1 to 16.
Examples
# Set the additional metric to 12 for routes advertised by GigabitEthernet 1/0/5.
<Sysname> system-view
[Sysname] interface gigabitethernet1/0/5
[Sysname-GigabitEthernet1/0/5] ripng metricout 12
Related commands
ripng metricin
ripng poison-reverse
Use ripng poison-reverse to enable the poison reverse function.
Use undo ripng poison-reverse to disable the poison reverse function.
Syntax
ripng poison-reverse
undo ripng poison-reverse
Default
The poison reverse function is disabled.
Views
Interface view
Default command level
2: System level
Examples
# Enable the poison reverse function for RIPng update messages on GigabitEthernet 1/0/5.
<Sysname> system-view
[Sysname] interface gigabitethernet1/0/5
[Sysname-GigabitEthernet1/0/5] ripng poison-reverse
ripng split-horizon
Use ripng split-horizon to enable the split horizon function.
Use undo ripng split-horizon to disable the split horizon function.
Syntax
ripng split-horizon
undo ripng split-horizon
Default
The split horizon function is enabled.
Views
Interface view
Default command level
2: System level
Usage guidelines
The split horizon function is necessary for preventing routing loops. Do not disable it unless you make sure that it is necessary.
If both the poison reverse and split horizon functions are enabled, only the poison reverse function takes effect.
On frame relay, X.25, and other non-broadcast multi-access (NBMA) links, split horizon should be disabled if multiple VCs are configured on the primary interface and secondary interfaces to ensure route advertisement.
Examples
# Enable the split horizon function on GigabitEthernet 1/0/5.
<Sysname> system-view
[Sysname] interface gigabitethernet1/0/5
[Sysname-GigabitEthernet1/0/5] ripng split-horizon
ripng summary-address
Use ripng summary-address to configure a summary network to be advertised through the interface.
Use undo ripng summary-address to remove the summary.
Syntax
ripng summary-address ipv6-address prefix-length
undo ripng summary-address ipv6-address prefix-length
Views
Interface view
Default command level
2: System level
Parameters
ipv6-address: Destination IPv6 address of the summary route.
prefix-length: 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 falling into 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/5 and configure a summary with the 35-bit prefix.
<Sysname> system-view
[Sysname] interface gigabitethernet1/0/5
[Sysname-GigabitEthernet1/0/5] ipv6 address 2001:200::3EFF:FE11:6770/64
[Sysname-GigabitEthernet1/0/5] ripng summary-address 2001:200:: 35
timers
Use timers to configure 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 120 seconds, the timeout timer 180 seconds, and the update timer 30 seconds.
Views
RIPng view
Default command level
2: System level
Parameters
garbage-collect-value: Interval of the garbage-collect timer in seconds, in the range of 1 to 86400.
suppress-value: Interval of the suppress timer in seconds, in the range of 0 to 86400.
timeout-value: Interval of the timeout timer in seconds, in the range of 1 to 86400.
update-value: Interval of the update timer in seconds, in the range of 1 to 86400.
Usage guidelines
RIPng is controlled by the following timers:
· Update timer—Defines the interval between update messages.
· Timeout timer—Defines the route aging time. If no update message related to a route is received within the aging time, the metric of the route is set to 16 in the routing table.
· Suppress timer—Defines for how long a RIPng route stays in suppressed state. When the metric of a route is 16, the route enters the suppressed state. In suppressed state, only routes which come from the same neighbor and whose metric is less than 16 will be received by the router to replace unreachable routes.
· Garbage-collect timer—Defines the 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 the routing metric set to 16. If no update message is announced for that route before the garbage-collect timer expires, the route will be completely deleted from the routing table.
H3C does not recommend changing the default values of these timers under normal circumstances.
The lengths of these timers must be kept consistent on all routers in the network.
Examples
# Configure the update, timeout, suppress, and garbage-collect timers as 5s, 15s, 15s and 30s.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] timers update 5
[Sysname-ripng-100] timers timeout 15
[Sysname-ripng-100] timers suppress 15
[Sysname-ripng-100] timers garbage-collect 30