- Table of Contents
-
- 07-Layer 3 - IP Routing Command Reference
- 00-Preface
- 01-Basic IP Routing Commands
- 02-Static Routing Commands
- 03-RIP Commands
- 04-OSPF Commands
- 05-IS-IS Commands
- 06-BGP Commands
- 07-Policy-Based Routing Commands
- 08-Guard Route Commands
- 09-IPv6 Static Routing Commands
- 10-RIPng Commands
- 11-OSPFv3 Commands
- 12-IPv6 IS-IS Commands
- 13-IPv6 BGP Commands
- 14-IPv6 Policy-Based Routing Commands
- 15-Routing Policy Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
10-RIPng Commands | 143.45 KB |
enable ipsec-policy (RIPng view)
filter-policy export (RIPng view)
filter-policy import (RIPng view)
maximum load-balancing (RIPng view)
checkzero
Syntax
checkzero
undo checkzero
View
RIPng view
Default level
2: System level
Parameters
None
Description
Use the checkzero command to enable the zero field check on RIPng packets.
Use the undo checkzero command to disable the zero field check.
The zero field check is enabled by default.
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 will be 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)
Syntax
default cost cost
undo default cost
View
RIPng view
Default level
2: System level
Parameters
cost: Default metric of redistributed routes, in the range of 0 to 16.
Description
Use the default cost command to specify the default metric of redistributed routes.
Use the undo default cost command to restore the default.
The default metric of redistributed routes is 0.
The specified default metric applies to the routes redistributed by the import-route command with no metric specified.
Related commands: import-route.
Examples
# Set the default metric of redistributed routes to 2.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] default cost 2
display ripng
Syntax
display ripng [ process-id | vpn-instance vpn-instance-name ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
process-id: RIPng process ID, in the range of 1 to 65535.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters.
|: 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.
Description
Use the display ripng command to display the running status and configuration information of a RIPng process. If process-id is not specified, information of all RIPng processes will be displayed. If a VPN is specified, information about all the RIPng processes of the VPN is displayed.
Examples
# Display the running status and configuration information of all configured RIPng processes.
<Sysname> display ripng
Public VPN-instance name :
RIPng process : 1
Preference : 100
Checkzero : Enabled
Default Cost : 0
Maximum number of balanced paths : 16
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
Table 1 Output description
Field |
Description |
Public VPN-instance name |
Public VPN instance name |
RIPng process |
RIPng process ID |
Preference |
RIPng route priority |
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 |
display ripng database
Syntax
display ripng process-id database [ | { begin | exclude | include } regular-expression ]
View
Any view
Default 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.
Description
Use the display ripng database command to display all active routes in the RIPng advertising database, which are sent in normal RIPng update messages.
Examples
# Display all 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 Output description
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
Syntax
display ripng process-id interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
process-id: RIPng process ID, in the range of 1 to 65535.
interface-type interface-number: Specifies an interface.
|: 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.
Description
Use the display ripng interface command to display the interface information of the RIPng process.
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: vlan-interface 12
Link Local Address: FE80::200:5EFF:FE19:3E00
Split-horizon: on Poison-reverse: off
MetricIn: 0 MetricOut: 1
Default route: off
Summary address:
3::/64
3::/16
Table 3 Output description
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 |
The summarized IPv6 prefix and the summary IPv6 prefix on the interface. |
display ripng route
Syntax
display ripng process-id route [ | { begin | exclude | include } regular-expression ]
View
Any view
Default 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.
Description
Use the display ripng route command to display all RIPng routes and timers associated with each route of a RIPng process.
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 vlan-interface 12
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 vlan-interface 12
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 vlan-interface 12
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 Output description
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)
Syntax
enable ipsec-policy policy-name
undo enable ipsec-policy
View
RIPng view
Default level
2: System level
Parameters
policy-name: IPsec policy name, a string of 1 to 15 characters.
Description
Use the enable ipsec-policy command to apply an IPsec policy to a RIPng process.
Use the undo enable ipsec-policy command to remove the IPsec policy from the RIPng process.
By default, no IPsec policy is configured for the RIPng process.
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)
Syntax
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } export [ protocol [ process-id ] ]
undo filter-policy export [ protocol [ process-id ] ]
View
RIPng view
Default 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, currently including bgp4+, direct, isisv6, ospfv3, 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, ospfv3, or isisv6.
Description
Use the filter-policy export command to define an outbound route filtering policy. Only routes passing the filter can be advertised in the update messages.
Use the undo filter-policy export command to disable the outbound route filtering.
By default, RIPng does not filter any outbound routing information.
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.
If you want to reference an advanced ACL (with a number from 3000 to 3999) in the command, the ACL should be configured with the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix command to deny/permit a route with the specified destination, or with the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix destination dest dest-prefix command to deny/permit a route with the specified destination and prefix. The source keyword specifies the destination address of a route while 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 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)
Syntax
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } import
undo filter-policy import
View
RIPng view
Default 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.
Description
Use the filter-policy import command to define an inbound route filtering policy. Only routes which match the filtering policy can be received.
Use the undo filter-policy import command to disable inbound route filtering.
By default, RIPng does not filter incoming routing information.
Note that if you want to reference an advanced ACL (with a number from 3000 to 3999) in the command, the ACL should be configured with the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix command to deny/permit a route with the specified destination, or with the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix destination dest dest-prefix command to deny/permit a route with the specified destination and prefix. The source keyword specifies the destination address of a route while 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> 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 import
import-route
Syntax
import-route protocol [ process-id ] [ allow-ibgp ] [ cost cost | route-policy route-policy-name ] *
undo import-route protocol [ process-id ]
View
RIPng view
Default level
2: System level
Parameters
protocol: Specifies a routing protocol from which to redistribute routes. Currently, it can be bgp4+, direct, isisv6, ospfv3, 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 isisv6, ospfv3, or 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.
route-policy route-policy-name: Specifies a routing policy by its name with 1 to 63 case-sensitive characters.
allow-ibgp: Optional keyword when the specified protocol is bgp4+.
Description
Use the import-route command to redistribute routes from another routing protocol.
Use the undo import-route command to disable redistributing routes from another routing protocol.
By default, RIPng does not redistribute routes from other routing protocols.
Related commands: default cost.
|
CAUTION: The import-route bgp command redistributes only EBGP routes. The import-route bgp allow-ibgp command redistributes additionally IBGP routes. Be cautious when using the latter command. |
Examples
# Redistribute IPv6-IS-IS routes (process 7) and specify the metric as 7.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] import-route isisv6 7 cost 7
maximum load-balancing (RIPng view)
Syntax
maximum load-balancing number
undo maximum load-balancing
View
RIPng view
Default level
2: System level
Parameters
number: Maximum number of equal-cost routes, in the range of 1 to 16.
Description
Use the maximum load-balancing command to specify the maximum number of equal-cost routes.
Use the undo maximum load-balancing command to restore the default.
By default, the maximum number of equal-cost RIPng routes for load balancing is 16.
|
NOTE: Configure the maximum number according to the memory size. |
Examples
# Set the maximum number of load balanced RIPng routes with equal cost to 2.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] maximum load-balancing 2
# Restore the default.
[Sysname-ripng-100] undo maximum load-balancing
preference
Syntax
preference [ route-policy route-policy-name ] preference
undo preference [ route-policy ]
View
RIPng view
Default level
2: System level
Parameters
route-policy-name: Routing policy name with 1 to 63 case-sensitive characters.
preference: Preference for RIPng routes, in the range of 1 to 255.
Description
Use the preference command to specify the RIPng route priority.
Use the undo preference route-policy command to restore the default.
By default, the priority of a RIPng route is 100.
Using the route-policy keyword can set a priority for routes filtered in by the routing policy:
· If a priority is set in the routing policy, the priority applies to matched routes, and the priority set by the preference command applies to routes not matched.
· If no priority is set in the routing policy, the one set by the preference command applies to all routes.
Examples
# Set the RIPng route priority to 120.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] preference 120
# Restore the default RIPng route priority.
[Sysname-ripng-100] undo preference
reset ripng process
Syntax
reset ripng process-id process
View
User view
Default level
2: System level
Parameters
process-id: RIPng process ID, in the range of 1 to 65535.
Description
Use the reset ripng process command to reset the specified RIPng process.
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
Syntax
reset ripng process-id statistics
View
User view
Default level
1: Monitor level
Parameters
process-id: RIPng process ID, in the range of 1 to 65535.
Description
Use the reset ripng statistics command to clear the statistics of the specified RIPng process.
Examples
# Clear the statistics of RIPng process 100.
<Sysname> reset ripng 100 statistics
ripng
Syntax
ripng [ process-id ] [ vpn-instance vpn-instance-name ]
undo ripng [ process-id ] [ vpn-instance vpn-instance-name ]
View
System view
Default level
2: System level
Parameters
process-id: RIPng process ID, in the range of 1 to 65535. The default value is 1.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters.
Description
Use the ripng command to create a RIPng process and enter RIPng view.
Use the undo ripng command to disable a RIPng process.
By default, no RIPng process is enabled.
· If no VPN is specified, the RIPng process is enabled for the public network.
· The specified VPN instance must have been created with the ip vpn-instance command.
· 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
# Create RIPng process 101 and bind it to VPN instance vpn101.
<Sysname> system-view
[Sysname] ripng 101 vpn-instance vpn101
ripng default-route
Syntax
ripng default-route { only | originate } [ cost cost ]
undo ripng default-route
View
Interface view
Default 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.
Description
Use the ripng default-route command to advertise a default route with the specified routing metric to a RIPng neighbor.
Use the undo ripng default-route command to stop advertising or forwarding the default route.
By default, a RIP process does not advertise any default route.
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 VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ripng default-route only
# Advertise the default route together with other routes through VLAN-interface 101.
<Sysname> system-view
[Sysname] interface vlan-interface 101
[Sysname-Vlan-interface101] ripng default-route originate
ripng enable
Syntax
ripng process-id enable
undo ripng [ process-id ] enable
View
Interface view
Default level
2: System level
Parameters
process-id: RIPng process ID, in the range of 1 to 65535.
Description
Use the ripng enable command to enable RIPng on the specified interface.
Use the undo ripng enable command to disable RIPng on the specified interface.
By default, RIPng is disabled on an interface.
Examples
# Enable RIPng100 on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ripng 100 enable
ripng ipsec-policy
Syntax
ripng ipsec-policy policy-name
undo ripng ipsec-policy
View
Interface view
Default level
2: System level
Parameters
policy-name: IPsec policy name, a string of 1 to 15 characters.
Description
Use the ripng ipsec-policy command to apply an IPsec policy on a RIPng interface.
Use the undo ripng ipsec-policy command to remove the IPsec policy from the RIPng interface.
By default, no IPsec policy is configured for the RIPng interface.
The IPsec policy to be applied must have been configured.
Examples
# Apply IPsec policy policy001 to VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ripng ipsec-policy policy001
ripng metricin
Syntax
ripng metricin value
undo ripng metricin
View
Interface view
Default level
2: System level
Parameters
value: Additional metric for received routes, in the range of 0 to 16.
Description
Use the ripng metricin command to specify an additional metric for received RIPng routes.
Use the undo ripng metricin command to restore the default.
By default, the additional metric to received routes is 0.
Related commands: ripng metricout.
Examples
# Specify the additional routing metric as 12 for RIPng routes received by VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ripng metricin 12
ripng metricout
Syntax
ripng metricout value
undo ripng metricout
View
Interface view
Default level
2: System level
Parameters
value: Additional metric to advertised routes, in the range of 0 to 16.
Description
Use the ripng metricout command to configure an additional metric for RIPng routes advertised by an interface.
Use the undo rip metricout command to restore the default.
The default additional routing metric is 1.
Related commands: ripng metricin.
Examples
# Set the additional metric to 12 for routes advertised by VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ripng metricout 12
ripng poison-reverse
Syntax
ripng poison-reverse
undo ripng poison-reverse
View
Interface view
Default level
2: System level
Parameters
None
Description
Use the rip poison-reverse command to enable the poison reverse function.
Use the undo rip poison-reverse command to disable the poison reverse function.
By default, the poison reverse function is disabled.
Examples
# Enable the poison reverse function for RIPng update messages on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ripng poison-reverse
ripng split-horizon
Syntax
ripng split-horizon
undo ripng split-horizon
View
Interface view
Default level
2: System level
Parameters
None
Description
Use the rip split-horizon command to enable the split horizon function.
Use the undo rip split-horizon command to disable the split horizon function.
By default, the split horizon function is enabled.
The split horizon function is necessary for preventing routing loops. Therefore, you are not recommended to disable it.
In special cases, make sure that it is necessary to disable the split horizon function before doing so.
|
NOTE: · If both the poison reverse and split horizon functions are enabled, only the poison reverse function takes effect. · In frame relay and other non-broadcast multi-access (NBMA) networks, split horizon should be disabled if multiple VCs are configured on the primary interface and secondary interfaces to ensure route advertisement. For detailed information, see Layer 2—WAN Configuration Guide. |
Examples
# Enable the split horizon function on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ripng split-horizon
ripng summary-address
Syntax
ripng summary-address ipv6-address prefix-length
undo ripng summary-address ipv6-address prefix-length
View
Interface view
Default 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.
Description
Use the ripng summary-address command to configure a summary network to be advertised through the interface.
Use the undo ripng summary-address command to remove the summary.
If the prefix and the prefix length of a route match the IPv6 prefix, the IPv6 prefix will be advertised instead. Thus, one route can be advertised on behalf of many routes. After summarization, the summary route cost is the lowest cost among summarized routes.
Examples
# Assign an IPv6 address with the 64-bit prefix to VLAN-interface 100 and configure a summary with the 35-bit prefix length.
<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
timers
Syntax
timers { garbage-collect garbage-collect-value | suppress suppress-value | timeout timeout-value | update update-value } *
undo timers { garbage-collect | suppress | timeout | update } *
View
RIPng view
Default 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.
Description
Use the timers command to configure RIPng timers.
Use the undo timers command to restore the default.
By default, the garbage-collect timer is 120 seconds, the suppress timer 120 seconds, the timeout timer 180 seconds, and the update timer 30 seconds.
RIPng is controlled by the above four timers.
· The update timer defines the interval between update messages.
· The 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.
· The 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 switch to replace unreachable routes.
· The 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.
|
NOTE: · 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 switches 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