DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
101
7-48 neighbor peer-group (create group)
This command is used to create a peer group. Use the no form of this command to delete a peer group.
neighbor
PEER-GROUP-NAME
peer-group
no neighbor
PEER-GROUP-NAME
peer-group
Parameters
As for the above attributes, setting the attribute of a peer group will automatically
affect the setting for individual peers in the peer group.
If a BGP neighbor has already been the established state before using this
command, BGP connection will be torn down, so the following log message will be
generated.
[BGP(2):] BGP connection is normally closed (Peer:<ipaddress>)
Where the <ipaddress> is the address of the peer. After a while, the connection will
be rebuilt, and the following log message will be generated.
[BGP(1):] BGP connection is successfully established Peer:<ipaddress>
Where the <ipaddress> is the address of the peer.
When delete a peer from the peer group, the peer will be deactivated if it was
created with remote-as parameter.
Use the
show ip bgp peer-group
command to verify your settings.
Example
This example shows how to add an existing peer 172.16.1.1 to a peer group named
‘G1’.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router bgp 40000
DXS-3600-32S(config-router)#neighbor G1 peer-group
DXS-3600-32S(config-router)#neighbor 172.16.1.1 remote-as 30000
DXS-3600-32S(config-router)#neighbor 172.16.1.1 peer-group G1
DXS-3600-32S(config-router)#
Example
This example shows how to to add a new peer 172.16.1.2 to the peer group ‘G2’, in
which case the peer group must be configured the remote-as first.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router bgp 40000
DXS-3600-32S(config-router)#neighbor G2 peer-group
DXS-3600-32S(config-router)#neighbor G2 remote-as 30000
DXS-3600-32S(config-router)#neighbor 172.16.1.2 peer-group G2
DXS-3600-32S(config-router)#
PEER-GROUP-NAME
Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum
length is 16 characters.
Default
No default peer group.
Command Mode
Router Configuration Mode.
Address Family Configuration Mode (VRF).
Command Default Level
Level: 8. (
EI Mode Only Command
)
Usage Guideline
Use this command to gather a set of neighbors for simplifying configuration. The
remote AS must specified by using the neighbor
PEER-GROUP-NAME
remote-as
AS-NUMBER
command.
Use the
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 ...