BGP Configuration Commands
6-94 Configuring the Border Gateway Protocol
neighbor distribute-list
This
command
distributes
the
information
specified
in
an
access
‐
list
to
a
BGP
neighbor.
Before
entering
this
command,
a
neighbor
or
peer
group
must
be
identified
by
means
of
the
neighbor
remote-as
or
neighbor peer-group
command.
Also,
the
prefix
‐
based
ACL
must
be
configured.
Syntax
neighbor
{
ip-address
|
peer-group-name
}
distribute-list
access-list
{
in
|
out
}
Syntax of the “no” Form
The
no
form
of
this
command
removes
the
ACL
‐
linked
neighbor:
no neighbor
{
ip-address
|
peer-group-name
}
distribute-list
access-list
{
in
|
out
}
Mode
Router
configuration:
XSR(config-router)#
Default
No
access
list
applied
Example
This
example
applies
access
‐
list
1
to
incoming
advertisements
from
neighbor
192.168.1.1
.
Only
routes
which
match
10.0.0.0/8,
11.0.0.0/8
or
12.0.0.0/8
prefixes
will
be
accepted
from
the
neighbor.
XSR(config)#access-list 1 permit 10.0.0.0 255.0.0.0
XSR(config)#access-list 1 permit 11.0.0.0 255.0.0.0
XSR(config)#access-list 1 permit 12.0.0.0 255.0.0.0
XSR(config)#router bgp 100
XSR(config-router)#neighbor 192.168.1.1 remote-as 101
XSR(config-router)#neighbor 192.168.1.1 distribute-list 1 in
Note:
Perform a
clear ip bgp neighbor <IP address>
whenever this command is changed.
ip-address
Neighbor’s
IP
address.
peer-group-name
BGP
peer
group
by
name.
Range:
1
to
64
characters.
access-list
ACL,
ranging
from
1
to
199.
in
ACL
applied
to
inbound
routes.
out
ACL
applied
to
outbound
routes.
Содержание X-Pedition XSR
Страница 1: ...X Pedition Security Router XSR CLI Reference Guide Version 7 6 P N 9033842 07...
Страница 2: ......
Страница 10: ...viii...
Страница 14: ...xii...
Страница 134: ...Bootrom Monitor Mode Commands 3 128 Configuring the XSR Platform...
Страница 278: ...VRRP Clear and Show Commands 5 202 Configuring the Internet Protocol...
Страница 352: ...IGMP Clear and Show Commands 7 104 Configuring IP Multicast...
Страница 406: ...Multilink Show Commands 8 136 Configuring the Point to Point Protocol...
Страница 436: ...Frame Relay Clear and Show Commands 9 112 Configuring Frame Relay...
Страница 460: ...Dialer Watch Commands 10 106 Configuring the Dialer Interface...