User Manual
UMN:CLI
V8102
635
12.1.17.44
Neighbor Weight
To specify a weight value, per address-family, to all routes learned from a neighbor, use
the following command.
Command
Mode
Description
neighbor
{
A.B.C.D
|
X:X::X:X |
WORD
}
weight
<0-65535>
Router
Sets a veight value.
A.B.C.D: BGP neighbor IP address
X:X::X:X: BGP neighbor IPv6 address
WORD: BGP peer group
0-65535:weught value
no neighbor
{
A.B.C.D
|
X:X::X:X |
WORD
}
weight
<0-65535>
Removes a weight assignment.
12.1.18
BGP Community List
The community-lists specify BGP community attributes. The community attribute is used
for implementing policy routing. It is an optional, transitive attribute and facilitates transfer
of local policies through different autonomous systems (ASs). It includes community val-
ues that are 32 bits long.
There are two kinds of community-lists: the expanded and standard. The
standard com-
munity-list
defines the community attributes in a specified format and not with regular ex-
pressions. The
expanded community-list
defines the community attributes with regular
expressions.
Use the ip
community-list standard
command to add a standard community-list entry.
The standard community-list is compiled into binary format and is directly compared with
the BGP communities attribute in the BGP updates. The comparison is faster than the
expanded community-list. Any community value that does not match the standard com-
munity value is automatically treated as expanded.
To add a community list entry, use the following command.
Command
Mode
Description
ip community-list
<1-99> {
deny |
permit
} [
LINE
]
Global
Specifies a deny or permit statement of the communi-
ty-list.
1-99: standard community list numbers
100-199: expanded community list numbers
WORD: community list name
deny: specify community to reject.
permit: specify community to accept.
LINE: Community number in aa:nn format or
internet | local-AS | no-advertise | no-export
AA:NN: the valid value for the community number
(format: 32 bit communities value)
internet: specifies routes not to be advertised to the
internet
local-AS: specifies routes not to be advertised to
external BGP peers
ip community-list
<1-99> {
deny |
permit
} [
AA:NN | local-AS | no-
advertise
|
no-export
]
ip community-list
<100-199> {
de-
ny | permit
} [
LINE
]
ip community-list WORD
{
deny |
permit
} [
LINE
]
ip community-list WORD
{
deny |
permit
} [
AA:NN | local-AS | no-
advertise
|
no-export]