Download Print this page

Example For Configuring Bgp Community Attributes For Routes - Huawei Quidway NetEngine80E Configuration Manual

Universal service router, ip routing
Hide thumbs Also See for Quidway NetEngine80E:

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
l
8.28.8 Example for Configuring BGP Community Attributes for
Routes
Community attributes can be used to control BGP route selection.
Networking Requirements
Enterprises A, B, and C belong to different ASs. Enterprise B's network communicates with the
networks of the other two enterprises using EBGP. Due to the competition relationship with
enterprise C, enterprise A hopes that the routes it advertises to enterprise B are transmitted only
in enterprise B, not to enterprise C. Community attributes can be configured for routes to be
advertised by enterprise A to enterprise B in order to address this problem.
On the network shown in
and C. To ensure that routes imported by Router A are transmitted only AS 20 after being
advertised to Router B, you can configure the No_Export community attribute for BGP routes
to be advertised by Router A so that the BGPs are sent only to AS 20.
Issue 02 (2014-09-30)
peer 20.1.5.2 enable
#
return
NOTE
The configuration file of Router E is similar to that of Router D, and is not provided here.
Configuration file of Router F.
#
sysname RouterF
#
interface GigabitEthernet2/0/0
undo shutdown
ip address 9.1.1.1 255.255.255.0
#
interface Pos1/0/0
link-protocol ppp
undo shutdown
ip address 200.1.1.2 255.255.255.0
#
bgp 100
router-id 6.6.6.6
peer 200.1.1.1 as-number 200
#
ipv4-family unicast
undo synchronization
network 9.1.1.0 255.255.255.0
peer 200.1.1.1 enable
#
return
Figure
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
8-36, Router B establishes EBGP connections with Routers A
8 BGP Configuration
1007

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e