< Home

rip summary-address

Function

The rip summary-address command configures a RIP switch to advertise a local summarized IP address.

The undo rip summary-address command disables a RIP switch from advertising a local summarized IP address.

By default, a RIP switch does not advertise local summarized IP addresses.

Format

rip summary-address ip-address mask [ avoid-feedback ]

undo rip summary-address ip-address mask

Parameters

Parameter Description Value
ip-address Specifies the network IP address to be summarized. The value is in dotted decimal notation.
mask Specifies the network mask. The value is in dotted decimal notation.
avoid-feedback Specifies that learning the same summarized route from an interface is not allowed. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Configure the switch to advertise a local summarized IP address.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] rip summary-address 10.0.0.0 255.0.0.0

# Configure the switch to advertise a local summarized IP address.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] rip summary-address 10.0.0.0 255.0.0.0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >