Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

Configure BGP.

  config router bgp
      Description: Configure BGP.
      set as {integer}
      set router-id {ipv4-address-any}
      set keepalive-timer {integer}
      set holdtime-timer {integer}
      set always-compare-med [enable|disable]
      set bestpath-as-path-ignore [enable|disable]
      set bestpath-cmp-confed-aspath [enable|disable]
      set bestpath-cmp-routerid [enable|disable]
      set bestpath-med-confed [enable|disable]
      set bestpath-med-missing-as-worst [enable|disable]
      set client-to-client-reflection [enable|disable]
      set dampening [enable|disable]
      set deterministic-med [enable|disable]
      set ebgp-multipath [enable|disable]
      set ibgp-multipath [enable|disable]
      set enforce-first-as [enable|disable]
      set fast-external-failover [enable|disable]
      set log-neighbour-changes [enable|disable]
      set network-import-check [enable|disable]
      set ignore-optional-capability [enable|disable]
      set additional-path [enable|disable]
      set additional-path6 [enable|disable]
      set cluster-id {ipv4-address-any}
      set confederation-identifier {integer}
      set confederation-peers <peer1>, <peer2>, ...
      set dampening-route-map {string}
      set dampening-reachability-half-life {integer}
      set dampening-reuse {integer}
      set dampening-suppress {integer}
      set dampening-max-suppress-time {integer}
      set dampening-unreachability-half-life {integer}
      set default-local-preference {integer}
      set scan-time {integer}
      set distance-external {integer}
      set distance-internal {integer}
      set distance-local {integer}
      set synchronization [enable|disable]
      set graceful-restart [enable|disable]
      set graceful-restart-time {integer}
      set graceful-stalepath-time {integer}
      set graceful-update-delay {integer}
      set graceful-end-on-timer [enable|disable]
      set additional-path-select {integer}
      set additional-path-select6 {integer}
      config aggregate-address
          Description: BGP aggregate address table.
          edit <id>
              set prefix {ipv4-classnet-any}
              set as-set [enable|disable]
              set summary-only [enable|disable]
          next
      end
      config aggregate-address6
          Description: BGP IPv6 aggregate address table.
          edit <id>
              set prefix6 {ipv6-prefix}
              set as-set [enable|disable]
              set summary-only [enable|disable]
          next
      end
      config neighbor
          Description: BGP neighbor table.
          edit <ip>
              set advertisement-interval {integer}
              set allowas-in-enable [enable|disable]
              set allowas-in-enable6 [enable|disable]
              set allowas-in {integer}
              set allowas-in6 {integer}
              set attribute-unchanged {option1}, {option2}, ...
              set attribute-unchanged6 {option1}, {option2}, ...
              set activate [enable|disable]
              set activate6 [enable|disable]
              set bfd [enable|disable]
              set capability-dynamic [enable|disable]
              set capability-orf [none|receive|...]
              set capability-orf6 [none|receive|...]
              set capability-graceful-restart [enable|disable]
              set capability-graceful-restart6 [enable|disable]
              set capability-route-refresh [enable|disable]
              set capability-default-originate [enable|disable]
              set capability-default-originate6 [enable|disable]
              set dont-capability-negotiate [enable|disable]
              set ebgp-enforce-multihop [enable|disable]
              set link-down-failover [enable|disable]
              set stale-route [enable|disable]
              set next-hop-self [enable|disable]
              set next-hop-self6 [enable|disable]
              set override-capability [enable|disable]
              set passive [enable|disable]
              set remove-private-as [enable|disable]
              set remove-private-as6 [enable|disable]
              set route-reflector-client [enable|disable]
              set route-reflector-client6 [enable|disable]
              set route-server-client [enable|disable]
              set route-server-client6 [enable|disable]
              set shutdown [enable|disable]
              set soft-reconfiguration [enable|disable]
              set soft-reconfiguration6 [enable|disable]
              set as-override [enable|disable]
              set as-override6 [enable|disable]
              set strict-capability-match [enable|disable]
              set default-originate-routemap {string}
              set default-originate-routemap6 {string}
              set description {string}
              set distribute-list-in {string}
              set distribute-list-in6 {string}
              set distribute-list-out {string}
              set distribute-list-out6 {string}
              set ebgp-multihop-ttl {integer}
              set filter-list-in {string}
              set filter-list-in6 {string}
              set filter-list-out {string}
              set filter-list-out6 {string}
              set interface {string}
              set maximum-prefix {integer}
              set maximum-prefix6 {integer}
              set maximum-prefix-threshold {integer}
              set maximum-prefix-threshold6 {integer}
              set maximum-prefix-warning-only [enable|disable]
              set maximum-prefix-warning-only6 [enable|disable]
              set prefix-list-in {string}
              set prefix-list-in6 {string}
              set prefix-list-out {string}
              set prefix-list-out6 {string}
              set remote-as {integer}
              set local-as {integer}
              set local-as-no-prepend [enable|disable]
              set local-as-replace-as [enable|disable]
              set retain-stale-time {integer}
              set route-map-in {string}
              set route-map-in6 {string}
              set route-map-out {string}
              set route-map-out-preferable {string}
              set route-map-out6 {string}
              set send-community [standard|extended|...]
              set send-community6 [standard|extended|...]
              set keep-alive-timer {integer}
              set holdtime-timer {integer}
              set connect-timer {integer}
              set unsuppress-map {string}
              set unsuppress-map6 {string}
              set update-source {string}
              set weight {integer}
              set restart-time {integer}
              set additional-path [send|receive|...]
              set additional-path6 [send|receive|...]
              set adv-additional-path {integer}
              set adv-additional-path6 {integer}
              set password {password}
              config conditional-advertise
                  Description: Conditional advertisement.
                  edit <advertise-routemap>
                      set condition-routemap {string}
                      set condition-type [exist|non-exist]
                  next
              end
          next
      end
      config neighbor-group
          Description: BGP neighbor group table.
          edit <name>
              set advertisement-interval {integer}
              set allowas-in-enable [enable|disable]
              set allowas-in-enable6 [enable|disable]
              set allowas-in {integer}
              set allowas-in6 {integer}
              set attribute-unchanged {option1}, {option2}, ...
              set attribute-unchanged6 {option1}, {option2}, ...
              set activate [enable|disable]
              set activate6 [enable|disable]
              set bfd [enable|disable]
              set capability-dynamic [enable|disable]
              set capability-orf [none|receive|...]
              set capability-orf6 [none|receive|...]
              set capability-graceful-restart [enable|disable]
              set capability-graceful-restart6 [enable|disable]
              set capability-route-refresh [enable|disable]
              set capability-default-originate [enable|disable]
              set capability-default-originate6 [enable|disable]
              set dont-capability-negotiate [enable|disable]
              set ebgp-enforce-multihop [enable|disable]
              set link-down-failover [enable|disable]
              set stale-route [enable|disable]
              set next-hop-self [enable|disable]
              set next-hop-self6 [enable|disable]
              set override-capability [enable|disable]
              set passive [enable|disable]
              set remove-private-as [enable|disable]
              set remove-private-as6 [enable|disable]
              set route-reflector-client [enable|disable]
              set route-reflector-client6 [enable|disable]
              set route-server-client [enable|disable]
              set route-server-client6 [enable|disable]
              set shutdown [enable|disable]
              set soft-reconfiguration [enable|disable]
              set soft-reconfiguration6 [enable|disable]
              set as-override [enable|disable]
              set as-override6 [enable|disable]
              set strict-capability-match [enable|disable]
              set default-originate-routemap {string}
              set default-originate-routemap6 {string}
              set description {string}
              set distribute-list-in {string}
              set distribute-list-in6 {string}
              set distribute-list-out {string}
              set distribute-list-out6 {string}
              set ebgp-multihop-ttl {integer}
              set filter-list-in {string}
              set filter-list-in6 {string}
              set filter-list-out {string}
              set filter-list-out6 {string}
              set interface {string}
              set maximum-prefix {integer}
              set maximum-prefix6 {integer}
              set maximum-prefix-threshold {integer}
              set maximum-prefix-threshold6 {integer}
              set maximum-prefix-warning-only [enable|disable]
              set maximum-prefix-warning-only6 [enable|disable]
              set prefix-list-in {string}
              set prefix-list-in6 {string}
              set prefix-list-out {string}
              set prefix-list-out6 {string}
              set remote-as {integer}
              set local-as {integer}
              set local-as-no-prepend [enable|disable]
              set local-as-replace-as [enable|disable]
              set retain-stale-time {integer}
              set route-map-in {string}
              set route-map-in6 {string}
              set route-map-out {string}
              set route-map-out-preferable {string}
              set route-map-out6 {string}
              set send-community [standard|extended|...]
              set send-community6 [standard|extended|...]
              set keep-alive-timer {integer}
              set holdtime-timer {integer}
              set connect-timer {integer}
              set unsuppress-map {string}
              set unsuppress-map6 {string}
              set update-source {string}
              set weight {integer}
              set restart-time {integer}
              set additional-path [send|receive|...]
              set additional-path6 [send|receive|...]
              set adv-additional-path {integer}
              set adv-additional-path6 {integer}
          next
      end
      config neighbor-range
          Description: BGP neighbor range table.
          edit <id>
              set prefix {ipv4-classnet}
              set max-neighbor-num {integer}
              set neighbor-group {string}
          next
      end
      config neighbor-range6
          Description: BGP IPv6 neighbor range table.
          edit <id>
              set prefix6 {ipv6-network}
              set max-neighbor-num {integer}
              set neighbor-group {string}
          next
      end
      config network
          Description: BGP network table.
          edit <id>
              set prefix {ipv4-classnet}
              set backdoor [enable|disable]
              set route-map {string}
          next
      end
      config network6
          Description: BGP IPv6 network table.
          edit <id>
              set prefix6 {ipv6-network}
              set backdoor [enable|disable]
              set route-map {string}
          next
      end
      config redistribute
          Description: BGP IPv4 redistribute table.
          edit <name>
              set status [enable|disable]
              set route-map {string}
          next
      end
      config redistribute6
          Description: BGP IPv6 redistribute table.
          edit <name>
              set status [enable|disable]
              set route-map {string}
          next
      end
      config admin-distance
          Description: Administrative distance modifications.
          edit <id>
              set neighbour-prefix {ipv4-classnet}
              set route-list {string}
              set distance {integer}
          next
      end
  end

