Community String Attribute - Zte ZXR10 GER User Manual

Excellent router
Table of Contents

Advertisement

ZXR10 GER (V2.6.03) General Excellent Router User Manual Volume-I
Introduction
Purpose
Prerequisites
Steps
244
Confidential and Proprietary Information of ZTE CORPORATION
ZXR10_R2(config-router)#neighbor 4.4.4.2 route-map setmetricou
out
ZXR10_R2(config)#route-map setmetricout permit 10
ZXR10_R2(config-route-map)#set metric 50
In the following the command bgp always-compare-med is
used to compare the metric values of R1 and R2 by force. Since
the metric value of R2 is less than that of R3, for updates of
180.10.0.0, R1 will select update from R2 instead of R3.
Configuration of R1:
ZXR10_R1(config)#router bgp 100
ZXR10_R1(config-router)#neighbor 2.2.2.1 remote-as 300
ZXR10_R1(config-router)#neighbor 3.3.3.2 remote-as 300
ZXR10_R1(config-router)#neighbor 4.4.4.1 remote-as 400
ZXR10_R1(config-router)#bgp always-compare-med

Community String Attribute

The community string attribute is a transferred optional attribute,
0 to 4.294,967,295. The decision on a group of routes can be made
according to the community attribute.
The definitions of several known and accepted community
attributes are given as follows:
no-export: Advertisement to EBGP neighbors is disabled
no-advertise:
Advertisement
disabled
no-export-subconfed: Routes with the attribute will not be
advertised outside the community
Refer to below procedure for community string attribute
configuration on ZTE ZXR10 GER.
Refer Router Command Line Interface has been accessed.
BGP is running on a network.
1. For sending community string attribute, use neighbor <ip-
address> send-community command in BGP route mode as
shown in Table 295.
T
2 9 5 S
C
A B L E
E N D
Command
Format
neighbor <ip-
address> send-
community
Result: This sends the community attribute upon route
advertisement to neighbors.
to
any
A
C
O M M U N I T Y
T T R I B U T E
Command
Command Function
Mode
This sends the community
Route
attribute upon route
advertisement to neighbors
BGP
neighbors
O M M A N D
is

Advertisement

Table of Contents
loading

Table of Contents