xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
170
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.
Format
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)
Parameters
<ipaddr>
- Specifies the IP address of the neighbor to be configured.
peer_group
- Specifies the peer group to be configured.
<peer_group_name 16>
- Enter the peer group name here. This name can be up to 16
characters long.
ebgp_multihop
- (Optional) Specifies the TTL of BGP packet sent to the neighbor. For an EBGP
neighbor the default setting is 1. This means only direct connected neighbors are allowed.
<value 1-255>
- Enter the EBGP multi-hop value used here. This value must be between 1
and 255.
weight
- (Optional) The valid range is from 0 to 65535. If this is not specified, the routes learned
through another BGP peer will have a default weight of 0. Routes sourced by the local router
have a weight of 32768. It cannot be changed.
value <0-65535>
- Enter the weight value used here. This value must be between 0 and
65535.
default
- Specifies that the default weight value will be used.
update_source
- (Optional) Specifies an interface to be used by BGP sessions for the TCP
connection. By default, this parameter is not set.
add
- Specifies to add an interface.
delete
- Specifies to delete an interface.
ipif
- (Optional) Specifies the IP interface name used.
<ipif_name 12>
- Enter the IP interface name used here. This name can be up to 12
characters long.
send_community
- (Optional) This specifies the communities attribute to be sent to the BGP
neighbor.
standard
- Only standard communities will be sent.
none
- No communities will be sent. The default value is none.
next_hop_self
- (Optional) Enable or disable the next hop self attribute. By default, this setting is
disabled.
enable
- Specifies that the next-hop-self attribute will be enabled.
disable
- Specifies that the next-hop-self attribute will be disabled.
soft_reconfiguration_inbound
- (Optional) Specifies to enable or disable the inbound soft
reconfiguration function. By default, this setting is disabled.
enable
- Specifies that the soft re-configuration inbound option will be enabled.
disable
- Specifies that the soft re-configuration inbound option will be disabled.
remove_private_as
- (Optional) If this setting is set to enable, the private AS number in the AS
path attribute of the BGP update packets will be dropped. By default, the setting is disabled.
enable
- Specifies that the 'remove private AS' option will be enabled.
disable
- Specifies that the 'remove private AS' option will be disabled.
allowas_in
- (Optional) If the allow_
as setting is enabled, the BGP router’s self AS is allowed in
the AS path list. By default, the allow_as setting is disabled. If no number is supplied, the
default value of 3 times is used.