config router bgp

Parameter Name Description Type Size
as Router AS number, valid from 1 to 4294967295, 0 to disable BGP. integer Minimum value: 0 Maximum value: 4294967295
router-id Router ID. ipv4-address-any Not Specified
keepalive-timer Frequency to send keep alive requests. integer Minimum value: 0 Maximum value: 65535
holdtime-timer Number of seconds to mark peer as dead. integer Minimum value: 3 Maximum value: 65535
always-compare-med Enable/disable always compare MED.
enable: Enable setting.
disable: Disable setting.
option -
bestpath-as-path-ignore Enable/disable ignore AS path.
enable: Enable setting.
disable: Disable setting.
option -
bestpath-cmp-confed-aspath Enable/disable compare federation AS path length.
enable: Enable setting.
disable: Disable setting.
option -
bestpath-cmp-routerid Enable/disable compare router ID for identical EBGP paths.
enable: Enable setting.
disable: Disable setting.
option -
bestpath-med-confed Enable/disable compare MED among confederation paths.
enable: Enable setting.
disable: Disable setting.
option -
bestpath-med-missing-as-worst Enable/disable treat missing MED as least preferred.
enable: Enable setting.
disable: Disable setting.
option -
client-to-client-reflection Enable/disable client-to-client route reflection.
enable: Enable setting.
disable: Disable setting.
option -
dampening Enable/disable route-flap dampening.
enable: Enable setting.
disable: Disable setting.
option -
deterministic-med Enable/disable enforce deterministic comparison of MED.
enable: Enable setting.
disable: Disable setting.
option -
ebgp-multipath Enable/disable EBGP multi-path.
enable: Enable setting.
disable: Disable setting.
option -
ibgp-multipath Enable/disable IBGP multi-path.
enable: Enable setting.
disable: Disable setting.
option -
enforce-first-as Enable/disable enforce first AS for EBGP routes.
enable: Enable setting.
disable: Disable setting.
option -
fast-external-failover Enable/disable reset peer BGP session if link goes down.
enable: Enable setting.
disable: Disable setting.
option -
log-neighbour-changes Enable logging of BGP neighbour's changes
enable: Enable setting.
disable: Disable setting.
option -
network-import-check Enable/disable ensure BGP network route exists in IGP.
enable: Enable setting.
disable: Disable setting.
option -
ignore-optional-capability Don't send unknown optional capability notification message
enable: Enable setting.
disable: Disable setting.
option -
additional-path Enable/disable selection of BGP IPv4 additional paths.
enable: Enable setting.
disable: Disable setting.
option -
additional-path6 Enable/disable selection of BGP IPv6 additional paths.
enable: Enable setting.
disable: Disable setting.
option -
cluster-id Route reflector cluster ID. ipv4-address-any Not Specified
confederation-identifier Confederation identifier. integer Minimum value: 1 Maximum value: 4294967295
confederation-peers <peer> Confederation peers.
Peer ID.
string Maximum length: 79
dampening-route-map Criteria for dampening. string Maximum length: 35
dampening-reachability-half-life Reachability half-life time for penalty (min). integer Minimum value: 1 Maximum value: 45
dampening-reuse Threshold to reuse routes. integer Minimum value: 1 Maximum value: 20000
dampening-suppress Threshold to suppress routes. integer Minimum value: 1 Maximum value: 20000
dampening-max-suppress-time Maximum minutes a route can be suppressed. integer Minimum value: 1 Maximum value: 255
dampening-unreachability-half-life Unreachability half-life time for penalty (min). integer Minimum value: 1 Maximum value: 45
default-local-preference Default local preference. integer Minimum value: 0 Maximum value: 4294967295
scan-time Background scanner interval (sec), 0 to disable it. integer Minimum value: 5 Maximum value: 60
distance-external Distance for routes external to the AS. integer Minimum value: 1 Maximum value: 255
distance-internal Distance for routes internal to the AS. integer Minimum value: 1 Maximum value: 255
distance-local Distance for routes local to the AS. integer Minimum value: 1 Maximum value: 255
synchronization Enable/disable only advertise routes from iBGP if routes present in an IGP.
enable: Enable setting.
disable: Disable setting.
option -
graceful-restart Enable/disable BGP graceful restart capabilities.
enable: Enable setting.
disable: Disable setting.
option -
graceful-restart-time Time needed for neighbors to restart (sec). integer Minimum value: 1 Maximum value: 3600
graceful-stalepath-time Time to hold stale paths of restarting neighbor (sec). integer Minimum value: 1 Maximum value: 3600
graceful-update-delay Route advertisement/selection delay after restart (sec). integer Minimum value: 1 Maximum value: 3600
graceful-end-on-timer Enable/disable to exit graceful restart on timer only.
enable: Enable setting.
disable: Disable setting.
option -
additional-path-select Number of additional paths to be selected for each IPv4 NLRI. integer Minimum value: 2 Maximum value: 4
additional-path-select6 Number of additional paths to be selected for each IPv6 NLRI. integer Minimum value: 2 Maximum value: 4
Parameter Name Description Type Size
prefix Aggregate prefix. ipv4-classnet-any Not Specified
as-set Enable/disable generate AS set path information.
enable: Enable setting.
disable: Disable setting.
option -
summary-only Enable/disable filter more specific routes from updates.
enable: Enable setting.
disable: Disable setting.
option -
Parameter Name Description Type Size
prefix6 Aggregate IPv6 prefix. ipv6-prefix Not Specified
as-set Enable/disable generate AS set path information.
enable: Enable setting.
disable: Disable setting.
option -
summary-only Enable/disable filter more specific routes from updates.
enable: Enable setting.
disable: Disable setting.
option -
Parameter Name Description Type Size
advertisement-interval Minimum interval (sec) between sending updates. integer Minimum value: 1 Maximum value: 600
allowas-in-enable Enable/disable IPv4 Enable to allow my AS in AS path.
enable: Enable setting.
disable: Disable setting.
option -
allowas-in-enable6 Enable/disable IPv6 Enable to allow my AS in AS path.
enable: Enable setting.
disable: Disable setting.
option -
allowas-in IPv4 The maximum number of occurrence of my AS number allowed. integer Minimum value: 1 Maximum value: 10
allowas-in6 IPv6 The maximum number of occurrence of my AS number allowed. integer Minimum value: 1 Maximum value: 10
attribute-unchanged IPv4 List of attributes that should be unchanged.
as-path: AS path.
med: MED.
next-hop: Next hop.
option -
attribute-unchanged6 IPv6 List of attributes that should be unchanged.
as-path: AS path.
med: MED.
next-hop: Next hop.
option -
activate Enable/disable address family IPv4 for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
activate6 Enable/disable address family IPv6 for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
bfd Enable/disable BFD for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-dynamic Enable/disable advertise dynamic capability to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-orf Accept/Send IPv4 ORF lists to/from this neighbor.
none: None.
receive: Receive ORF lists.
send: Send ORF list.
both: Send and receive ORF lists.
option -
capability-orf6 Accept/Send IPv6 ORF lists to/from this neighbor.
none: None.
receive: Receive ORF lists.
send: Send ORF list.
both: Send and receive ORF lists.
option -
capability-graceful-restart Enable/disable advertise IPv4 graceful restart capability to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-graceful-restart6 Enable/disable advertise IPv6 graceful restart capability to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-route-refresh Enable/disable advertise route refresh capability to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-default-originate Enable/disable advertise default IPv4 route to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-default-originate6 Enable/disable advertise default IPv6 route to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
dont-capability-negotiate Don't negotiate capabilities with this neighbor
enable: Enable setting.
disable: Disable setting.
option -
ebgp-enforce-multihop Enable/disable allow multi-hop EBGP neighbors.
enable: Enable setting.
disable: Disable setting.
option -
link-down-failover Enable/disable failover upon link down.
enable: Enable setting.
disable: Disable setting.
option -
stale-route Enable/disable stale route after neighbor down.
enable: Enable setting.
disable: Disable setting.
option -
next-hop-self Enable/disable IPv4 next-hop calculation for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
next-hop-self6 Enable/disable IPv6 next-hop calculation for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
override-capability Enable/disable override result of capability negotiation.
enable: Enable setting.
disable: Disable setting.
option -
passive Enable/disable sending of open messages to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
remove-private-as Enable/disable remove private AS number from IPv4 outbound updates.
enable: Enable setting.
disable: Disable setting.
option -
remove-private-as6 Enable/disable remove private AS number from IPv6 outbound updates.
enable: Enable setting.
disable: Disable setting.
option -
route-reflector-client Enable/disable IPv4 AS route reflector client.
enable: Enable setting.
disable: Disable setting.
option -
route-reflector-client6 Enable/disable IPv6 AS route reflector client.
enable: Enable setting.
disable: Disable setting.
option -
route-server-client Enable/disable IPv4 AS route server client.
enable: Enable setting.
disable: Disable setting.
option -
route-server-client6 Enable/disable IPv6 AS route server client.
enable: Enable setting.
disable: Disable setting.
option -
shutdown Enable/disable shutdown this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
soft-reconfiguration Enable/disable allow IPv4 inbound soft reconfiguration.
enable: Enable setting.
disable: Disable setting.
option -
soft-reconfiguration6 Enable/disable allow IPv6 inbound soft reconfiguration.
enable: Enable setting.
disable: Disable setting.
option -
as-override Enable/disable replace peer AS with own AS for IPv4.
enable: Enable setting.
disable: Disable setting.
option -
as-override6 Enable/disable replace peer AS with own AS for IPv6.
enable: Enable setting.
disable: Disable setting.
option -
strict-capability-match Enable/disable strict capability matching.
enable: Enable setting.
disable: Disable setting.
option -
default-originate-routemap Route map to specify criteria to originate IPv4 default. string Maximum length: 35
default-originate-routemap6 Route map to specify criteria to originate IPv6 default. string Maximum length: 35
description Description. string Maximum length: 63
distribute-list-in Filter for IPv4 updates from this neighbor. string Maximum length: 35
distribute-list-in6 Filter for IPv6 updates from this neighbor. string Maximum length: 35
distribute-list-out Filter for IPv4 updates to this neighbor. string Maximum length: 35
distribute-list-out6 Filter for IPv6 updates to this neighbor. string Maximum length: 35
ebgp-multihop-ttl EBGP multihop TTL for this peer. integer Minimum value: 1 Maximum value: 255
filter-list-in BGP filter for IPv4 inbound routes. string Maximum length: 35
filter-list-in6 BGP filter for IPv6 inbound routes. string Maximum length: 35
filter-list-out BGP filter for IPv4 outbound routes. string Maximum length: 35
filter-list-out6 BGP filter for IPv6 outbound routes. string Maximum length: 35
interface Interface string Maximum length: 15
maximum-prefix Maximum number of IPv4 prefixes to accept from this peer. integer Minimum value: 1 Maximum value: 4294967295
maximum-prefix6 Maximum number of IPv6 prefixes to accept from this peer. integer Minimum value: 1 Maximum value: 4294967295
maximum-prefix-threshold Maximum IPv4 prefix threshold value (1 - 100 percent). integer Minimum value: 1 Maximum value: 100
maximum-prefix-threshold6 Maximum IPv6 prefix threshold value (1 - 100 percent). integer Minimum value: 1 Maximum value: 100
maximum-prefix-warning-only Enable/disable IPv4 Only give warning message when limit is exceeded.
enable: Enable setting.
disable: Disable setting.
option -
maximum-prefix-warning-only6 Enable/disable IPv6 Only give warning message when limit is exceeded.
enable: Enable setting.
disable: Disable setting.
option -
prefix-list-in IPv4 Inbound filter for updates from this neighbor. string Maximum length: 35
prefix-list-in6 IPv6 Inbound filter for updates from this neighbor. string Maximum length: 35
prefix-list-out IPv4 Outbound filter for updates to this neighbor. string Maximum length: 35
prefix-list-out6 IPv6 Outbound filter for updates to this neighbor. string Maximum length: 35
remote-as AS number of neighbor. integer Minimum value: 1 Maximum value: 4294967295
local-as Local AS number of neighbor. integer Minimum value: 0 Maximum value: 4294967295
local-as-no-prepend Do not prepend local-as to incoming updates.
enable: Enable setting.
disable: Disable setting.
option -
local-as-replace-as Replace real AS with local-as in outgoing updates.
enable: Enable setting.
disable: Disable setting.
option -
retain-stale-time Time to retain stale routes. integer Minimum value: 0 Maximum value: 65535
route-map-in IPv4 Inbound route map filter. string Maximum length: 35
route-map-in6 IPv6 Inbound route map filter. string Maximum length: 35
route-map-out IPv4 outbound route map filter. string Maximum length: 35
route-map-out-preferable IPv4 outbound route map filter if the peer is preferred. string Maximum length: 35
route-map-out6 IPv6 Outbound route map filter. string Maximum length: 35
send-community IPv4 Send community attribute to neighbor.
standard: Standard.
extended: Extended.
both: Both.
disable: Disable
option -
send-community6 IPv6 Send community attribute to neighbor.
standard: Standard.
extended: Extended.
both: Both.
disable: Disable
option -
keep-alive-timer Keep alive timer interval (sec). integer Minimum value: 0 Maximum value: 65535
holdtime-timer Interval (sec) before peer considered dead. integer Minimum value: 3 Maximum value: 65535
connect-timer Interval (sec) for connect timer. integer Minimum value: 0 Maximum value: 65535
unsuppress-map IPv4 Route map to selectively unsuppress suppressed routes. string Maximum length: 35
unsuppress-map6 IPv6 Route map to selectively unsuppress suppressed routes. string Maximum length: 35
update-source Interface to use as source IP/IPv6 address of TCP connections. string Maximum length: 15
weight Neighbor weight. integer Minimum value: 0 Maximum value: 65535
restart-time Graceful restart delay time (sec, 0 = global default). integer Minimum value: 0 Maximum value: 3600
additional-path Enable/disable IPv4 additional-path capability.
send: Enable sending additional paths.
receive: Enable receiving additional paths.
both: Enable sending and receiving additional paths.
disable: Disable additional paths.
option -
additional-path6 Enable/disable IPv6 additional-path capability.
send: Enable sending additional paths.
receive: Enable receiving additional paths.
both: Enable sending and receiving additional paths.
disable: Disable additional paths.
option -
adv-additional-path Number of IPv4 additional paths that can be advertised to this neighbor. integer Minimum value: 2 Maximum value: 4
adv-additional-path6 Number of IPv6 additional paths that can be advertised to this neighbor. integer Minimum value: 2 Maximum value: 4
password Password used in MD5 authentication. password Not Specified

