show mpls lsp
语法
show mpls lsp <brief | detail | extensive | terse> <abstract-computation> <autobandwidth> <bidirectional | unidirectional> <bypass> <count-active-routes> <defaults> <descriptions> <down | up> <externally-controlled> <externally-provisioned> <instance routing-instance-name> <locally-provisioned> <logical-system (all | logical-system-name)> <lsp-type> <name name> <p2mp> <reverse-statistics> <segment> <statistics> <transit>
语法(仅限 EX 系列交换机)
show mpls lsp <brief | detail | extensive | terse> <bidirectional | unidirectional> <bypass> <descriptions> <down | up> <externally-controlled> <externally-provisioned> <lsp-type> <name name> <p2mp> <statistics> <transit>
描述
显示有关已配置和活动动态多协议标签交换 (MPLS) 标签交换路径 (LSP) 的信息。
ACX 系列路由器不支持该 show mpls lsp statistics
命令。
选项
none | 显示有关所有已配置和活动动态 MPLS LSP 的标准信息。 |
brief | detail | extensive | terse | (可选)显示指定的输出级别。扩展选项显示的信息与详细信息选项相同,但涵盖最近的 50 个事件。 在广泛的命令输出中,重复的背对背消息将记录为聚合消息。这些聚合消息包含一个附加时间戳,其中,如果聚合的消息为 5 或更少,则会记录每条消息的时间戳增量,如果聚合的消息大于 5,则会记录第一个和最后一个时间戳。 例如:
|
abstract-computation | (可选)显示 LSP 的抽象计算预处理。 有关更多详细信息,请参阅 显示 mpls lsp 抽象计算 。 |
autobandwidth | (可选)显示自动带宽信息。此选项将单独说明(请参阅 |
bidirectional | unidirectional | (可选)分别显示双向或单向 LSP 信息。 |
bypass | (可选)显示用于保护其他 LSP 的 LSP。 |
count-active-routes | (可选)显示 LSP 的活动路由。 |
defaults | (可选)显示 MPLS LSP 默认设置。 |
descriptions | (可选)显示 MPLS 标签交换路径 (LSP) 说明。要查看此信息,必须在层次结构级别配置 |
down | up | (可选)仅分别显示处于非活动状态或活动的 LSP。 |
externally-controlled | (可选)显示受外部路径计算元素 (PCE) 控制的 LSP。 |
externally-provisioned | (可选)显示由外部路径计算元素 (PCE) 动态生成和调配的 LSP。 |
instance instance-name | (可选)显示指定实例的 MPLS LSP 信息。如果省略,则 |
locally-provisioned | (可选)显示已由路径计算客户端 (PCC) 本地预配的 LSP。 |
logical-system (all | logical-system-name) | (可选)在所有逻辑系统或特定逻辑系统上执行此操作。 |
lsp-type | (可选)显示有关特定 LSP 类型的信息:
|
name name | (可选)显示有关指定 LSP 或 LSP 组的信息。 |
p2mp | (可选)显示有关点对多点 LSP 的信息。 |
reverse-statistics | (可选)显示 LSP 反向的数据包统计信息。 |
segment | (可选)显示段标识符 (SID) 标签。 |
statistics | (可选)(仅限入口和中转路由器)显示有关 LSP 的记帐信息。 统计信息通常不适用于出口路由设备上的 LSP,因为在大多数情况下,会使用倒数第二个跃点弹出或显式空标签。这些标签 3 和 0 分别属于 0-15 的保留范围,其出口统计信息不可用。例如,使用显式空操作(标签 0)时,当数据包到达出口路由设备时,硬件会移除 MPLS 标签,数据包将恢复为 IPv4 数据包。因此,它被计为 IPv4 数据包,而不是 MPLS 数据包。
注意:
在出口 LSR 上使用 0-15 保留范围内的标签时,您希望看到出口 LSP 统计信息不适用 (NA): user@ptx> show mpls lsp statistics Ingress LSP: 1 sessions To From State Packets Bytes LSPname 10.0.255.42 10.0.255.47 Up 10 920 PTX-to-MX_UHP Total 1 displayed, Up 1, Down 0 Egress LSP: 1 sessions To From State Packets Bytes LSPname 10.0.255.47 10.0.255.42 Up NA NA MX-to-PTX_PHP Total 1 displayed, Up 1, Down 0
注意:
如果为主静态 LSP 配置了旁路 LSP,则显示遍历受保护 LSP 的数据包的累积统计信息,并在恢复受保护的 LSP 链路时重新优化流量时绕过 LSP。(QFX 系列交换机不支持旁路 LSP。 与选项 () |
transit | (可选)显示传输此路由设备的 LSP。 |
所需权限级别
视图
输出字段
表 1 介绍了该 show mpls lsp
命令的输出字段。输出字段按其出现的大致顺序列出。
字段名称 |
字段说明 |
输出级别 |
---|---|---|
|
有关入口路由设备上的 LSP 的信息。每个会话都有一行输出。 |
所有级别 |
|
有关出口路由设备上的 LSP 的信息。MPLS 通过查询 RSVP 来学习此信息,RSVP 保存所有传输和出口会话信息。每个会话都有一行输出。 |
所有级别 |
|
传输路由设备上的 LSP 数以及这些路径的状态。MPLS 通过查询 RSVP 来学习此信息,RSVP 保存所有传输和出口会话信息。 |
所有级别 |
|
点对多点 LSP 的名称。用于 VPLS 泛洪的动态生成的 P2MP LSP 使用动态生成的 P2MP LSP 名称。名称使用 |
所有级别 |
|
点对多点 LSP 传输到的目标 LSP 数。 |
所有级别 |
|
此标题下的星号 ( |
所有级别 |
|
|
|
|
会话的目标(出口路由设备)。 |
|
|
会话的源(入口路由设备)。 |
|
|
此 RSVP 会话处理的 LSP 的状态: |
|
|
转发表中安装的活动路由(前缀)数。对于入口 LSP,转发表是主 IPv4 表 ( |
|
|
路由表中安装的活动路由(前缀)数。对于入口 RSVP 会话,路由表是主 IPv4 表 ( |
|
|
路径。此列下方的星号 ( |
|
|
(入口 LSP)活动路径的名称: |
|
|
LSP 的名称。 |
|
|
显示通过 LSP 传输的数据包数和字节数。每当优化 LSP 路径时(例如,在自动带宽分配期间),这些计数器都会重置为零。 |
|
|
显示通过 LSP 传输的数据包数和字节数。即使优化了 LSP 路径,这些计数器也会继续迭代。您可以使用命令 |
|
|
显示通过 LSP 传输的数据包数。
|
|
|
显示通过 LSP 传输的字节数。
|
|
|
LSP 类型:多类 LSP 或差异化服务感知流量工程 LSP |
|
|
LSP 类型:
还指示 LSP 是 |
|
|
(旁路 LSP)旁路 LSP 的目标地址(出口路由设备)。 |
所有级别 |
|
指示 RSVP 会话是针对主 LSP 路径还是辅助 LSP 路径。 |
|
|
(GMPLS)LSP 允许数据在 GMPLS 设备之间双向传输。 |
所有级别 |
|
(GMPLS)LSP 允许数据在 GMPLS 设备之间双向传输。 |
所有级别 |
|
入口路由设备已请求快速重新路由。 |
|
|
入口路由设备已请求链路保护。 |
|
需要节点/链路保护 |
入口路由设备已请求链路保护。 |
|
|
(入口 LSP)LSP 控制模式:
PCE 控制的 LSP 在没有连接到 PCE 或 PCE 将 LSP 授权返回回 PCC 的情况下,从其默认外部控制模式切换到本地控制。 |
|
|
(PCE 控制的 LSP)具有每个路径属性的 PCE 控制的 LSP 的状态:
|
|
|
(PCE 控制的 LSP)当路由对象不为 null 或为空时,外部计算的显式路由。一系列跃点,每个跃点都有一个地址,后跟一个跃点指示器。跃点指示器的值可以是严格 ( |
|
|
(PCE 控制的 LSP)显示路径历史记录,包括从外部控制器接收的带宽、优先级和指标值。 |
|
翻盖计数器 |
计算 LSP 向下或向上翻动的次数。 |
广泛 |
|
(入口 LSP)配置为在等价路径 |
|
|
GMPLS LSP 的信号类型。信号类型决定了 LSP 的峰值数据速率: |
所有级别 |
|
LSP 编码类型: |
所有级别 |
|
LSP 所需链路上的切换类型: |
所有级别 |
|
通用有效负载标识符(LSP 携带的有效负载的标识符): |
所有级别 |
|
LSP 所需的已配置保护功能: |
所有级别 |
|
(双向 LSP)此 LSP 的反向流量的传入标签。 |
所有级别 |
|
(双向 LSP)此 LSP 的反向流量的传出标签。 |
所有级别 |
|
(双向 LSP)标签上游接口建议在发送的 Resv 消息中使用。 |
所有级别 |
|
(双向 LSP)标记下游节点建议在返回的 Resv 消息中使用的标签。 |
所有级别 |
|
(入口 LSP)LSP 正在执行自动带宽分配。 |
|
Mbb 计数器 |
计算 LSP 产生 MBB 的次数。 |
广泛 |
|
(入口 LSP)配置的 LSP 最小值(以 bps 为单位)。 |
|
|
(入口 LSP)配置的 LSP 最大值(以 bps 为单位)。 |
|
|
(入口 LSP)显示当前动态指定的 LSP 最小带宽分配(以 bps 为单位)。 |
|
|
(入口 LSP)显示当前动态指定的 LSP 最小带宽分配(以 bps 为单位)。 |
|
|
(入口 LSP)语句的 |
|
|
(入口 LSP)语句的 |
|
|
(入口 LSP)拍摄下一个自动带宽调整样本之前的时间(以秒为单位)。 |
|
|
(入口 LSP)自上次自动带宽调整完成以来的日期和时间。 |
|
|
(入口 LSP)实际最大平均带宽利用率的当前值(以 bps 为单位)。 |
|
|
(入口 LSP)阈值溢出限制的配置值。 |
|
|
(入口 LSP)溢出样本计数的当前值。 |
|
|
(入口 LSP)带宽调整计时器的当前值,指示进行带宽调整之前的剩余时间量(以秒为单位)。 |
|
|
就地 LSP 带宽更新计数器的当前值,指示为 LSP 启用 LSP ID 重用时重复使用 LSP ID 的次数。 |
|
|
(入口 LSP)阈值下溢限制的配置值。 |
|
|
(入口 LSP)下溢样本计数的当前值。 |
|
|
(入口 LSP)当前记录的下溢样本中最高的样本带宽。这是由于下溢而发生调整时的信令带宽。 |
|
|
(入口 LSP)值 为 表示
|
|
|
(入口 LSP)主路径的名称。 |
|
|
(入口 LSP)辅助路径的名称。 |
|
|
(入口 LSP)处于待机模式的路径的名称。 |
|
|
(入口 LSP)路径状态: |
|
|
(入口 LSP)服务等级价值。 |
|
|
(入口 LSP)每个 MPLS 类类型的 LSP 路径的活动带宽(以 bps 为单位)。 |
|
|
(入口 LSP)配置的设置优先级和保留优先级的值(首先显示设置优先级),其中 0 是最高优先级,7 是最低优先级。如果未显式配置这些值,则会显示默认值(7 表示设置优先级,0 表示保留优先级)。 |
|
|
(入口 LSP)优化计时器的配置值,指示路径重新优化之前允许的总时间(以秒为单位)。 |
|
|
(入口 LSP)智能优化计时器的配置值,指示路径重新优化之前允许的总时间(以秒为单位)。 |
|
|
(入口 LSP)优化计时器的当前值,指示重新优化路径之前的剩余时间量(以秒为单位)。 |
|
|
(入口 LSP)计算显式路由。一系列跃点,每个跃点都有一个地址,后跟一个跃点指示器。跃点指示器的值可以是严格 ( |
|
|
(入口 LSP)此路径的受限最短路径优先指标。 |
|
|
(入口 LSP)收到的记录路由。一系列跃点,每个跃点都有一个地址,后跟一个标志。(在大多数情况下,收到的记录路由与计算的显式路由相同。如果与 不同
|
|
|
弹出式转发 LSP 隧道的标签:
|
|
|
(入口 LSP)每个 LSP 路径事件的日志条目号。这些数字按时间降序排列,最多显示 50 个索引号。 |
|
|
(入口 LSP)LSP 事件的日期。 |
|
|
(入口 LSP)LSP 事件的时间。 |
|
|
(入口 LSP)LSP 事件的说明。 |
|
|
(入口 LSP)创建 LSP 的日期和时间。 |
|
|
(旁路)回复预订样式。此字段由两部分组成。首先是活动预留的数量。第二个是保留样式,可以是 |
|
|
此 LSP 的传入标签。 |
|
|
此 LSP 的传出标签。 |
|
|
LSP 的名称。 |
|
|
预留生存期中剩余的秒数。 |
|
|
启动 RSVP 会话的日期和时间。 |
|
|
发送方的流量规范,用于描述发送方的流量参数。 |
|
|
此 RSVP 会话中使用的协议 ID 和发送方或接收方端口。 |
|
|
上一跃点(上游)路由设备或客户端的地址、用于到达此路由器的邻居接口以及从上游邻居接收的数据包数。 |
|
|
下一跃点(下游)路由设备或客户端的地址、用于到达此邻接方的接口以及发送到下游路由设备的数据包数。 |
|
|
上一跃点(上游)路由设备或客户端的地址、用于到达此路由设备的邻接方接口,以及从上游邻接方接收的数据包数。此字段中的输出与字段中的 |
|
|
会话的记录路由,取自记录路由对象。 |
|
|
弹出并转发 LSP 隧道的属性。 |
|
|
LSP 跃点可能从其上游跃点接收的传输标签数。它在传输和出口设备上记录为有效传输标签深度 (ETLD)。 |
|
|
LSP 跃点可能发送到其下游跃点的传输标签数。它在传输和入口设备上记录为 ETLD。 |
|
|
指定是否选择传输跃点作为委派标签:
|
|
|
路径上发生的软抢占数以及上次发生软抢占的时间。仅计算成功的软抢占(实际导致使用新路径的软抢占)。 |
|
|
路径正在被软抢占。入口路由器计算出新路径后,此显示将被删除。 |
|
|
MPLS 流量工程 LSP 的默认设置:
|
|
标记下的标记的 bandwidth
XML 标记名称已更新为 maximum-average-bandwidth
。auto-bandwidth
当您使用管道选项发出| display xml
命令时,show mpls lsp extensive
您可以看到新标记。如果有任何使用该bandwidth
标记的脚本,请确保将其更新为 maximum-average-bandwidth
。
示例输出
- 显示 MPLS LSP 默认值
- 显示 MPLS LSP 说明
- 显示 MPLS LSP 详细信息
- 显示 MPLS LSP 详细信息(当出口保护处于待机模式时)
- 显示 MPLS LSP 详细信息(当出口保护在本地修复期间生效时)
- 显示 MPLS LSP 广泛
- 显示 MPLS LSP 入口广泛
- 显示 MPLS LSP 广泛版(已启用自动带宽调整)
- 显示 MPLS LSP 详细信息(已启用就地 LSP 带宽更新)
- 显示 MPLS LSP 广泛(已启用就地 LSP 带宽更新)
- 显示 MPLS LSP 旁路广泛
- 显示 MPLS LSP P2MP
- 显示 MPLS LSP P2MP 详细信息
- 显示 MPLS LSP 详细信息计数活动路由
- 显示 MPLS LSP 统计信息 广泛
- 显示 MPLS LSP 广泛(条件指标)
显示 MPLS LSP 默认值
user@host> show mpls lsp defaults MPLS-TE LSP Defaults LSP Holding Priority 0 LSP Setup Priority 7 Hop Limit 255 Bandwidth 0 LSP Retry Timer 30 seconds
显示 MPLS LSP 说明
user@host> show mpls lsp descriptions Ingress LSP: 3 sessions To LSP name Description 10.0.0.195 to-sanjose to-sanjose-desc 10.0.0.195 to-sanjose-other-desc other-desc Total 2 displayed, Up 2, Down 0
显示 MPLS LSP 详细信息
user@host> show mpls lsp detail Ingress LSP: 1 sessions 192.168.0.4 From: 192.168.0.5, State: Up, ActiveRoute: 0, LSPname: E-D ActivePath: (primary) LSPtype: Static Configured, Penultimate hop popping LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary State: Up Priorities: 7 0 SmartOptimizeTimer: 180 Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 30) 10.0.0.18 S 10.0.0.22 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 10.0.0.18 10.0.0.22 Total 1 displayed, Up 1, Down 0 Egress LSP: 1 sessions 192.168.0.5 From: 192.168.0.4, LSPstate: Up, ActiveRoute: 0 LSPname: E-D, LSPpath: Primary Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: - Resv style: 1 FF, Label in: 3, Label out: - Time left: 157, Since: Wed Jul 18 17:55:12 2012 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 1 receiver 46128 protocol 0 PATH rcvfrom: 10.0.0.18 (lt-1/2/0.17) 3 pkts Adspec: received MTU 1500 PATH sentto: localclient RESV rcvfrom: localclient Record route: 10.0.0.22 10.0.0.18 <self> Total 1 displayed, Up 1, Down 0 Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0
显示 MPLS LSP 详细信息(当出口保护处于待机模式时)
user@host> show mpls lsp detail Ingress LSP: 1 sessions 192.168.0.4 From: 192.168.0.5, State: Up, ActiveRoute: 0, LSPname: E-D ActivePath: (primary) LSPtype: Static Configured, Ultimate hop popping LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary State: Up Priorities: 7 0 SmartOptimizeTimer: 180 Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 30) 10.0.0.18 S 10.0.0.22 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 10.0.0.18 10.0.0.22 11 Sep 20 15:54:35.032 Make-before-break: Switched to new instance 10 Sep 20 15:54:34.029 Record Route: 10.0.0.18 10.0.0.22 9 Sep 20 15:54:34.029 Up 8 Sep 20 15:54:20.271 Originate make-before-break call 7 Sep 20 15:54:20.271 CSPF: computation result accepted 10.0.0.18 10.0.0.22 6 Sep 20 15:52:10.247 Selected as active path 5 Sep 20 15:52:10.246 Record Route: 10.0.0.18 10.0.0.22 4 Sep 20 15:52:10.243 Up 3 Sep 20 15:52:09.745 Originate Call 2 Sep 20 15:52:09.745 CSPF: computation result accepted 10.0.0.18 10.0.0.22 1 Sep 20 15:51:39.903 CSPF failed: no route toward 192.168.0.4 Created: Thu Sep 20 15:51:08 2012 Total 1 displayed, Up 1, Down 0 Egress LSP: 1 sessions 192.168.0.5 From: 192.168.0.4, LSPstate: Up, ActiveRoute: 0 LSPname: E-D, LSPpath: Primary Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: - Resv style: 1 FF, Label in: 3, Label out: - Time left: 148, Since: Thu Sep 20 15:52:10 2012 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 1 receiver 49601 protocol 0 PATH rcvfrom: 10.0.0.18 (lt-1/2/0.17) 27 pkts Adspec: received MTU 1500 PATH sentto: localclient RESV rcvfrom: localclient Record route: 10.0.0.22 10.0.0.18 <self> Total 1 displayed, Up 1, Down 0 Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0
显示 MPLS LSP 详细信息(当出口保护在本地修复期间生效时)
user@host> show mpls lsp detail Ingress LSP: 1 sessions 192.168.0.4 From: 192.168.0.5, State: Up, ActiveRoute: 0, LSPname: E-D ActivePath: (primary) LSPtype: Static Configured, Penultimate hop popping LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary State: Up Priorities: 7 0 SmartOptimizeTimer: 180 Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 30) 10.0.0.18 S 10.0.0.22 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 10.0.0.18 10.0.0.22 Total 1 displayed, Up 1, Down 0 Egress LSP: 1 sessions 192.168.0.5 From: 192.168.0.4, LSPstate: Down, ActiveRoute: 0 LSPname: E-D, LSPpath: Primary Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: - Resv style: 1 FF, Label in: 3, Label out: - Time left: 157, Since: Wed Jul 18 17:55:12 2012 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 1 receiver 46128 protocol 0 Egress protection PLR as protector: In Use PATH rcvfrom: 10.0.0.18 (lt-1/2/0.17) 3 pkts Adspec: received MTU 1500 PATH sentto: localclient RESV rcvfrom: localclient Record route: 10.0.0.22 10.0.0.18 <self> Total 1 displayed, Up 1, Down 0 Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0
显示 MPLS LSP 广泛
user@host> show mpls lsp extensive Ingress LSP: 1 sessions 192.168.0.4 From: 192.168.0.5, State: Up, ActiveRoute: 0, LSPname: E-D ActivePath: (primary) LSPtype: Static Configured, Ultimate hop popping LSP Control Status: Externally controlled LoadBalance: Random Metric: 10 Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary State: Up Priorities: 7 0 External Path CSPF status: local Bandwidth: 98.76kbps SmartOptimizeTimer: 180 Include All: green Externally Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 0) 10.1.3.2 S 10.2.3.2 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 10.0.0.18 10.0.0.22 9 May 17 16:55:06.574 EXTCTRL LSP: Sent Path computation request and LSP status 8 May 17 16:55:06.574 EXTCTRL_LSP: Computation request/lsp status contains: signalled bw 98760 req BW 0 admin group(exclude 0 include any 0 include all 16) priority setup 5 hold 4 hops: 10.1..3.2 10.2..3.2 7 May 17 16:55:06.574 Selected as active path 6 May 17 16:55:06.558 EXTCTRL LSP: Sent Path computation request and LSP status 8 May 17 16:55:06.574 EXTCTRL_LSP: Computation request/lsp status contains: signalled bw 98760 req BW 0 admin group(exclude 0 include any 0 include all 16) priority setup 5 hold 4 hops: 10.1.3.2 10.2..3.2 7 May 17 16:55:06.574 Selected as active path 6 May 17 16:55:06.558 EXTCTRL LSP: Sent Path computation request and LSP status 5 May 17 16:55:06.558 EXTCTRL_LSP: Computation request/lsp status contains: signalled bw 98760 req BW 0 admin group(exclude 0 include any 0 include all 16) priority setup 5 hold 4 hops: 10.1..3.2 10.2..3.2 4 May 17 16:55:06.557 Record Route: 10.1.3.2 10.2.3.2 3 May 17 16:55:06.557 Up 2 May 17 16:55:06.382 Originate Call 1 May 17 16:55:06.382 EXTCTRL_LSP: Received setup parameters :: local_cspf, 10.1.3.2 10.2.3.2 Created: Tue May 17 16:55:07 2016 Total 1 displayed, Up 1, Down 0 Egress LSP: 1 sessions 192.168.0.5 From: 192.168.0.4, LSPstate: Up, ActiveRoute: 0 LSPname: E-D, LSPpath: Primary Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: - Resv style: 1 FF, Label in: 3, Label out: - Time left: 148, Since: Thu Sep 20 15:52:10 2012 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 1 receiver 49601 protocol 0 PATH rcvfrom: 10.0.0.18 (lt-1/2/0.17) 27 pkts Adspec: received MTU 1500 PATH sentto: localclient RESV rcvfrom: localclient Record route: 10.0.0.22 10.0.0.18 <self>
显示 MPLS LSP 入口广泛
user@host> show mpls lsp ingress extensive Ingress LSP: 1 sessions 10.50.0.1 From: 10.0.0.1, State: Up, ActiveRoute: 0, LSPname: test ActivePath: (primary) LSPtype: Static Pop-and-forward Configured, Penultimate hop popping LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary State: Up Priorities: 7 0 OptimizeTimer: 300 SmartOptimizeTimer: 180 Reoptimization in 240 second(s). Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 3) 10.1.1.2 S 10.4.4.1 S 10.5.5.2 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): (Labels: P=Pop D=Delegation) 10.80.1.2(Label=18 P) 10.50.1.2(Label=17 P) 10.70.1.2(Label=16 P) 10.92.1.1(Label=16 D) 10.93.1.2(Label=16 P) 10.99.1.1(Label=16 P) 10.99.1.1(Label=16 P) 10.99.1.2(Label=3) 17 Aug 3 13:17:33.601 CSPF: computation result ignored, new path less avail bw[3 times] 16 Aug 3 13:02:51.283 CSPF: computation result ignored, new path no benefit[2 times] 15 Aug 3 12:54:36.678 Selected as active path 14 Aug 3 12:54:36.676 Record Route: 10.1.1.2 10.4.4.1 10.5.5.2 13 Aug 3 12:54:36.676 Up 12 Aug 3 12:54:33.924 Deselected as active 11 Aug 3 12:54:33.924 Originate Call 10 Aug 3 12:54:33.923 Clear Call 9 Aug 3 12:54:33.923 CSPF: computation result accepted 10.1.1.2 10.4.4.1 10.5.5.2 8 Aug 3 12:54:33.922 10.2.2.2: No Route toward dest 7 Aug 3 12:54:28.177 CSPF: computation result ignored, new path no benefit[4 times] 6 Aug 3 12:35:03.830 Selected as active path 5 Aug 3 12:35:03.828 Record Route: 10.2.2.2 10.3.3.2 4 Aug 3 12:35:03.827 Up 3 Aug 3 12:35:03.814 Originate Call 2 Aug 3 12:35:03.814 CSPF: computation result accepted 10.2.2.2 10.3.3.2 1 Aug 3 12:34:34.921 CSPF failed: no route toward 10.50.0.1 Created: Tue Aug 3 12:34:35 2010 Total 1 displayed, Up 1, Down 0
显示 MPLS LSP 广泛版(已启用自动带宽调整)
user@host> show mpls lsp extensive Ingress LSP: 1 sessions 192.168.0.4 From: 192.168.0.5, State: Up, ActiveRoute: 0, LSPname: E-D ActivePath: (primary) Node/Link protection desired LSPtype: Static Configured, Penultimate hop popping LoadBalance: Random Autobandwidth MinBW: 300bps, MaxBW: 1000bps, Dynamic MinBW: 1000bps Adjustment Timer: 300 secs AdjustThreshold: 25% Max AvgBW util: 963.739bps, Bandwidth Adjustment in 0 second(s). Min BW Adjust Interval: 1000, MinBW Adjust Threshold (in %): 50 Overflow limit: 0, Overflow sample count: 0 Underflow limit: 0, Underflow sample count: 9, Underflow Max AvgBW: 614.421bps Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary State: Up Priorities: 7 0 Bandwidth: 1000bps SmartOptimizeTimer: 180 Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 30) 10.0.0.18 S 10.0.0.22 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 192.168.0.6(flag=0x20) 10.0.0.18(Label=299792) 192.168.0.4(flag=0x20) 10.0.0.22(Label=3) 12 Apr 30 10:25:17.024 Make-before-break: Switched to new instance 11 Apr 30 10:25:16.023 Record Route: 192.168.0.6(flag=0x20) 10.0.0.18(Label=299792) 192.168.0.4(flag=0x20) 10.0.0.22(Label=3) 10 Apr 30 10:25:16.023 Up 9 Apr 30 10:25:16.023 Automatic Autobw adjustment succeeded: BW changes from 300 bps to 1000 bps 8 Apr 30 10:25:15.946 Originate make-before-break call 7 Apr 30 10:25:15.946 CSPF: computation result accepted 10.0.0.18 10.0.0.22 6 Apr 30 10:16:42.891 Selected as active path 5 Apr 30 10:16:42.891 Record Route: 192.168.0.6(flag=0x20) 10.0.0.18(Label=299776) 192.168.0.4(flag=0x20) 10.0.0.22(Label=3) 4 Apr 30 10:16:42.890 Up 3 Apr 30 10:16:42.828 Originate Call 2 Apr 30 10:16:42.828 CSPF: computation result accepted 10.0.0.18 10.0.0.22 1 Apr 30 10:16:14.064 CSPF: could not determine self[2 times] Created: Tue Apr 30 10:15:16 2013 Total 1 displayed, Up 1, Down 0 Egress LSP: 0 sessions Total 0 displayed, Up 0, Down 0 Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0
显示 MPLS LSP 详细信息(已启用就地 LSP 带宽更新)
user@host >show mpls lsp detail Ingress LSP: 1 sessions 10.2.5.2 From: 192.168.255.1, State: Up, ActiveRoute: 0, LSPname: R1-to-R4-1 ActivePath: path-R2-R3 (primary) Link protection desired LSPtype: Static Configured, Penultimate hop popping LoadBalance: Random Follow destination IGP metric Encoding type: Packet, Switching type: Packet, GPID: IPv4 LSP Self-ping Status : Enabled *Primary path-R2-R3 State: Up Priorities: 7 0 Bandwidth: 100Mbps SmartOptimizeTimer: 180 Flap Count: 1 MBB Count: 4 In-place Update Count: 2
显示 MPLS LSP 广泛(已启用就地 LSP 带宽更新)
user@host >show mpls lsp extensive Ingress LSP: 1 sessions 10.2.5.2 From: 192.168.255.1, State: Up, ActiveRoute: 0, LSPname: R1-to-R4-1 ActivePath: path-R2-R3 (primary) Link protection desired LSPtype: Static Configured, Penultimate hop popping LoadBalance: Random Follow destination IGP metric Encoding type: Packet, Switching type: Packet, GPID: IPv4 LSP Self-ping Status : Enabled *Primary path-R2-R3 State: Up Priorities: 7 0 Bandwidth: 100Mbps SmartOptimizeTimer: 180 Flap Count: 1 MBB Count: 4 In-place Update Count: 2 48 Mar 3 16:43:40.438 In-place LSP Update successful 47 Mar 3 16:43:40.477 Record Route: 192.168.255.2(flag=0x21) 10.1.2.2(flag=1 Label=415072) 192.168.255.3(flag=0x21) 10.2.3.3(flag=1 Label=418192) 192.168.255.4(flag=0x20) 10.3.4.4(Label= 3) 46 Mar 3 16:43:39.617 CSPF: ERO retrace was successful 10.1.2.2 10.2.3.3 10.3.4.4 45 Mar 3 16:43:39.617 Originate In-place LSP Update call 44 Mar 3 16:42:28.263 LSP-ID: 1 deleted 43 Mar 3 16:42:28.263 Make-before-break: Cleaned up old instance: Hold dead expiry 42 Mar 3 16:41:07.416 Link-protection Up 41 Mar 3 16:41:06.169 Make-before-break: Switched to new instance 49 Mar 3 16:41:06.167 Self-ping ended successfully 39 Mar 3 16:41:05.839 Record Route: 192.168.255.2(flag=0x21) 10.1.2.2(flag=1 Label=415072) 192.168.255.3(flag=0x21) 10.2.3.3(flag=1 Label=418192) 192.168.255.4(flag=0x20) 10.3.4.4(Label=3) 38 Mar 3 16:41:05.449 Record Route: 10.2.2.2(flag=0x20) 10.1.2.2(Label=415072) 192.168.255.3(flag=0x21) 10.2.3.3(flag=1 Label=418192) 192.168.255.4(flag=0x20) 10.3.4.4(Label=3) 37 Mar 3 16:41:05.419 Up 36 Mar 3 16:41:05.419 Self-ping started 35 Mar 3 16:41:05.419 Self-ping enqueued 34 Mar 3 16:41:05.419 Record Route: 192.168.255.2(flag=0x20) 10.1.2.2(Label=415072) 10.3.3.3(flag=0x20) 10.2.3.3(Label=418192) 192.168.255.4(flag=0x20) 10.3.4.4(Label=3) 33 Mar 3 16:41:05.362 Originate make-before-break call + 32 Mar 3 16:41:05.362 LSP-ID: 2 created 31 Mar 3 16:41:05.362 CSPF: computation result accepted 10.1.2.2 10.2.3.3 10.3.4.4
显示 MPLS LSP 旁路广泛
user@host # show mpls lsp bypass extensive Ingress LSP: 1 sessions 10.2.2.2 From: 10.1.1.1, LSPstate: Up, ActiveRoute: 0 LSPname: Bypass->10.1.2.2 LSPtype: Static Configured Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 300032 Resv style: 1 SE, Label in: -, Label out: 300032 Time left: -, Since: Tue Dec 3 15:19:49 2013 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 1 receiver 55750 protocol 0 Type: Bypass LSP Number of data route tunnel through: 1 Number of RSVP session tunnel through: 0 PATH rcvfrom: localclient Adspec: sent MTU 1500 Path MTU: received 1500 PATH sentto: 10.1.5.2 (lt-1/2/0.15) 1221 pkts RESV rcvfrom: 10.1.5.2 (lt-1/2/0.15) 1221 pkts, Entropy label: No Explct route: 10.1.5.2 10.1.5.1 Record route: <self> 10.1.5.2 10.1.5.1 + 4 Dec 3 15:19:49 Record Route: 10.1.5.2 10.1.5.1 + 3 Dec 3 15:19:49 Up + 2 Dec 3 15:19:49 CSPF: computation result accepted + 1 Dec 3 15:19:47 Originate Call Total 1 displayed, Up 1, Down 0 Egress LSP: 0 sessions Total 0 displayed, Up 0, Down 0 Transit LSP: 0 sessions
显示 MPLS LSP P2MP
user@host> show mpls lsp p2mp Ingress LSP: 2 sessions P2MP name: p2mp-lsp1, P2MP branch count: 1 To From State Rt P ActivePath LSPname 10.255.245.51 10.255.245.50 Up 0 * path1 p2mp-branch-1 P2MP name: p2mp-lsp2, P2MP branch count: 1 To From State Rt P ActivePath LSPname 10.255.245.51 10.255.245.50 Up 0 * path1 p2mp-st-br1 Total 2 displayed, Up 2, Down 0 Egress LSP: 0 sessions Total 0 displayed, Up 0, Down 0 Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0
显示 MPLS LSP P2MP 详细信息
user@host> show mpls lsp p2mp detail Ingress LSP: 2 sessions P2MP name: p2mp-lsp1, P2MP branch count: 1 10.255.245.51 From: 10.255.245.50, State: Up, ActiveRoute: 0, LSPname: p2mp-branch-1 ActivePath: path1 (primary) P2MP name: p2mp-lsp1 LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary path1 State: Up Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 25) 192.168.208.17 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt): 192.168.208.17 P2MP name: p2mp-lsp2, P2MP branch count: 1 10.255.245.51 From: 10.255.245.50, State: Up, ActiveRoute: 0, LSPname: p2mp-st-br1 ActivePath: path1 (primary) P2MP name: p2mp-lsp2 LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary path1 State: Up Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 25) 192.168.208.17 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt): 192.168.208.17 Total 2 displayed, Up 2, Down 0
显示 MPLS LSP 详细信息计数活动路由
user@host> show mpls lsp detail count-active-routes Ingress LSP: 1 sessions 10.213.192.2 From: 10.156.162.128, State: Up, ActiveRoute: 1, LSPname: to-lahore ActivePath: (primary) LSPtype: Static Configured LoadBalance: Random Autobandwidth MinBW: 5Mbps MaxBW: 250Mbps AdjustTimer: 300 secs Max AvgBW util: 0bps, Bandwidth Adjustment in 102 second(s). Overflow limit: 0, Overflow sample count: 0 Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary State: Up Priorities: 7 0 Bandwidth: 5Mbps SmartOptimizeTimer: 180 Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 4) 10.252.0.177 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 10.252.0.177 Total 1 displayed, Up 1, Down 0 Egress LSP: 0 sessions Total 0 displayed, Up 0, Down 0 Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0
显示 MPLS LSP 统计信息 广泛
user@host> show mpls lsp statistics extensive Ingress LSP: 1 sessions 192.168.0.4 From: 192.168.0.5, State: Up, ActiveRoute: 0, LSPname: E-D Statistics: Packets 302, Bytes 28992 Aggregate statistics: Packets 302, Bytes 28992 ActivePath: (primary) LSPtype: Static Configured, Penultimate hop popping LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 *Primary State: Up Priorities: 7 0 SmartOptimizeTimer: 180 Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 30) 10.0.0.18 S 10.0.0.22 S Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt 20=Node-ID): 10.0.0.18 10.0.0.22 6 Oct 3 11:18:28.281 Selected as active path 5 Oct 3 11:18:28.281 Record Route: 10.0.0.18 10.0.0.22 4 Oct 3 11:18:28.280 Up 3 Oct 3 11:18:27.995 Originate Call 2 Oct 3 11:18:27.995 CSPF: computation result accepted 10.0.0.18 10.0.0.22 1 Oct 3 11:17:59.118 CSPF failed: no route toward 192.168.0.4[2 times] Created: Wed Oct 3 11:17:01 2012 Total 1 displayed, Up 1, Down 0
显示 MPLS LSP 广泛(条件指标)
user@host> show mpls lsp extensive Ingress LSP: 1 sessions 192.168.4.4 From: 192.168.3.3, State: Up, ActiveRoute: 0, LSPname: PE1_to_PE2, LSPid: 2 ActivePath: (primary) Link protection desired LSPtype: Static Configured, Penultimate hop popping LoadBalance: Random Follow destination IGP metric conditionally Encoding type: Packet, Switching type: Packet, GPID: IPv4 LSP Self-ping Status : Enabled *Primary State: Up Priorities: 7 0 SmartOptimizeTimer: 180 Flap Count: 0 MBB Count: 0 Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 2 ) 192.168.1.1 S 192.168.0.2 S
发布信息
在 Junos OS 7.4 版之前引入的命令。
defaults
Junos OS 8.5 版中添加了选项。
autobandwidth
Junos OS 11.4 版中添加了选项。
externally-controlled
Junos OS 12.3 版中添加了选项。
externally-provisioned
Junos OS 13.3 版中添加了选项。
instance instance-name
Junos OS 15.1 版中添加了选项。