beautypg.com

Configuration prerequisites – H3C Technologies H3C S12500 Series Switches User Manual

Page 230

background image

214

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view or BGP-VPN
instance view.

Enter BGP view:

bgp as-number

Enter BGP-VPN instance view:

a.

bgp as-number

b.

ipv4-family vpn-instance

vpn-instance-name

Use either method.

3.

Configure manual route
summarization.

aggregate ip-address { mask |
mask-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 a peer or peer group

After this task is configured, the BGP router sends a default route with the next hop being itself to the

specified peer or peer group.
To advertise a default route to a peer or peer group:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view or BGP-VPN
instance view.

Enter BGP view:

bgp as-number

Enter BGP-VPN instance view:

a.

bgp as-number

b.

ipv4-family vpn-instance

vpn-instance-name

Use either method.

3.

Advertise a default route to a
peer or peer group.

peer { group-name | ip-address }
default-route-advertise

[ route-policy route-policy-name ]

Not advertised by default.

Configuring BGP route distribution/reception filtering policies

Configuration prerequisites

You must configure the following filters as needed:

ACL

IP prefix list

Routing policy

AS path list