DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
96
7-43 neighbor filter-list
This command is used to set up a BGP filter. Use the no command to disable this function.
neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
} filter-list
ACCESS-LIST-NAME
{in | out}
no neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
} filter-list {in | out}
Parameters
Usage Guideline
If you specify a BGP peer group by using the
PEER-GROUP-NAME
argument, all
the members of the peer group will inherit the characteristic configured with this
command
Use the
show ip bgp neighbors
or
show ip bgp peer-group
command to verify
your settings.
Example
This example shows how to set the value of the ebgp-multihop in order to connect to
the neighbor 172.16.10.10, which resides on a network that is not directly connected.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router bgp 100
DXS-3600-32S(config-router)#neighbor 172.16.10.10 remote-as 65101
DXS-3600-32S(config-router)#neighbor 172.16.10.10 ebgp-multihop 5
DXS-3600-32S(config-router)#
Example
This example shows how to set the ebgp-multihop value to 255, without the
NUMBER
parameter.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router bgp 100
DXS-3600-32S(config-router)#neighbor 172.16.10.10 remote-as 65101
DXS-3600-32S(config-router)#neighbor 172.16.10.10 ebgp-multihop
DXS-3600-32S(config-router)#
IP-ADDRESS
Specifies the IP address of the BGP peer.
PEER-GROUP-NAME
Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum
length is 16 characters.
ACCESS-LIST-NAME
Specifies the name of an autonomous system path access list. You define this
access list with the
ip as-path access-list
command.
in
Specifies the filter list that is applied to incoming advertisements from that neighbor.
out
Specifies the filter list that is applied to outgoing advertisements to that neighbor.
Default
No filter is used.
Command Mode
Router Configuration Mode.
Address Family Configuration Mode (IPv4 Unicast, VPNv4 and VRF).
Command Default Level
Level: 8. (
EI Mode Only Command
)
Usage Guideline
This command specifies an access list filter on updates based on the BGP
autonomous system paths. Each filter is an AS path access list based on regular
expressions.
If the filter list doesn’t exist, it will permit all. If the filter list does exist but has no filter
entry, it means deny any.
Each neighbor can only have one inbound and one outbound access list.
Use the
show ip bgp neighbors
or
show ip bgp peer-group
command to verify
your settings.
Содержание DXS-3600-16S
Страница 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Страница 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Страница 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Страница 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Страница 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Страница 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Страница 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...