config router bgp

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 route-map-out6-preferable {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 route-map-out6-preferable {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

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.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

bestpath-as-path-ignore

Enable/disable ignore AS path.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

bestpath-cmp-confed-aspath

Enable/disable compare federation AS path length.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

bestpath-cmp-routerid

Enable/disable compare router ID for identical EBGP paths.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

bestpath-med-confed

Enable/disable compare MED among confederation paths.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

bestpath-med-missing-as-worst

Enable/disable treat missing MED as least preferred.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

client-to-client-reflection

Enable/disable client-to-client route reflection.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

dampening

Enable/disable route-flap dampening.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

deterministic-med

Enable/disable enforce deterministic comparison of MED.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

ebgp-multipath

Enable/disable EBGP multi-path.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

ibgp-multipath

Enable/disable IBGP multi-path.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

enforce-first-as

Enable/disable enforce first AS for EBGP routes.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

fast-external-failover

Enable/disable reset peer BGP session if link goes down.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

log-neighbour-changes

Enable logging of BGP neighbour's changes

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

network-import-check

Enable/disable ensure BGP network route exists in IGP.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

ignore-optional-capability

Don't send unknown optional capability notification message

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

additional-path

Enable/disable selection of BGP IPv4 additional paths.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

additional-path6

Enable/disable selection of BGP IPv6 additional paths.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

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.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

graceful-restart

Enable/disable BGP graceful restart capabilities.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

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.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

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

config aggregate-address

Parameter

Description

Type

Size

prefix

Aggregate prefix.

ipv4-classnet-any

Not Specified

as-set

Enable/disable generate AS set path information.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

summary-only

Enable/disable filter more specific routes from updates.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

config aggregate-address6

Parameter

Description

Type

Size

prefix6

Aggregate IPv6 prefix.

ipv6-prefix

Not Specified

as-set

Enable/disable generate AS set path information.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

summary-only

Enable/disable filter more specific routes from updates.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

config neighbor

Parameter

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.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

allowas-in-enable6

Enable/disable IPv6 Enable to allow my AS in AS path.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

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.

option

-

 

Option

Description

as-path

AS path.

med

MED.

next-hop

Next hop.

attribute-unchanged6

IPv6 List of attributes that should be unchanged.

option

-

 

Option

Description

as-path

AS path.

med

MED.

next-hop

Next hop.

activate

Enable/disable address family IPv4 for this neighbor.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

activate6

Enable/disable address family IPv6 for this neighbor.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

bfd

Enable/disable BFD for this neighbor.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

capability-dynamic

Enable/disable advertise dynamic capability to this neighbor.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

capability-orf

Accept/Send IPv4 ORF lists to/from this neighbor.

option

-

 

Option

Description

none

None.

receive

Receive ORF lists.

send

Send ORF list.

both

Send and receive ORF lists.

capability-orf6

Accept/Send IPv6 ORF lists to/from this neighbor.

option

-

 

Option

Description

none

None.

receive

Receive ORF lists.

send

Send ORF list.

both

Send and receive ORF lists.

capability-graceful-restart

Enable/disable advertise IPv4 graceful restart capability to this neighbor.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

capability-graceful-restart6

Enable/disable advertise IPv6 graceful restart capability to this neighbor.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

capability-route-refresh

Enable/disable advertise route refresh capability to this neighbor.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

capability-default-originate

Enable/disable advertise default IPv4 route to this neighbor.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

capability-default-originate6

Enable/disable advertise default IPv6 route to this neighbor.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

dont-capability-negotiate

Don't negotiate capabilities with this neighbor

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

ebgp-enforce-multihop

Enable/disable allow multi-hop EBGP neighbors.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

link-down-failover

Enable/disable failover upon link down.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

stale-route

Enable/disable stale route after neighbor down.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

next-hop-self

Enable/disable IPv4 next-hop calculation for this neighbor.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

next-hop-self6

Enable/disable IPv6 next-hop calculation for this neighbor.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

override-capability

Enable/disable override result of capability negotiation.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

passive

Enable/disable sending of open messages to this neighbor.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

remove-private-as

Enable/disable remove private AS number from IPv4 outbound updates.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

remove-private-as6

Enable/disable remove private AS number from IPv6 outbound updates.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

route-reflector-client

Enable/disable IPv4 AS route reflector client.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

route-reflector-client6

Enable/disable IPv6 AS route reflector client.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

route-server-client

Enable/disable IPv4 AS route server client.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

route-server-client6

Enable/disable IPv6 AS route server client.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

shutdown

Enable/disable shutdown this neighbor.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

soft-reconfiguration

Enable/disable allow IPv4 inbound soft reconfiguration.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.

soft-reconfiguration6

Enable/disable allow IPv6 inbound soft reconfiguration.

option

-

 

Option

Description

enable

Enable setting.

disable

Disable setting.