Advertising a default route, Configuring received/redistributed route filtering – H3C Technologies H3C S5560 Series Switches User Manual
Page 366

350
RIPng advertises a summary route with the smallest metric of all the specific routes.
For example, RIPng has two specific routes to be advertised through an interface: 1:11:11::24 with a metric
of a 2 and 1:11:12::34 with a metric of 3. Configure route summarization on the interface, so RIPng
advertises a single route 11::0/16 with a metric of 2.
To configure RIPng route summarization:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type interface-number
N/A
3.
Advertise a summary IPv6
prefix.
ripng summary-address ipv6-address
prefix-length
By default, the
summary IPv6 prefix
is not configured.
Advertising a default route
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Configure RIPng to advertise a
default route.
ripng default-route { only |
originate } [ cost cost ]
By default, RIPng does not advertise a
default route.
This command advertises a default
route on the current interface
regardless of whether the default route
is available in the local IPv6 routing
table.
Configuring received/redistributed route filtering
Perform this task to filter received or redistributed routes by using an IPv6 ACL or IPv6 prefix list. You can
also configure RIPng to filter routes redistributed from other routing protocols and routes from a specified
neighbor.
To configure a RIPng route filtering policy:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter RIPng view.
ripng [ process-id ] [ vpn-instance
vpn-instance-name ]
N/A
3.
Configure a filter policy
to filter received routes.
filter-policy { acl6-number | prefix-list
prefix-list-name } import
By default, RIPng does not filter
received routes.
4.
Configure a filter policy
to filter redistributed
routes.
filter-policy { acl6-number | prefix-list
prefix-list-name } export [ protocol
[ process-id ] ]
By default, RIPng does not filter
redistributed routes.