Applying Route-Policy To Routes Imported By Bgp - 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
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
isis [ process-id ]
An IS-IS process is enabled and the IS-IS view is displayed.
Step 3 Configuring IS-IS to Import External Routes
l If you want to set the cost for the imported route, you can run the import-route protocol
l If you want to keep the original cost for the imported route, you can run the import-route
----End

10.7.5 Applying Route-Policy to Routes Imported by BGP

By applying filters, you can control the import of BGP routes.
Context
Do as follows on the switch that runs BGP:
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:
ipv4-family unicast
The IPv4 unicast address family view is displayed.
Step 4 Run:
import-route protocol [ process-id ] [ med med | route-policy route-policy-name ]
The external routes are imported.
----End
Issue 01 (2012-03-15)
[ process-id ] [ cost-type { external | internal } | cost cost | tag tag | route-policy route-
policy-name | [ level-1 | level-2 | level-1-2 ] ]
{ { rip | isis | ospf } [ process-id ] | bgp } inherit-cost [ tag tag | route-policy route-policy-
name | [ level-1 | level-2 | level-1-2 ] ]
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
10 Routing Policy Configuration
*
command to import the external routes.
*
command to import the external routes.
*
613

Advertisement

Table of Contents
loading

Table of Contents