show ldp neighbor
语法
show ldp neighbor <brief | detail | extensive> <auto-targeted> <instance instance-name> <logical-system (all | logical-system-name)> <neighbor-address>
说明
显示标签分配协议 (LDP) 邻接方信息。
选项
none | 显示所有路由实例有关 LDP 邻接方的标准信息。 |
brief | detail | extensive | (可选)显示指定的输出级别。 |
auto-targeted | (可选)显示有关使用环路地址自动针对的 LDP 邻接方的信息。 |
instance instance-name | (可选)显示指定路由实例的信息。 |
logical-system (all | logical-system-name) | (可选)在所有逻辑系统或特定逻辑系统上执行此操作。仅 Junos OS 支持此选项。 |
neighbor-address | (可选)显示有关指定 LDP 邻接方的信息。 |
必需的权限级别
视图
输出字段
表 1 介绍了命令的 show ldp neighbor
输出字段。输出字段按其显示大致顺序列出。
字段名称 |
字段说明 |
输出级别 |
---|---|---|
Address |
邻接方 IP 地址。 |
所有级别 |
Interface |
发现邻接方所在的接口。 |
所有级别 |
Label space ID |
邻接方播发的标签空间标识符。 |
所有级别 |
Hold time |
邻接方到期前的剩余保留时间(以秒为单位)。 |
所有级别 |
Transport address |
邻接方希望本地路由建立 LDP 会话的地址。 |
detail |
Configuration sequence |
当邻接方更改其配置时,该计数器就会递增。 |
detail |
Up for |
LDP 邻接方运行的时间长度。 |
detail extensive |
Reference count |
LDP 邻接方的参考计数。 |
extensive |
Hold time |
显示邻接方保留时间。保留时间是本地和对等路由器的建议保留时间。 |
extensive |
Proposed local/peer |
本地路由器和对等路由器提议的保持时间值。 |
extensive |
示例输出
显示 ldp 邻居扩展
user@host> show ldp neighbor extensive Address Interface Label space ID Hold Time 192.168.37.23 so-1/0/0.0 10.255.245.5:0 44 Transport address: 10.255.245.5, Configuration sequence: 6 Up for 00:03:37 Reference count: 1 Hold time: 45, Proposed local/peer: 15/45
显示 ldp 邻居自动定向扩展
user@host> show ldp neighbor auto-targeted extensive Address Interface Label space ID Hold time 10.255.107.236 lo0.0 10.255.107.236:0 41 Transport address: 10.255.107.236, Configuration sequence: 14 Up for 00:10:53 Reference count: 2 Hold time: 45, Proposed local/peer: 45/45 Hello interval: 15 Hello flags: targeted Neighbor types: Auto-targeted
发布信息
在 Junos OS 7.4 版之前引入的命令。
neighbor-address
选项在 Junos OS 8.5 版中添加。