config conditional-advertise

Parameter Name Description Type Size
condition-routemap Name of condition route map. string Maximum length: 35
condition-type Type of condition.
exist: True if condition route map is matched.
non-exist: True if condition route map is not matched.
option -
Parameter Name Description Type Size
advertisement-interval Minimum interval (sec) between sending updates. integer Minimum value: 1 Maximum value: 600
allowas-in-enable Enable/disable IPv4 Enable to allow my AS in AS path.
enable: Enable setting.
disable: Disable setting.
option -
allowas-in-enable6 Enable/disable IPv6 Enable to allow my AS in AS path.
enable: Enable setting.
disable: Disable setting.
option -
allowas-in IPv4 The maximum number of occurrence of my AS number allowed. integer Minimum value: 1 Maximum value: 10
allowas-in6 IPv6 The maximum number of occurrence of my AS number allowed. integer Minimum value: 1 Maximum value: 10
attribute-unchanged IPv4 List of attributes that should be unchanged.
as-path: AS path.
med: MED.
next-hop: Next hop.
option -
attribute-unchanged6 IPv6 List of attributes that should be unchanged.
as-path: AS path.
med: MED.
next-hop: Next hop.
option -
activate Enable/disable address family IPv4 for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
activate6 Enable/disable address family IPv6 for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
bfd Enable/disable BFD for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-dynamic Enable/disable advertise dynamic capability to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-orf Accept/Send IPv4 ORF lists to/from this neighbor.
none: None.
receive: Receive ORF lists.
send: Send ORF list.
both: Send and receive ORF lists.
option -
capability-orf6 Accept/Send IPv6 ORF lists to/from this neighbor.
none: None.
receive: Receive ORF lists.
send: Send ORF list.
both: Send and receive ORF lists.
option -
capability-graceful-restart Enable/disable advertise IPv4 graceful restart capability to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-graceful-restart6 Enable/disable advertise IPv6 graceful restart capability to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-route-refresh Enable/disable advertise route refresh capability to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-default-originate Enable/disable advertise default IPv4 route to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-default-originate6 Enable/disable advertise default IPv6 route to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
dont-capability-negotiate Don't negotiate capabilities with this neighbor
enable: Enable setting.
disable: Disable setting.
option -
ebgp-enforce-multihop Enable/disable allow multi-hop EBGP neighbors.
enable: Enable setting.
disable: Disable setting.
option -
link-down-failover Enable/disable failover upon link down.
enable: Enable setting.
disable: Disable setting.
option -
stale-route Enable/disable stale route after neighbor down.
enable: Enable setting.
disable: Disable setting.
option -
next-hop-self Enable/disable IPv4 next-hop calculation for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
next-hop-self6 Enable/disable IPv6 next-hop calculation for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
override-capability Enable/disable override result of capability negotiation.
enable: Enable setting.
disable: Disable setting.
option -
passive Enable/disable sending of open messages to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
remove-private-as Enable/disable remove private AS number from IPv4 outbound updates.
enable: Enable setting.
disable: Disable setting.
option -
remove-private-as6 Enable/disable remove private AS number from IPv6 outbound updates.
enable: Enable setting.
disable: Disable setting.
option -
route-reflector-client Enable/disable IPv4 AS route reflector client.
enable: Enable setting.
disable: Disable setting.
option -
route-reflector-client6 Enable/disable IPv6 AS route reflector client.
enable: Enable setting.
disable: Disable setting.
option -
route-server-client Enable/disable IPv4 AS route server client.
enable: Enable setting.
disable: Disable setting.
option -
route-server-client6 Enable/disable IPv6 AS route server client.
enable: Enable setting.
disable: Disable setting.
option -
shutdown Enable/disable shutdown this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
soft-reconfiguration Enable/disable allow IPv4 inbound soft reconfiguration.
enable: Enable setting.
disable: Disable setting.
option -
soft-reconfiguration6 Enable/disable allow IPv6 inbound soft reconfiguration.
enable: Enable setting.
disable: Disable setting.
option -
as-override Enable/disable replace peer AS with own AS for IPv4.
enable: Enable setting.
disable: Disable setting.
option -
as-override6 Enable/disable replace peer AS with own AS for IPv6.
enable: Enable setting.
disable: Disable setting.
option -
strict-capability-match Enable/disable strict capability matching.
enable: Enable setting.
disable: Disable setting.
option -
default-originate-routemap Route map to specify criteria to originate IPv4 default. string Maximum length: 35
default-originate-routemap6 Route map to specify criteria to originate IPv6 default. string Maximum length: 35
description Description. string Maximum length: 63
distribute-list-in Filter for IPv4 updates from this neighbor. string Maximum length: 35
distribute-list-in6 Filter for IPv6 updates from this neighbor. string Maximum length: 35
distribute-list-out Filter for IPv4 updates to this neighbor. string Maximum length: 35
distribute-list-out6 Filter for IPv6 updates to this neighbor. string Maximum length: 35
ebgp-multihop-ttl EBGP multihop TTL for this peer. integer Minimum value: 1 Maximum value: 255
filter-list-in BGP filter for IPv4 inbound routes. string Maximum length: 35
filter-list-in6 BGP filter for IPv6 inbound routes. string Maximum length: 35
filter-list-out BGP filter for IPv4 outbound routes. string Maximum length: 35
filter-list-out6 BGP filter for IPv6 outbound routes. string Maximum length: 35
interface Interface string Maximum length: 15
maximum-prefix Maximum number of IPv4 prefixes to accept from this peer. integer Minimum value: 1 Maximum value: 4294967295
maximum-prefix6 Maximum number of IPv6 prefixes to accept from this peer. integer Minimum value: 1 Maximum value: 4294967295
maximum-prefix-threshold Maximum IPv4 prefix threshold value (1 - 100 percent). integer Minimum value: 1 Maximum value: 100
maximum-prefix-threshold6 Maximum IPv6 prefix threshold value (1 - 100 percent). integer Minimum value: 1 Maximum value: 100
maximum-prefix-warning-only Enable/disable IPv4 Only give warning message when limit is exceeded.
enable: Enable setting.
disable: Disable setting.
option -
maximum-prefix-warning-only6 Enable/disable IPv6 Only give warning message when limit is exceeded.
enable: Enable setting.
disable: Disable setting.
option -
prefix-list-in IPv4 Inbound filter for updates from this neighbor. string Maximum length: 35
prefix-list-in6 IPv6 Inbound filter for updates from this neighbor. string Maximum length: 35
prefix-list-out IPv4 Outbound filter for updates to this neighbor. string Maximum length: 35
prefix-list-out6 IPv6 Outbound filter for updates to this neighbor. string Maximum length: 35
remote-as AS number of neighbor. integer Minimum value: 1 Maximum value: 4294967295
local-as Local AS number of neighbor. integer Minimum value: 0 Maximum value: 4294967295
local-as-no-prepend Do not prepend local-as to incoming updates.
enable: Enable setting.
disable: Disable setting.
option -
local-as-replace-as Replace real AS with local-as in outgoing updates.
enable: Enable setting.
disable: Disable setting.
option -
retain-stale-time Time to retain stale routes. integer Minimum value: 0 Maximum value: 65535
route-map-in IPv4 Inbound route map filter. string Maximum length: 35
route-map-in6 IPv6 Inbound route map filter. string Maximum length: 35
route-map-out IPv4 outbound route map filter. string Maximum length: 35
route-map-out-preferable IPv4 outbound route map filter if the peer is preferred. string Maximum length: 35
route-map-out6 IPv6 Outbound route map filter. string Maximum length: 35
send-community IPv4 Send community attribute to neighbor.
standard: Standard.
extended: Extended.
both: Both.
disable: Disable
option -
send-community6 IPv6 Send community attribute to neighbor.
standard: Standard.
extended: Extended.
both: Both.
disable: Disable
option -
keep-alive-timer Keep alive timer interval (sec). integer Minimum value: 0 Maximum value: 65535
holdtime-timer Interval (sec) before peer considered dead. integer Minimum value: 3 Maximum value: 65535
connect-timer Interval (sec) for connect timer. integer Minimum value: 0 Maximum value: 65535
unsuppress-map IPv4 Route map to selectively unsuppress suppressed routes. string Maximum length: 35
unsuppress-map6 IPv6 Route map to selectively unsuppress suppressed routes. string Maximum length: 35
update-source Interface to use as source IP/IPv6 address of TCP connections. string Maximum length: 15
weight Neighbor weight. integer Minimum value: 0 Maximum value: 65535
restart-time Graceful restart delay time (sec, 0 = global default). integer Minimum value: 0 Maximum value: 3600
additional-path Enable/disable IPv4 additional-path capability.
send: Enable sending additional paths.
receive: Enable receiving additional paths.
both: Enable sending and receiving additional paths.
disable: Disable additional paths.
option -
additional-path6 Enable/disable IPv6 additional-path capability.
send: Enable sending additional paths.
receive: Enable receiving additional paths.
both: Enable sending and receiving additional paths.
disable: Disable additional paths.
option -
adv-additional-path Number of IPv4 additional paths that can be advertised to this neighbor. integer Minimum value: 2 Maximum value: 4
adv-additional-path6 Number of IPv6 additional paths that can be advertised to this neighbor. integer Minimum value: 2 Maximum value: 4
Parameter Name Description Type Size
prefix Neighbor range prefix. ipv4-classnet Not Specified
max-neighbor-num Maximum number of neighbors. integer Minimum value: 1 Maximum value: 1000
neighbor-group Neighbor group name. string Maximum length: 63
Parameter Name Description Type Size
prefix6 IPv6 prefix. ipv6-network Not Specified
max-neighbor-num Maximum number of neighbors. integer Minimum value: 1 Maximum value: 1000
neighbor-group Neighbor group name. string Maximum length: 63
Parameter Name Description Type Size
prefix Network prefix. ipv4-classnet Not Specified
backdoor Enable/disable route as backdoor.
enable: Enable setting.
disable: Disable setting.
option -
route-map Route map to modify generated route. string Maximum length: 35
Parameter Name Description Type Size
prefix6 Network IPv6 prefix. ipv6-network Not Specified
backdoor Enable/disable route as backdoor.
enable: Enable setting.
disable: Disable setting.
option -
route-map Route map to modify generated route. string Maximum length: 35
Parameter Name Description Type Size
status Status
enable: Enable setting.
disable: Disable setting.
option -
route-map Route map name. string Maximum length: 35
Parameter Name Description Type Size
status Status
enable: Enable setting.
disable: Disable setting.
option -
route-map Route map name. string Maximum length: 35
Parameter Name Description Type Size
neighbour-prefix Neighbor address prefix. ipv4-classnet Not Specified
route-list Access list of routes to apply new distance to. string Maximum length: 35
distance Administrative distance to apply (1 - 255). integer Minimum value: 1 Maximum value: 255

