D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
128
DGS-3627:admin# config bgp neighbor session 10.1.1.1 activity disable
Command: config bgp neighbor session 10.1.1.1 activity disable
Success.
DGS-3627:admin#
config bgp neighbor general
Purpose This command is used to configure the BGP neighbor’s general setting.
Syntax
config bgp neighbor general [<ipaddr> | peer_group <peer_group_name 16>] {
ebgp_multihop <value 1-255> | weight [<value 0-65535>| default ] | update_source [add
| delete] ipif <ipif_name 12>| send_community [standard | none] | next_hop_self
[enable | disable] | soft_reconfiguration_inbound [enable | disable] |
remove_private_as [enable | disable] | allowas_in [enable {<value 1-10>}| disable] |
default_originate [enable {route_map <map_name 16>} | disable] }(1)
Description
ebgp_multihop: This specifies the TTL of the BGP packet sent to the neighbor. If it is
specified as 1, it will have a restriction that the neighbor must be directly connected to it.
weight: This specifies the weight that will be associated to the routes learned from the
specified neighbor. The route with highest weight will be chosen as the preferred route. If the
route map sets weight to a route, then this route map specified weight will override the weight
specified by the BGP neighbor’s command. Weight is an attribute which is specified in the
ingress direction, and is not an attribute to be advertised with the route. It is used to specify
preference for routes received from a neighbor over another neighbor.
update_source: This parameter allows BGP sessions to use any operational interface for
TCP connections.
soft_reconfiguration_inbound: If the setting is enabled, the route updates sent from the
specified neighbor will be stored. This storage is required for inbound soft reconfiguration.
When a soft reset is requested for inbound sessions, the session will not be torn down, but
the inbound routing table will be cleared. It needs to be rebuilt. If the soft reconfiguration
inbound is enabled, then the routing table can be rebuilt based on the stored route update
information. If the soft reconfiguration inbound is disabled, then the local router will send the
route refresh requests to the neighbor to ask for the route refresh.
next_hop_self: If the next_hop_self option is enabled, the router will set the next hop to itself
when it advertises the routes to the specific neighbor. If the next_hop_self option is disabled,
the next hop attributes will not be changed. The behavior described here will be overridden
by the set next hop statement if route map is applied to the neighbor in the out direction.
remove_private_as: The private Autonomous System numbers are from 64512 to 65535. If
this setting is set to enable, the private AS number in the AS path attribute of the BGP update
packets will be dropped.
allowas_in: The BGP router will do AS path loop checks for the received BGP update
packet. If the BGP router’s self AS appears in the AS path, it is identified as a loop and the
packet will be discarded. If the allow-as setting is enabled, the BGP router’s self AS is
allowed in the AS path list.
default_originate: If this setting is enabled, it will allow a BGP speaker (the local router) to
send the default route 0.0.0.0/0 to a neighbor to use as the default route. If route map is
specified, the default route will be injected if the route map contains a match IP address
statement. If this setting is disabled, no default route will be sent to the neighbor. The default
setting is disabled.