Configuring Bgp4+ To Import And Filter External Routes - Huawei S6700 Series Configuration Manual

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
When configuring manual aggregation of routes, you can apply various routing policies and set
the route attributes.
----End

8.5.4 Configuring BGP4+ to Import and Filter External Routes

After BGP4+ filters the imported routes, only the eligible routes are added to the local BGP4+
routing table and advertised to BGP4+ peers.
Context
Do as follows on the BGP4+ switch:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
bgp as-number
The BGP view is displayed.
Step 3 Run:
ipv6-family [ unicast ]
The BGP IPv6 unicast address family view is displayed.
Step 4 Run:
default-route imported
BGP4+ is configured to import the default routes.
If the default-route imported command is not used, you cannot import the default routes from
other protocols by using the import-route command.
Step 5 Run:
import-route protocol [ process-id ] [ med med | route-policy route-policy-name ]
BGP4+ is configured to import routes of other protocols.
Step 6 Run:
filter-policy { acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name }
export [ protocol [ process-id ] ]
Imported routes are filtered.
After BGP4+ filters the imported routes, only the eligible routes are added to the BGP4+ local
routing table and advertised to BGP4+ peers. If protocol [ process-id ] is specified, the routes
of the specific routing protocol are filtered. If protocol [ process-id ] is not specified, all the local
Issue 01 (2012-03-15)
NOTE
Specify the process ID when the routes of a dynamic routing protocol are imported.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
8 BGP4+ Configuration
*
514

Advertisement

Table of Contents
loading

Table of Contents