Configure BGP.

  config router bgp
      Description: Configure BGP.
      set as {integer}
      set router-id {ipv4-address-any}
      set keepalive-timer {integer}
      set holdtime-timer {integer}
      set always-compare-med [enable|disable]
      set bestpath-as-path-ignore [enable|disable]
      set bestpath-cmp-confed-aspath [enable|disable]
      set bestpath-cmp-routerid [enable|disable]
      set bestpath-med-confed [enable|disable]
      set bestpath-med-missing-as-worst [enable|disable]
      set client-to-client-reflection [enable|disable]
      set dampening [enable|disable]
      set deterministic-med [enable|disable]
      set ebgp-multipath [enable|disable]
      set ibgp-multipath [enable|disable]
      set enforce-first-as [enable|disable]
      set fast-external-failover [enable|disable]
      set log-neighbour-changes [enable|disable]
      set network-import-check [enable|disable]
      set ignore-optional-capability [enable|disable]
      set additional-path [enable|disable]
      set additional-path6 [enable|disable]
      set cluster-id {ipv4-address-any}
      set confederation-identifier {integer}
      set confederation-peers <peer1>, <peer2>, ...
      set dampening-route-map {string}
      set dampening-reachability-half-life {integer}
      set dampening-reuse {integer}
      set dampening-suppress {integer}
      set dampening-max-suppress-time {integer}
      set dampening-unreachability-half-life {integer}
      set default-local-preference {integer}
      set scan-time {integer}
      set distance-external {integer}
      set distance-internal {integer}
      set distance-local {integer}
      set synchronization [enable|disable]
      set graceful-restart [enable|disable]
      set graceful-restart-time {integer}
      set graceful-stalepath-time {integer}
      set graceful-update-delay {integer}
      set graceful-end-on-timer [enable|disable]
      set additional-path-select {integer}
      set additional-path-select6 {integer}
      config aggregate-address
          Description: BGP aggregate address table.
          edit <id>
              set prefix {ipv4-classnet-any}
              set as-set [enable|disable]
              set summary-only [enable|disable]
          next
      end
      config aggregate-address6
          Description: BGP IPv6 aggregate address table.
          edit <id>
              set prefix6 {ipv6-prefix}
              set as-set [enable|disable]
              set summary-only [enable|disable]
          next
      end
      config neighbor
          Description: BGP neighbor table.
          edit <ip>
              set advertisement-interval {integer}
              set allowas-in-enable [enable|disable]
              set allowas-in-enable6 [enable|disable]
              set allowas-in {integer}
              set allowas-in6 {integer}
              set attribute-unchanged {option1}, {option2}, ...
              set attribute-unchanged6 {option1}, {option2}, ...
              set activate [enable|disable]
              set activate6 [enable|disable]
              set bfd [enable|disable]
              set capability-dynamic [enable|disable]
              set capability-orf [none|receive|...]
              set capability-orf6 [none|receive|...]
              set capability-graceful-restart [enable|disable]
              set capability-graceful-restart6 [enable|disable]
              set capability-route-refresh [enable|disable]
              set capability-default-originate [enable|disable]
              set capability-default-originate6 [enable|disable]
              set dont-capability-negotiate [enable|disable]
              set ebgp-enforce-multihop [enable|disable]
              set link-down-failover [enable|disable]
              set stale-route [enable|disable]
              set next-hop-self [enable|disable]
              set next-hop-self6 [enable|disable]
              set override-capability [enable|disable]
              set passive [enable|disable]
              set remove-private-as [enable|disable]
              set remove-private-as6 [enable|disable]
              set route-reflector-client [enable|disable]
              set route-reflector-client6 [enable|disable]
              set route-server-client [enable|disable]
              set route-server-client6 [enable|disable]
              set shutdown [enable|disable]
              set soft-reconfiguration [enable|disable]
              set soft-reconfiguration6 [enable|disable]
              set as-override [enable|disable]
              set as-override6 [enable|disable]
              set strict-capability-match [enable|disable]
              set default-originate-routemap {string}
              set default-originate-routemap6 {string}
              set description {string}
              set distribute-list-in {string}
              set distribute-list-in6 {string}
              set distribute-list-out {string}
              set distribute-list-out6 {string}
              set ebgp-multihop-ttl {integer}
              set filter-list-in {string}
              set filter-list-in6 {string}
              set filter-list-out {string}
              set filter-list-out6 {string}
              set interface {string}
              set maximum-prefix {integer}
              set maximum-prefix6 {integer}
              set maximum-prefix-threshold {integer}
              set maximum-prefix-threshold6 {integer}
              set maximum-prefix-warning-only [enable|disable]
              set maximum-prefix-warning-only6 [enable|disable]
              set prefix-list-in {string}
              set prefix-list-in6 {string}
              set prefix-list-out {string}
              set prefix-list-out6 {string}
              set remote-as {integer}
              set local-as {integer}
              set local-as-no-prepend [enable|disable]
              set local-as-replace-as [enable|disable]
              set retain-stale-time {integer}
              set route-map-in {string}
              set route-map-in6 {string}
              set route-map-out {string}
              set route-map-out-preferable {string}
              set route-map-out6 {string}
              set send-community [standard|extended|...]
              set send-community6 [standard|extended|...]
              set keep-alive-timer {integer}
              set holdtime-timer {integer}
              set connect-timer {integer}
              set unsuppress-map {string}
              set unsuppress-map6 {string}
              set update-source {string}
              set weight {integer}
              set restart-time {integer}
              set additional-path [send|receive|...]
              set additional-path6 [send|receive|...]
              set adv-additional-path {integer}
              set adv-additional-path6 {integer}
              set password {password}
              config conditional-advertise
                  Description: Conditional advertisement.
                  edit <advertise-routemap>
                      set condition-routemap {string}
                      set condition-type [exist|non-exist]
                  next
              end
          next
      end
      config neighbor-group
          Description: BGP neighbor group table.
          edit <name>
              set advertisement-interval {integer}
              set allowas-in-enable [enable|disable]
              set allowas-in-enable6 [enable|disable]
              set allowas-in {integer}
              set allowas-in6 {integer}
              set attribute-unchanged {option1}, {option2}, ...
              set attribute-unchanged6 {option1}, {option2}, ...
              set activate [enable|disable]
              set activate6 [enable|disable]
              set bfd [enable|disable]
              set capability-dynamic [enable|disable]
              set capability-orf [none|receive|...]
              set capability-orf6 [none|receive|...]
              set capability-graceful-restart [enable|disable]
              set capability-graceful-restart6 [enable|disable]
              set capability-route-refresh [enable|disable]
              set capability-default-originate [enable|disable]
              set capability-default-originate6 [enable|disable]
              set dont-capability-negotiate [enable|disable]
              set ebgp-enforce-multihop [enable|disable]
              set link-down-failover [enable|disable]
              set stale-route [enable|disable]
              set next-hop-self [enable|disable]
              set next-hop-self6 [enable|disable]
              set override-capability [enable|disable]
              set passive [enable|disable]
              set remove-private-as [enable|disable]
              set remove-private-as6 [enable|disable]
              set route-reflector-client [enable|disable]
              set route-reflector-client6 [enable|disable]
              set route-server-client [enable|disable]
              set route-server-client6 [enable|disable]
              set shutdown [enable|disable]
              set soft-reconfiguration [enable|disable]
              set soft-reconfiguration6 [enable|disable]
              set as-override [enable|disable]
              set as-override6 [enable|disable]
              set strict-capability-match [enable|disable]
              set default-originate-routemap {string}
              set default-originate-routemap6 {string}
              set description {string}
              set distribute-list-in {string}
              set distribute-list-in6 {string}
              set distribute-list-out {string}
              set distribute-list-out6 {string}
              set ebgp-multihop-ttl {integer}
              set filter-list-in {string}
              set filter-list-in6 {string}
              set filter-list-out {string}
              set filter-list-out6 {string}
              set interface {string}
              set maximum-prefix {integer}
              set maximum-prefix6 {integer}
              set maximum-prefix-threshold {integer}
              set maximum-prefix-threshold6 {integer}
              set maximum-prefix-warning-only [enable|disable]
              set maximum-prefix-warning-only6 [enable|disable]
              set prefix-list-in {string}
              set prefix-list-in6 {string}
              set prefix-list-out {string}
              set prefix-list-out6 {string}
              set remote-as {integer}
              set local-as {integer}
              set local-as-no-prepend [enable|disable]
              set local-as-replace-as [enable|disable]
              set retain-stale-time {integer}
              set route-map-in {string}
              set route-map-in6 {string}
              set route-map-out {string}
              set route-map-out-preferable {string}
              set route-map-out6 {string}
              set send-community [standard|extended|...]
              set send-community6 [standard|extended|...]
              set keep-alive-timer {integer}
              set holdtime-timer {integer}
              set connect-timer {integer}
              set unsuppress-map {string}
              set unsuppress-map6 {string}
              set update-source {string}
              set weight {integer}
              set restart-time {integer}
              set additional-path [send|receive|...]
              set additional-path6 [send|receive|...]
              set adv-additional-path {integer}
              set adv-additional-path6 {integer}
          next
      end
      config neighbor-range
          Description: BGP neighbor range table.
          edit <id>
              set prefix {ipv4-classnet}
              set max-neighbor-num {integer}
              set neighbor-group {string}
          next
      end
      config neighbor-range6
          Description: BGP IPv6 neighbor range table.
          edit <id>
              set prefix6 {ipv6-network}
              set max-neighbor-num {integer}
              set neighbor-group {string}
          next
      end
      config network
          Description: BGP network table.
          edit <id>
              set prefix {ipv4-classnet}
              set backdoor [enable|disable]
              set route-map {string}
          next
      end
      config network6
          Description: BGP IPv6 network table.
          edit <id>
              set prefix6 {ipv6-network}
              set backdoor [enable|disable]
              set route-map {string}
          next
      end
      config redistribute
          Description: BGP IPv4 redistribute table.
          edit <name>
              set status [enable|disable]
              set route-map {string}
          next
      end
      config redistribute6
          Description: BGP IPv6 redistribute table.
          edit <name>
              set status [enable|disable]
              set route-map {string}
          next
      end
      config admin-distance
          Description: Administrative distance modifications.
          edit <id>
              set neighbour-prefix {ipv4-classnet}
              set route-list {string}
              set distance {integer}
          next
      end
  end

