< Home

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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >