/routing/bgp/session
session
已建立、尚未连接或已断开的 BGP 会话列表。
routing/bgp/session
Conditions: !smips Type: Directory
已建立、尚未连接或已断开的 BGP 会话列表。
| 标志 | 名称 | 描述 |
|---|---|---|
E | established | established |
| 只读参数 | 类型 | 描述 |
|---|---|---|
name | string | |
instance | enum | |
remote.address | address (flags=46iv+:) | |
remote.port | num | |
remote.as | super { as: as , [sub-as] [ /as] } | |
remote.id | ipAddr | |
remote.refused-cap-opt | bool | |
remote.capabilities | ubit (mp, rr, orf, enhe, em, sec, ml, role, gr, as4, dyn, ms, ap, err, llgr, fqdn) | 远程对等点通告/支持的能力。 |
remote.afi | ubit (ip, ipv6, l2vpn, l2vpn-cisco, vpnv4, vpnv6, evpn) | 远程对等点通告/支持的地址族。 |
remote.hold-time | alt { special: enum (infinity) { infinity:0 } , number: time [3 .. 65535] } | |
remote.messages | num | 从远程对等点接收的 BGP 消息数量。 |
remote.bytes | num | 从远程对等点接收的总字节数。 |
remote.gr-restart | bool | |
remote.gr-time | num | |
remote.gr-afi | ubit (ip, ipv6, l2vpn, l2vpn-cisco, vpnv4, vpnv6) | |
remote.gr-afi-fwp | ubit (ip, ipv6, l2vpn, l2vpn-cisco, vpnv4, vpnv6) | |
remote.eor | ubit (ip, ipv6, l2vpn, l2vpn-cisco, vpnv4, vpnv6, evpn) | 从远程对等点接收到 end-of-rib 的地址族列表。 |
remote.role | enum (provider | route-server | route-server-client | customer | peer) | 从远程对等点接收的角色。请参阅 路由泄漏防护。 |
local.role | enum (ibgp | ibgp-rr | ebgp | ebgp-provider | ebgp-rs | ebgp-rs-client | ebgp-customer | ebgp-peer) | 本地配置的角色。请参阅 路由泄漏防护。 |
local.address | address (flags=46iv:) | |
local.port | num | |
local.as | super { as: as , [sub-as] [ /as] } | |
local.id | ipAddr | |
local.cluster-id | ipAddr | |
local.capabilities | ubit (mp, rr, enhe, role, gr, as4, ap) | |
local.afi | ubit (ip, ipv6, l2vpn, l2vpn-cisco, vpnv4, vpnv6, evpn) | |
local.messages | num | |
local.bytes | num | |
local.eor | ubit (ip, ipv6, l2vpn, l2vpn-cisco, vpnv4) | |
output.affinity | enum (main | alone | remote-as | instance | afi | vrf | input) | |
output.procid | num | |
output.filter-select | enum | |
output.filter-chain | enum | |
output.network | enum | |
output.add-path | ubit (ip, ipv6) | |
output.remove-private-as | bool | |
output.default-originate | enum (never | if-installed | always) | |
output.default-prepend | num | |
output.no-client-to-client-reflection | bool | |
output.no-early-cut | bool | |
output.keep-sent-attributes | bool | |
output.last-notification | string | 最后发送的通知消息内容。 |
input.affinity | enum (main | alone | remote-as | instance | afi | vrf) | |
input.procid | num | 显示会话绑定到的路由进程。 |
input.filter | enum | |
input.allow-as | num | |
input.as-override | bool | |
input.ignore-as-path-len | bool | |
input.limit-process-routes | num | |
input.add-path | ubit (ip, ipv6) | |
input.last-notification | string | 最后接收的通知消息内容。 |
vrf | enum | |
ibgp | switch | 指示会话是否为 iBGP。 |
ebgp | switch | 指示会话是否为 eBGP。 |
limit-exceeded | switch | 指示接收的前缀数量是否超过由 input.limit-process-routes-ipv4 和/或 input.limit-process-routes-ipv6 配置的前缀限制。 |
stopped | switch | 指示会话是否被管理性停止。 |
routing-table | enum | |
nexthop-choice | enum (default | force-self | propagate) | |
cisco-vpls-nlri-len-fmt | enum (auto-bits | auto-bytes | bits | bytes) | |
multihop | bool | |
hold-time | alt { special: enum (infinity) { infinity:0 } , number: time [3 .. 65535] } | |
keepalive-time | time | |
use-bfd | bool | |
uptime | time | 已建立会话的运行时间。 |
last-started | date | |
last-stopped | date | |
save-to | string | |
prefix-count | num | |
keepalive-timer | time | |
restart-timer | time |