config router bgp

Parameter Name Description Type Size
as Router AS number, valid from 1 to 4294967295, 0 to disable BGP. integer Minimum value: 0 Maximum value: 4294967295
router-id Router ID. ipv4-address-any Not Specified
keepalive-timer Frequency to send keep alive requests. integer Minimum value: 0 Maximum value: 65535
holdtime-timer Number of seconds to mark peer as dead. integer Minimum value: 3 Maximum value: 65535
always-compare-med Enable/disable always compare MED.
enable: Enable setting.
disable: Disable setting.
option -
bestpath-as-path-ignore Enable/disable ignore AS path.
enable: Enable setting.
disable: Disable setting.
option -
bestpath-cmp-confed-aspath Enable/disable compare federation AS path length.
enable: Enable setting.
disable: Disable setting.
option -
bestpath-cmp-routerid Enable/disable compare router ID for identical EBGP paths.
enable: Enable setting.
disable: Disable setting.
option -
bestpath-med-confed Enable/disable compare MED among confederation paths.
enable: Enable setting.
disable: Disable setting.
option -
bestpath-med-missing-as-worst Enable/disable treat missing MED as least preferred.
enable: Enable setting.
disable: Disable setting.
option -
client-to-client-reflection Enable/disable client-to-client route reflection.
enable: Enable setting.
disable: Disable setting.
option -
dampening Enable/disable route-flap dampening.
enable: Enable setting.
disable: Disable setting.
option -
deterministic-med Enable/disable enforce deterministic comparison of MED.
enable: Enable setting.
disable: Disable setting.
option -
ebgp-multipath Enable/disable EBGP multi-path.
enable: Enable setting.
disable: Disable setting.
option -
ibgp-multipath Enable/disable IBGP multi-path.
enable: Enable setting.
disable: Disable setting.
option -
enforce-first-as Enable/disable enforce first AS for EBGP routes.
enable: Enable setting.
disable: Disable setting.
option -
fast-external-failover Enable/disable reset peer BGP session if link goes down.
enable: Enable setting.
disable: Disable setting.
option -
log-neighbour-changes Enable logging of BGP neighbour's changes
enable: Enable setting.
disable: Disable setting.
option -
network-import-check Enable/disable ensure BGP network route exists in IGP.
enable: Enable setting.
disable: Disable setting.
option -
ignore-optional-capability Don't send unknown optional capability notification message
enable: Enable setting.
disable: Disable setting.
option -
additional-path Enable/disable selection of BGP IPv4 additional paths.
enable: Enable setting.
disable: Disable setting.
option -
additional-path6 Enable/disable selection of BGP IPv6 additional paths.
enable: Enable setting.
disable: Disable setting.
option -
cluster-id Route reflector cluster ID. ipv4-address-any Not Specified
confederation-identifier Confederation identifier. integer Minimum value: 1 Maximum value: 4294967295
confederation-peers <peer> Confederation peers.
Peer ID.
string Maximum length: 79
dampening-route-map Criteria for dampening. string Maximum length: 35
dampening-reachability-half-life Reachability half-life time for penalty (min). integer Minimum value: 1 Maximum value: 45
dampening-reuse Threshold to reuse routes. integer Minimum value: 1 Maximum value: 20000
dampening-suppress Threshold to suppress routes. integer Minimum value: 1 Maximum value: 20000
dampening-max-suppress-time Maximum minutes a route can be suppressed. integer Minimum value: 1 Maximum value: 255
dampening-unreachability-half-life Unreachability half-life time for penalty (min). integer Minimum value: 1 Maximum value: 45
default-local-preference Default local preference. integer Minimum value: 0 Maximum value: 4294967295
scan-time Background scanner interval (sec), 0 to disable it. integer Minimum value: 5 Maximum value: 60
distance-external Distance for routes external to the AS. integer Minimum value: 1 Maximum value: 255
distance-internal Distance for routes internal to the AS. integer Minimum value: 1 Maximum value: 255
distance-local Distance for routes local to the AS. integer Minimum value: 1 Maximum value: 255
synchronization Enable/disable only advertise routes from iBGP if routes present in an IGP.
enable: Enable setting.
disable: Disable setting.
option -
graceful-restart Enable/disable BGP graceful restart capabilities.
enable: Enable setting.
disable: Disable setting.
option -
graceful-restart-time Time needed for neighbors to restart (sec). integer Minimum value: 1 Maximum value: 3600
graceful-stalepath-time Time to hold stale paths of restarting neighbor (sec). integer Minimum value: 1 Maximum value: 3600
graceful-update-delay Route advertisement/selection delay after restart (sec). integer Minimum value: 1 Maximum value: 3600
graceful-end-on-timer Enable/disable to exit graceful restart on timer only.
enable: Enable setting.
disable: Disable setting.
option -
additional-path-select Number of additional paths to be selected for each IPv4 NLRI. integer Minimum value: 2 Maximum value: 4
additional-path-select6 Number of additional paths to be selected for each IPv6 NLRI. integer Minimum value: 2 Maximum value: 4
Parameter Name Description Type Size
prefix Aggregate prefix. ipv4-classnet-any Not Specified
as-set Enable/disable generate AS set path information.
enable: Enable setting.
disable: Disable setting.
option -
summary-only Enable/disable filter more specific routes from updates.
enable: Enable setting.
disable: Disable setting.
option -
Parameter Name Description Type Size
prefix6 Aggregate IPv6 prefix. ipv6-prefix Not Specified
as-set Enable/disable generate AS set path information.
enable: Enable setting.
disable: Disable setting.
option -
summary-only Enable/disable filter more specific routes from updates.
enable: Enable setting.
disable: Disable setting.
option -
Parameter Name Description Type Size
advertisement-interval Minimum interval (sec) between sending updates. integer Minimum value: 1 Maximum value: 600
allowas-in-enable Enable/disable IPv4 Enable to allow my AS in AS path.
enable: Enable setting.
disable: Disable setting.
option -
allowas-in-enable6 Enable/disable IPv6 Enable to allow my AS in AS path.
enable: Enable setting.
disable: Disable setting.
option -
allowas-in IPv4 The maximum number of occurrence of my AS number allowed. integer Minimum value: 1 Maximum value: 10
allowas-in6 IPv6 The maximum number of occurrence of my AS number allowed. integer Minimum value: 1 Maximum value: 10
attribute-unchanged IPv4 List of attributes that should be unchanged.
as-path: AS path.
med: MED.
next-hop: Next hop.
option -
attribute-unchanged6 IPv6 List of attributes that should be unchanged.
as-path: AS path.
med: MED.
next-hop: Next hop.
option -
activate Enable/disable address family IPv4 for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
activate6 Enable/disable address family IPv6 for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
bfd Enable/disable BFD for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-dynamic Enable/disable advertise dynamic capability to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-orf Accept/Send IPv4 ORF lists to/from this neighbor.
none: None.
receive: Receive ORF lists.
send: Send ORF list.
both: Send and receive ORF lists.
option -
capability-orf6 Accept/Send IPv6 ORF lists to/from this neighbor.
none: None.
receive: Receive ORF lists.
send: Send ORF list.
both: Send and receive ORF lists.
option -
capability-graceful-restart Enable/disable advertise IPv4 graceful restart capability to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-graceful-restart6 Enable/disable advertise IPv6 graceful restart capability to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-route-refresh Enable/disable advertise route refresh capability to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-default-originate Enable/disable advertise default IPv4 route to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-default-originate6 Enable/disable advertise default IPv6 route to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
dont-capability-negotiate Don't negotiate capabilities with this neighbor
enable: Enable setting.
disable: Disable setting.
option -
ebgp-enforce-multihop Enable/disable allow multi-hop EBGP neighbors.
enable: Enable setting.
disable: Disable setting.
option -
link-down-failover Enable/disable failover upon link down.
enable: Enable setting.
disable: Disable setting.
option -
stale-route Enable/disable stale route after neighbor down.
enable: Enable setting.
disable: Disable setting.
option -
next-hop-self Enable/disable IPv4 next-hop calculation for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
next-hop-self6 Enable/disable IPv6 next-hop calculation for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
override-capability Enable/disable override result of capability negotiation.
enable: Enable setting.
disable: Disable setting.
option -
passive Enable/disable sending of open messages to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
remove-private-as Enable/disable remove private AS number from IPv4 outbound updates.
enable: Enable setting.
disable: Disable setting.
option -
remove-private-as6 Enable/disable remove private AS number from IPv6 outbound updates.
enable: Enable setting.
disable: Disable setting.
option -
route-reflector-client Enable/disable IPv4 AS route reflector client.
enable: Enable setting.
disable: Disable setting.
option -
route-reflector-client6 Enable/disable IPv6 AS route reflector client.
enable: Enable setting.
disable: Disable setting.
option -
route-server-client Enable/disable IPv4 AS route server client.
enable: Enable setting.
disable: Disable setting.
option -
route-server-client6 Enable/disable IPv6 AS route server client.
enable: Enable setting.
disable: Disable setting.
option -
shutdown Enable/disable shutdown this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
soft-reconfiguration Enable/disable allow IPv4 inbound soft reconfiguration.
enable: Enable setting.
disable: Disable setting.
option -
soft-reconfiguration6 Enable/disable allow IPv6 inbound soft reconfiguration.
enable: Enable setting.
disable: Disable setting.
option -
as-override Enable/disable replace peer AS with own AS for IPv4.
enable: Enable setting.
disable: Disable setting.
option -
as-override6 Enable/disable replace peer AS with own AS for IPv6.
enable: Enable setting.
disable: Disable setting.
option -
strict-capability-match Enable/disable strict capability matching.
enable: Enable setting.
disable: Disable setting.
option -
default-originate-routemap Route map to specify criteria to originate IPv4 default. string Maximum length: 35
default-originate-routemap6 Route map to specify criteria to originate IPv6 default. string Maximum length: 35
description Description. string Maximum length: 63
distribute-list-in Filter for IPv4 updates from this neighbor. string Maximum length: 35
distribute-list-in6 Filter for IPv6 updates from this neighbor. string Maximum length: 35
distribute-list-out Filter for IPv4 updates to this neighbor. string Maximum length: 35
distribute-list-out6 Filter for IPv6 updates to this neighbor. string Maximum length: 35
ebgp-multihop-ttl EBGP multihop TTL for this peer. integer Minimum value: 1 Maximum value: 255
filter-list-in BGP filter for IPv4 inbound routes. string Maximum length: 35
filter-list-in6 BGP filter for IPv6 inbound routes. string Maximum length: 35
filter-list-out BGP filter for IPv4 outbound routes. string Maximum length: 35
filter-list-out6 BGP filter for IPv6 outbound routes. string Maximum length: 35
interface Interface string Maximum length: 15
maximum-prefix Maximum number of IPv4 prefixes to accept from this peer. integer Minimum value: 1 Maximum value: 4294967295
maximum-prefix6 Maximum number of IPv6 prefixes to accept from this peer. integer Minimum value: 1 Maximum value: 4294967295
maximum-prefix-threshold Maximum IPv4 prefix threshold value (1 - 100 percent). integer Minimum value: 1 Maximum value: 100
maximum-prefix-threshold6 Maximum IPv6 prefix threshold value (1 - 100 percent). integer Minimum value: 1 Maximum value: 100
maximum-prefix-warning-only Enable/disable IPv4 Only give warning message when limit is exceeded.
enable: Enable setting.
disable: Disable setting.
option -
maximum-prefix-warning-only6 Enable/disable IPv6 Only give warning message when limit is exceeded.
enable: Enable setting.
disable: Disable setting.
option -
prefix-list-in IPv4 Inbound filter for updates from this neighbor. string Maximum length: 35
prefix-list-in6 IPv6 Inbound filter for updates from this neighbor. string Maximum length: 35
prefix-list-out IPv4 Outbound filter for updates to this neighbor. string Maximum length: 35
prefix-list-out6 IPv6 Outbound filter for updates to this neighbor. string Maximum length: 35
remote-as AS number of neighbor. integer Minimum value: 1 Maximum value: 4294967295
local-as Local AS number of neighbor. integer Minimum value: 0 Maximum value: 4294967295
local-as-no-prepend Do not prepend local-as to incoming updates.
enable: Enable setting.
disable: Disable setting.
option -
local-as-replace-as Replace real AS with local-as in outgoing updates.
enable: Enable setting.
disable: Disable setting.
option -
retain-stale-time Time to retain stale routes. integer Minimum value: 0 Maximum value: 65535
route-map-in IPv4 Inbound route map filter. string Maximum length: 35
route-map-in6 IPv6 Inbound route map filter. string Maximum length: 35
route-map-out IPv4 outbound route map filter. string Maximum length: 35
route-map-out-preferable IPv4 outbound route map filter if the peer is preferred. string Maximum length: 35
route-map-out6 IPv6 Outbound route map filter. string Maximum length: 35
send-community IPv4 Send community attribute to neighbor.
standard: Standard.
extended: Extended.
both: Both.
disable: Disable
option -
send-community6 IPv6 Send community attribute to neighbor.
standard: Standard.
extended: Extended.
both: Both.
disable: Disable
option -
keep-alive-timer Keep alive timer interval (sec). integer Minimum value: 0 Maximum value: 65535
holdtime-timer Interval (sec) before peer considered dead. integer Minimum value: 3 Maximum value: 65535
connect-timer Interval (sec) for connect timer. integer Minimum value: 0 Maximum value: 65535
unsuppress-map IPv4 Route map to selectively unsuppress suppressed routes. string Maximum length: 35
unsuppress-map6 IPv6 Route map to selectively unsuppress suppressed routes. string Maximum length: 35
update-source Interface to use as source IP/IPv6 address of TCP connections. string Maximum length: 15
weight Neighbor weight. integer Minimum value: 0 Maximum value: 65535
restart-time Graceful restart delay time (sec, 0 = global default). integer Minimum value: 0 Maximum value: 3600
additional-path Enable/disable IPv4 additional-path capability.
send: Enable sending additional paths.
receive: Enable receiving additional paths.
both: Enable sending and receiving additional paths.
disable: Disable additional paths.
option -
additional-path6 Enable/disable IPv6 additional-path capability.
send: Enable sending additional paths.
receive: Enable receiving additional paths.
both: Enable sending and receiving additional paths.
disable: Disable additional paths.
option -
adv-additional-path Number of IPv4 additional paths that can be advertised to this neighbor. integer Minimum value: 2 Maximum value: 4
adv-additional-path6 Number of IPv6 additional paths that can be advertised to this neighbor. integer Minimum value: 2 Maximum value: 4
password Password used in MD5 authentication. password Not Specified

