Configuring bgp route filtering policies, Configuration prerequisites – H3C Technologies H3C S5560 Series Switches User Manual

Page 236

Advertising
background image

220

Tears down the BGP session to the peer or peer group and, after a specified period of time,

re-establishes a BGP session to the peer or peer group.

You can specify a percentage threshold for the router to generate a log message. When the ratio of the

number of received routes to the maximum number reaches the percentage value, the router generates a

log message.
To limit routes that a router can receive from a peer or peer group (IPv4):

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.

ip vpn-instance

vpn-instance-name

N/A

3.

Enter BGP IPv4 unicast
address family view or

BGP-VPN IPv4 unicast
address family view.

address-family ipv4 [ unicast ]

N/A

4.

Specify the maximum number

of routes that a router can
receive from a peer or peer

group.

peer { group-name | ip-address
[ mask-length ] } route-limit

prefix-number [ { alert-only |

discard | reconnect
reconnect-time } |

percentage-value ] *

By default, the number of routes
that a router can receive from a

peer or peer group is not limited.

To limit routes that a router can receive from a peer or peer group (IPv6):

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Enter BGP IPv6 unicast
address family view.

address-family ipv6 [ unicast ]

N/A

4.

Specify the maximum number

of routes that a router can
receive from a peer or peer

group.

peer { group-name | ipv6-address
[ prefix-length ] } route-limit

prefix-number [ { alert-only |

discard | reconnect
reconnect-time } |

percentage-value ] *

By default, the number of routes
that a router can receive from a

peer or peer group is not limited.

Configuring BGP route filtering policies

Configuration prerequisites

Before you configure BGP routing filtering policies, configure the following filters used for route filtering

as needed:

ACL (see ACL and QoS Configuration Guide).

Advertising
This manual is related to the following products: