For feedback and comments:
documentation.feedback@alcatel-lucent.com

Table of Contents Previous Next PDF


BGP Command Reference
Command Hierarchies
Configuration Commands
config
router [router-name]
confederation confed-as-num members as-number [as-number... (up to 15 max)]
no confederation [confed-as-num members as-number [as-number... (up to 15 max)]]
[no] mh-primary-interface interface-name
[no] address {ip-address/mask | ip-address netmask}
[no] description description-string
[no] mh-secondary-interface interface-name
[no] address {ip-address/mask | ip-address netmask}
[no] description description-string
[no] hold-time holdover-time
router-id id-address
Global BGP Commands
[no] bgp
ipv4 send send-limit receive [none]
ipv4 send send-limit
ipv6 send send-limit receive [none]
ipv6 end send-limit
vpn-ipv4 [send send-limit receive [none]
vpn-ipv4 end send-limit
vpn-ipv6 send send-limit receive [none]
vpn-ipv6 end send-limit
[no] advertise-external [ipv4] [ipv6]
authentication-key [authentication-key | hash-key] [hash | hash2]
[no] backup-path [ipv4] [ipv6]
always-compare-med {zero | infinity}
always-compare-med strict-as {zero | infinity}
as-path-ignore [ipv4] [vpn-ipv4] [ipv6] [vpn-ipv6] [mcast-ipv4] [mvpn-ipv4] [l2-vpn]
cluster cluster-id
damp-peer-oscillations [idle-hold-time initial-wait second-wait max-wait] [error-interval minutes]
description description-string
disable-communities [standard] [extended]
export policy-name [policy-name…(up to 5 max)]
family [ipv4] [vpn-ipv4] [ipv6] [vpn-ipv6] [mcast-ipv4] [l2-vpn] [mvpn-ipv4] [mvpn-ipv6] [mdt-safi] [ms-pw] [flow-ipv4] [flow-ipv6] [route-target] [mcast-vpn-ipv4] [evpn] [mcast-ipv6]
restart-time seconds
hold-time seconds [min seconds2]
import policy-name [policy-name …(up to 5 max)]
keepalive seconds
local-as as-number [private] [no-prepend-global-as]
local-preference local-preference
loop-detect {drop-peer | discard-route | ignore-loop | off}
med-out {number | igp-cost}
multihop ttl-value
multipath max-paths
family {ipv4}
resolution {any | filter | disabled}
resolution-filter [ldp] [rsvp] [sr-sis]
policy policy-name
family {ipv4}
[no] disallow-igp
resolution {any | filter | disabled}
resolution-filter[bgp] [ldp] [rsvp] [sr-sis]
send-orf [comm-id...(up to 32 max)]
no send-orf comm-id
preference preference
purge-timer minutes
[no] rapid-update {[l2-vpn] [mvpn-ipv4] [mvpn-ipv6] [mdt-safi][evpn]}
[no] remove-private [limited] [skip-peer-as]
route-target-list comm-id [comm-id...(up to 15 max)]
router-id (bgp) ip-address
transport-tunnel ldp | rsvp-te | mpls
 
Group BGP Commands
config
router [router-name]
[no] bgp
[no] group name
ipv4 send send-limit receive [none]
ipv4 send send-limit
ipv6 send send-limit receive [none]
ipv6 end send-limit
vpn-ipv4 [send send-limit receive [none]
vpn-ipv4 end send-limit
vpn-ipv6 send send-limit receive [none]
vpn-ipv6 end send-limit
[no] aigp
authentication-key [authentication-key | hash-key] [hash | hash2]
cluster cluster-id
[no] damp-peer-oscillations [idle-hold-time initial-wait second-wait max-wait] [error-interval minutes]
description description-string
disable-communities [standard] [extended]
ebgp-link-bandwidth [ipv4] [ipv6] [vpn-ipv4] [vpn-ipv6]
export policy-name [policy-name…(up to 5 max)]
family [ipv4] [vpn-ipv4] [ipv6] [mcast-ipv4] [l2-vpn] [mvpn-ipv4] [mvpn-ipv6] [flow-ipv4] [flow-ipv6][mdt-safi] [route target] [mcast-vpn-ipv4] [evpn] [mcast-ipv6]
restart-time seconds
hold-time seconds [strict]
import policy-name [policy-name …(up to 5 max)]
keepalive seconds
local-address ip-address
local-as as-number [private] [no-prepend-global-as]
local-preference local preference
loop-detect {drop-peer | discard-route | ignore-loop | off}
med-out {number | igp-cost}
multihop ttl-value
[no] next-hop-self {[ipv4] [vpn-ipv4] [ipv6] [mcast-ipv4] [l2-vpn]} [multihoming primary-anycast secondary-anycast]
send-orf [comm-id...(up to 32 max)]
no send-orf [comm-id]
peer-as as-number
preference preference
prefix-limit family limit [log-only] [threshold percentage] [idle-timeout { minutes | forever}] [post-import]
[no] remove-private {limited} {skip-peer-as}
ttl-security min-ttl-value
type {internal | external}
Neighbor BGP Commands
 
config
router [router-name]
[no] bgp
[no] group name
[no] neighbor ip-address
ipv4 send send-limit receive [none]
ipv4 send send-limit
ipv6 send send-limit receive [none]
ipv6 end send-limit
vpn-ipv4 [send send-limit receive [none]
vpn-ipv4 end send-limit
vpn-ipv6 send send-limit receive [none]
vpn-ipv6 end send-limit
advertise-label [ipv4 [include-ldp-prefix]] [ipv6]
[no] aigp
authentication-key [authentication-key | hash-key] [hash | hash2]
cluster cluster-id
[no] damp-peer-oscillations [idle-hold-time initial-wait second-wait max-wait] [error-interval minutes]
description description-string
disable-communities [standard] [extended]
ebgp-link-bandwidth [ipv4] [ipv6] [vpn-ipv4] [vpn-ipv6]
export policy-name [policy-name…(up to 5 max)]
family [ipv4] [vpn-ipv4] [ipv6] [mcast-ipv4] [l2-vpn] [mvpn-ipv4] [mvpn-ipv6] [flow-ipv4] [flow-ipv6] [mdt-safi] [route-target] [mcast-vpn-ipv4] [evpn] [mcast-ipv6]
[no] relax-redirect-as-check
restart-time seconds
hold-time seconds [strict]
import policy-name [policy-name …(up to 5 max)]
keepalive seconds
local-address ip-address
local-as as-number [private] [no-prepend-global-as]
local-preference local-preference
loop-detect {drop-peer | discard-route | ignore-loop | off}
med-out {number | igp-cost}
multihop ttl-value
send-orf [comm-id...(up to 32 max)]
no send-orf [comm-id]
peer-as as-number
preference preference
prefix-limit family limit [log-only] [threshold percentage] [idle-timeout { minutes | forever}] [post-import]
[no] remove-private {limited} {skip-peer-as}
ttl-security min-ttl-value
type {internal | external}
 
Other BGP-Related Commands
config
router [router-name]
router-id ip-address
 
 
Show Commands
show
router [router-instance]
auth-keychain keychain-name
damping [damp-type] [detail]
damping [ip-prefix | prefix-length] [detail]
group [name] [detail]
neighbor [ip-address [detail]]
neighbor [as-number [detail]]
neighbor ip-address [family [type mvpn-type]] filter1 [brief]
neighbor ip-address [family] filter2
neighbor as-number [family] filter2
neighbor ip-address orf [filter3]
neighbor ip-address graceful-restart
next-hop [family] [ip-address] [detail]
routes [family] [brief]
routes [family] prefix [detail | longer | hunt [brief]]
routes family [prefix] [detail | longer | hunt [brief]]
routes [family [type mvpn-type]] community comm-id
routes [family [type mvpn-type]] aspath-regex reg-ex
routes vpn-ipv4 prefix [rd rd] [detail | longer | hunt [ brief]]
routes vpn-ipv6 prefix [rd rd] [detail | longer | hunt [ brief]]
routes mvpn-ipv4 type mvpn-type {rd rd | originator-ip ip-address | source-ip ip-address | group-ip ip-address | source-as as-number} [hunt| detail]
routes [family [l2vpn-type]] [brief]
routes [family [l2vpn-type]] community comm-id
routes [family [l2vpn-type]] aspath-regex reg-ex
routes evpn {[inclusive-mcast] | [ip-prefix] | [mac]]}
routes evpn inclusive-mcast [hunt | detail] [rd rd] [originator-ip ip-address] [next-hop ip-address] [community comm-id] [tag vni-id]
routes evpn ip-prefix [hunt | detail] [rd rd] [prefix ip-prefix/mask] [community comm-id] [tag vni-id] [next-hop ip-address]
routes evpn mac [hunt | detail] [rd rd] [next-hop ip-address] [mac-address mac-address] [community comm-id] [tag vni-id]
routes l2-vpn l2vpn-type {[rd rd] | [siteid site-id] | [veid veid] [offset vpls-base-offset ]}
routes mdt-safi [rd rd] [grp-address mcast-grp-address] [brief]
routes ms-pw [rd rd] [aii-type2 aii-type2] [brief]
routes flow-ipv4
policy-test policy-name family family prefix prefix/pfxlen [longer]] [neighbor neighbor] [display-rejects] [detail]
summary [all]
summary [family family] [neighbor ip-address]
Clear Commands
clear
damping [{prefix/ip-prefix-length] [neighbor ip-address]} | {group name}]
flap-statistics [{prefix/mask [neighbor ip-address] | [group group-name] | [regex reg-exp | policy policy-name}]
neighbor {ip-address | as as-number | external | all} [soft | soft-inbound]
neighbor {ip-address | as as-number | external | all} statistics
neighbor ip-address end-of-rib
Debug Commands
debug
events [neighbor ip-address | group name]
graceful-restart [neighbor ip-address | group name]
keepalive [neighbor ip-address | group name]
notification [neighbor ip-address | group name]
open [neighbor ip-address | group name]
packets [neighbor ip-address | group name]
route-refresh [neighbor ip-address | group name]
rtm [neighbor ip-address | group name]
socket [neighbor ip-address | group name]
timers [neighbor ip-address | group name]\
update [neighbor ip-address | group name]