xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
127
DGS-3627:admin#
config bgp neighbor 10.10.10.2 description EBGP-neighbor
Command: config bgp neighbor 10.10.10.2 description EBGP-neighbor
Success.
DGS-3627:admin#
config bgp neighbor session
Purpose
This command is used to configure the BGP neighbor’s session attribute.
Syntax
config bgp neighbor session [<ipaddr> | peer_group <peer_group_name 16>] state
[enable | disable]
Description
The command is used to configure the state for a BGP neighbor. If a neighbor is specified to
be in the disabled state, it is equivalent to the case that the neighbor is deleted except when
the neighbor configuration is kept.
Parameters
<ipaddr>
- Specifies the IP address of the neighbor to be configured.
<peer_group_name>
- Specifies the peer group to be configured.
state
- If state is changed from enabled to disabled, the session with the neighbor peer will be
terminated.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To shut down all the neighbors that are contained in the peer group “Campus”:
DGS-3627:admin#
config bgp neighbor session peer_group Campus state disable
Command: config bgp neighbor session peer_group Campus state disable
Success.
DGS-3627:admin#
config bgp neighbor session activity
Purpose
This command is used to configure the BGP neighbor’s session activity for an individual
address family.
Syntax
config bgp neighbor session [<ipaddr> | peer_group <peer_group_name 16>] activity
[enable | disable]
Description
This command can be used to configure the activity state for an individual address family. For
now, only the address family “IPv4” is supported:
Parameters
<ipaddr>
- Specifies the IP address of the neighbor to be configured.
<peer_group_name>
- Specifies the peer group to be configured.
activity
- Specify the state for an individual address family. By default, the setting is enabled
for IPv4 address families.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To shut down all the neighbors’ activity states that are contained in the peer group “Campus”: