The ripng summary-address command configures a RIPng router to advertise the summary IPv6 addresses on an interface and specify the IPv6 prefix for the summarized routes.
The undo ripng summary-address command disables a RIPng router from advertising the summary IPv6 addresses.
By default, this function is disabled.
ripng summary-address ipv6-address prefix-length [ avoid-feedback ]
undo ripng summary-address ipv6-address prefix-length
| Parameter | Description | Value |
|---|---|---|
| ipv6-address | Specifies the summary IPv6 network address. | - |
| prefix-length | Specifies the length of the IPv6 prefix. It specifies the number of consecutive bits in the IPv6 prefix in the network address, namely, the network address in the address. | The value is an integer ranging from 0 to 128. |
| avoid-feedback | Avoids learning the same summarized routes through an interface. | - |
Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, Tunnel interface view, Dialer interface view, VLANIF interface view
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.
# Configure IPv6 address 2001:200::3EFF:FE11:6770 to GigabitEthernet0/0/0, set the prefix length to 64 bits, and summarize the configured IPv6 address as an IPv6 address with the prefix 2001:200::/35 in RIPng process 100.
<sysname> system-view
[sysname] ipv6
[sysname] ripng 100
[sysname-ripng-100] quit
[sysname] interface GigabitEthernet 0/0/0
[sysname-GigabitEthernet0/0/0] ipv6 enable
[sysname-GigabitEthernet0/0/0] ipv6 address 2001:200::3EFF:FE11:6770/64
[sysname-GigabitEthernet0/0/0] ripng 100 enable
[sysname-GigabitEthernet0/0/0] ripng summary-address 2001:200:: 35