Huawei S6700 Series Configuration Manual page 392

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

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
l
Issue 01 (2012-03-15)
The system view is displayed.
2.
Run:
bgp as-number
The BGP view is displayed.
3.
(Optional) Run:
ipv4-family unicast
The BGP-IPv4 unicast address family view is displayed.
By default, the BGP-IPv4 unicast address family view is displayed.
4.
Run:
import-route protocol [ process-id ] [ med med | route-policy route-policy-
*
name ]
BGP is configured to import routes from other protocols.
By configuring the parameter med, you can set MED values for the imported routes.
The EBGP peer selects the route with the smallest MED for traffic entering an AS.
By configuring the parameter route-policy route-policy-name, you can filter the
routes imported from other protocols.
NOTE
The process ID of a routing protocol needs to be specified if IS-IS, OSPF, or RIP routes are to
be imported.
5.
(Optional) Run:
default-route imported
BGP is configured to import default routes.
To import default routes, run both the default-route imported command and the
import-route command. If only the import-route command is used, no default route
can be imported. In addition, the default-route imported command is used to import
only the default routes that exist in the local routing table.
Configure BGP to import routes in Network mode.
1.
Run:
system-view
The system view is displayed.
2.
Run:
bgpas-number
The BGP view is displayed.
3.
(Optional) Run:
ipv4-family unicast
The BGP-IPv4 unicast address family view is displayed.
By default, the BGP-IPv4 unicast address family view is displayed.
4.
Run:
network ipv4-address [ mask | mask-length ] [ route-policy route-policy-
name ]
BGP is configured to advertise local routes.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7 BGP Configuration
373

Advertisement

Table of Contents
loading

Table of Contents