config conditional-advertise

Parameter Name Description Type Size
condition-routemap Name of condition route map. string Maximum length: 35
condition-type Type of condition.
exist: True if condition route map is matched.
non-exist: True if condition route map is not matched.
option -
Parameter Name Description Type Size
advertisement-interval Minimum interval (sec) between sending updates. integer Minimum value: 1 Maximum value: 600
allowas-in-enable Enable/disable IPv4 Enable to allow my AS in AS path.
enable: Enable setting.
disable: Disable setting.
option -
allowas-in-enable6 Enable/disable IPv6 Enable to allow my AS in AS path.
enable: Enable setting.
disable: Disable setting.
option -
allowas-in IPv4 The maximum number of occurrence of my AS number allowed. integer Minimum value: 1 Maximum value: 10
allowas-in6 IPv6 The maximum number of occurrence of my AS number allowed. integer Minimum value: 1 Maximum value: 10
attribute-unchanged IPv4 List of attributes that should be unchanged.
as-path: AS path.
med: MED.
next-hop: Next hop.
option -
attribute-unchanged6 IPv6 List of attributes that should be unchanged.
as-path: AS path.
med: MED.
next-hop: Next hop.
option -
activate Enable/disable address family IPv4 for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
activate6 Enable/disable address family IPv6 for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
bfd Enable/disable BFD for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-dynamic Enable/disable advertise dynamic capability to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-orf Accept/Send IPv4 ORF lists to/from this neighbor.
none: None.
receive: Receive ORF lists.
send: Send ORF list.
both: Send and receive ORF lists.
option -
capability-orf6 Accept/Send IPv6 ORF lists to/from this neighbor.
none: None.
receive: Receive ORF lists.
send: Send ORF list.
both: Send and receive ORF lists.
option -
capability-graceful-restart Enable/disable advertise IPv4 graceful restart capability to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-graceful-restart6 Enable/disable advertise IPv6 graceful restart capability to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-route-refresh Enable/disable advertise route refresh capability to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-default-originate Enable/disable advertise default IPv4 route to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
capability-default-originate6 Enable/disable advertise default IPv6 route to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
dont-capability-negotiate Don't negotiate capabilities with this neighbor
enable: Enable setting.
disable: Disable setting.
option -
ebgp-enforce-multihop Enable/disable allow multi-hop EBGP neighbors.
enable: Enable setting.
disable: Disable setting.
option -
link-down-failover Enable/disable failover upon link down.
enable: Enable setting.
disable: Disable setting.
option -
stale-route Enable/disable stale route after neighbor down.
enable: Enable setting.
disable: Disable setting.
option -
next-hop-self Enable/disable IPv4 next-hop calculation for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
next-hop-self6 Enable/disable IPv6 next-hop calculation for this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
override-capability Enable/disable override result of capability negotiation.
enable: Enable setting.
disable: Disable setting.
option -
passive Enable/disable sending of open messages to this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
remove-private-as Enable/disable remove private AS number from IPv4 outbound updates.
enable: Enable setting.
disable: Disable setting.
option -
remove-private-as6 Enable/disable remove private AS number from IPv6 outbound updates.
enable: Enable setting.
disable: Disable setting.
option -
route-reflector-client Enable/disable IPv4 AS route reflector client.
enable: Enable setting.
disable: Disable setting.
option -
route-reflector-client6 Enable/disable IPv6 AS route reflector client.
enable: Enable setting.
disable: Disable setting.
option -
route-server-client Enable/disable IPv4 AS route server client.
enable: Enable setting.
disable: Disable setting.
option -
route-server-client6 Enable/disable IPv6 AS route server client.
enable: Enable setting.
disable: Disable setting.
option -
shutdown Enable/disable shutdown this neighbor.
enable: Enable setting.
disable: Disable setting.
option -
soft-reconfiguration Enable/disable allow IPv4 inbound soft reconfiguration.
enable: Enable setting.
disable: Disable setting.
option -
soft-reconfiguration6 Enable/disable allow IPv6 inbound soft reconfiguration.
enable: Enable setting.
disable: Disable setting.
option -
as-override Enable/disable replace peer AS with own AS for IPv4.
enable: Enable setting.
disable: Disable setting.
option -
as-override6 Enable/disable replace peer AS with own AS for IPv6.
enable: Enable setting.
disable: Disable setting.
option -
strict-capability-match Enable/disable strict capability matching.
enable: Enable setting.
disable: Disable setting.
option -
default-originate-routemap Route map to specify criteria to originate IPv4 default. string Maximum length: 35
default-originate-routemap6 Route map to specify criteria to originate IPv6 default. string Maximum length: 35
description Description. string Maximum length: 63
distribute-list-in Filter for IPv4 updates from this neighbor. string Maximum length: 35
distribute-list-in6 Filter for IPv6 updates from this neighbor. string Maximum length: 35
distribute-list-out Filter for IPv4 updates to this neighbor. string Maximum length: 35
distribute-list-out6 Filter for IPv6 updates to this neighbor. string Maximum length: 35
ebgp-multihop-ttl EBGP multihop TTL for this peer. integer Minimum value: 1 Maximum value: 255
filter-list-in BGP filter for IPv4 inbound routes. string Maximum length: 35
filter-list-in6 BGP filter for IPv6 inbound routes. string Maximum length: 35
filter-list-out BGP filter for IPv4 outbound routes. string Maximum length: 35
filter-list-out6 BGP filter for IPv6 outbound routes. string Maximum length: 35
interface Interface string Maximum length: 15
maximum-prefix Maximum number of IPv4 prefixes to accept from this peer. integer Minimum value: 1 Maximum value: 4294967295
maximum-prefix6 Maximum number of IPv6 prefixes to accept from this peer. integer Minimum value: 1 Maximum value: 4294967295
maximum-prefix-threshold Maximum IPv4 prefix threshold value (1 - 100 percent). integer Minimum value: 1 Maximum value: 100
maximum-prefix-threshold6 Maximum IPv6 prefix threshold value (1 - 100 percent). integer Minimum value: 1 Maximum value: 100
maximum-prefix-warning-only Enable/disable IPv4 Only give warning message when limit is exceeded.
enable: Enable setting.
disable: Disable setting.
option -
maximum-prefix-warning-only6 Enable/disable IPv6 Only give warning message when limit is exceeded.
enable: Enable setting.
disable: Disable setting.
option -
prefix-list-in IPv4 Inbound filter for updates from this neighbor. string Maximum length: 35
prefix-list-in6 IPv6 Inbound filter for updates from this neighbor. string Maximum length: 35
prefix-list-out IPv4 Outbound filter for updates to this neighbor. string Maximum length: 35
prefix-list-out6 IPv6 Outbound filter for updates to this neighbor. string Maximum length: 35
remote-as AS number of neighbor. integer Minimum value: 1 Maximum value: 4294967295
local-as Local AS number of neighbor. integer Minimum value: 0 Maximum value: 4294967295
local-as-no-prepend Do not prepend local-as to incoming updates.
enable: Enable setting.
disable: Disable setting.
option -
local-as-replace-as Replace real AS with local-as in outgoing updates.
enable: Enable setting.
disable: Disable setting.
option -
retain-stale-time Time to retain stale routes. integer Minimum value: 0 Maximum value: 65535
route-map-in IPv4 Inbound route map filter. string Maximum length: 35
route-map-in6 IPv6 Inbound route map filter. string Maximum length: 35
route-map-out IPv4 outbound route map filter. string Maximum length: 35
route-map-out-preferable IPv4 outbound route map filter if the peer is preferred. string Maximum length: 35
route-map-out6 IPv6 Outbound route map filter. string Maximum length: 35
send-community IPv4 Send community attribute to neighbor.
standard: Standard.
extended: Extended.
both: Both.
disable: Disable
option -
send-community6 IPv6 Send community attribute to neighbor.
standard: Standard.
extended: Extended.
both: Both.
disable: Disable
option -
keep-alive-timer Keep alive timer interval (sec). integer Minimum value: 0 Maximum value: 65535
holdtime-timer Interval (sec) before peer considered dead. integer Minimum value: 3 Maximum value: 65535
connect-timer Interval (sec) for connect timer. integer Minimum value: 0 Maximum value: 65535
unsuppress-map IPv4 Route map to selectively unsuppress suppressed routes. string Maximum length: 35
unsuppress-map6 IPv6 Route map to selectively unsuppress suppressed routes. string Maximum length: 35
update-source Interface to use as source IP/IPv6 address of TCP connections. string Maximum length: 15
weight Neighbor weight. integer Minimum value: 0 Maximum value: 65535
restart-time Graceful restart delay time (sec, 0 = global default). integer Minimum value: 0 Maximum value: 3600
additional-path Enable/disable IPv4 additional-path capability.
send: Enable sending additional paths.
receive: Enable receiving additional paths.
both: Enable sending and receiving additional paths.
disable: Disable additional paths.
option -
additional-path6 Enable/disable IPv6 additional-path capability.
send: Enable sending additional paths.
receive: Enable receiving additional paths.
both: Enable sending and receiving additional paths.
disable: Disable additional paths.
option -
adv-additional-path Number of IPv4 additional paths that can be advertised to this neighbor. integer Minimum value: 2 Maximum value: 4
adv-additional-path6 Number of IPv6 additional paths that can be advertised to this neighbor. integer Minimum value: 2 Maximum value: 4
Parameter Name Description Type Size
prefix Neighbor range prefix. ipv4-classnet Not Specified
max-neighbor-num Maximum number of neighbors. integer Minimum value: 1 Maximum value: 1000
neighbor-group Neighbor group name. string Maximum length: 63
Parameter Name Description Type Size
prefix6 IPv6 prefix. ipv6-network Not Specified
max-neighbor-num Maximum number of neighbors. integer Minimum value: 1 Maximum value: 1000
neighbor-group Neighbor group name. string Maximum length: 63
Parameter Name Description Type Size
prefix Network prefix. ipv4-classnet Not Specified
backdoor Enable/disable route as backdoor.
enable: Enable setting.
disable: Disable setting.
option -
route-map Route map to modify generated route. string Maximum length: 35
Parameter Name Description Type Size
prefix6 Network IPv6 prefix. ipv6-network Not Specified
backdoor Enable/disable route as backdoor.
enable: Enable setting.
disable: Disable setting.
option -
route-map Route map to modify generated route. string Maximum length: 35
Parameter Name Description Type Size
status Status
enable: Enable setting.
disable: Disable setting.
option -
route-map Route map name. string Maximum length: 35
Parameter Name Description Type Size
status Status
enable: Enable setting.
disable: Disable setting.
option -
route-map Route map name. string Maximum length: 35
Parameter Name Description Type Size
neighbour-prefix Neighbor address prefix. ipv4-classnet Not Specified
route-list Access list of routes to apply new distance to. string Maximum length: 35
distance Administrative distance to apply (1 - 255). integer Minimum value: 1 Maximum value: 255