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.
ripng summary-address ipv6-address prefix-length [ avoid-feedback ]
undo ripng summary-address ipv6-address prefix-length
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. | - |
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.
<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
<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