Configuring ipv6 bgp route summarization, Configuring outbound route filtering – H3C Technologies H3C S12500 Series Switches User Manual

Page 377

Advertising
background image

361

Configuring IPv6 BGP route summarization

To reduce the routing table size on medium and large BGP networks, configure route summarization on

BGP routers. BGP supports only manual summarization of IPv6 routes.
To configure IPv6 BGP route summarization:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Enter IPv6 address
family view.

ipv6-family

N/A

4.

Configure manual

route summarization.

aggregate ipv6-address prefix-length [ as-set |
attribute-policy route-policy-name |

detail-suppressed | origin-policy route-policy-name

| suppress-policy route-policy-name ] *

Not configured by
default.

Advertising a default route to an IPv6 peer or peer group

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Enter IPv6 address family
view.

ipv6-family

N/A

4.

Advertise a default route to
an IPv6 peer or peer

group.

peer { group-name |
ipv6-address
}

default-route-advertise
[ route-policy route-policy-name ]

Not advertised by default.
With the peer default-route-advertise
command executed, the local router

advertises a default route with itself as
the next hop to the specified IPv6 peer

or peer group, regardless of whether

the default route is available in the
routing table.

Configuring outbound route filtering

IPv6 BGP advertises routes passing the specified policy to peers. Using the protocol argument can filter
only the routes redistributed from the specified protocol. If no protocol is specified, IPv6 BGP filters all

routes to be advertised, including redistributed routes and routes imported with the network command.
To configure outbound route filtering:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

Advertising