D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
125
DGS-3627:admin# config bgp peer_group local delete 10.2.2.2
Command: config bgp peer_group local delete 10.2.2.2
Success.
DGS-3627:admin#
config bgp peer_group remote_as
Purpose This command is used to configure the BGP peer group’s remote AS number.
Syntax
config bgp peer_group <peer_group_name 16> remote_as <as_number 0-65535>
Description The command is used to configure the AS number of a BGP peer group.
After this command is executed, all peers belonging to this peer group, which are generated
with no indicated AS number, will change their AS number to the same value as the peer
group’s stop and restarted values. If the peer group remote AS has a value of zero, it means
“no remote_as”, and members that are generated with no indicated AS number will be
deleted.
The default AS number is 0.
Parameters
<peer_group_name> - The name of the BGP peer group. The length is up to 16 bytes.
<as_number 0-65535> - The number of autonomous systems to which the peer group
belongs to. The range is from 0 to 65535.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To set a peer group named local remote_as to 50:
DGS-3627:admin# config bgp peer_group local remote_as 50
Command: config bgp peer_group local remote_as 50
Success.
DGS-3627:admin#
create bgp neighbor
Purpose This command is used to create a BGP neighbor.
Syntax
create bgp neighbor [<ipaddr> [remote_as <as_number 1-65535>| peer_group
<peer_group_name 16>] | peer_group <peer_group_name 16>]
Description The command is used to create a BGP neighbor. Either a single router or a peer group can
be a neighbor.
If the created neighbor has a single IP address, the remote AS must be specified. A peer
group must be specified for which this BGP speaking neighbor belongs to, and in this
condition, a remote AS must be specified to the peer group first.
If the created neighbor is a peer group, then the remote AS cannot be specified here. The
remote AS must specified by using the config peer_group remote_as command.
Parameters
<ipaddr> - The IP address of the BGP speaking neighbor.
<peer_group_name> - Specifies the peer group to be created and added as a neighbor.
<as_number> - The number of Autonomous Systems to which the neighbor belongs. The
range is from 0 to 65535.
Restrictions Only Administrator and Operator-level users can issue this command.