显示 mpls lsp
List of Syntax
语法语法(EX 系列交换机)
语法
语法(EX 系列交换机)
Release Information
命令在 Junos OS 版本7.4 之前引入。
defaultsJunos OS 版本8.5 中添加的选项。
命令在 EX 系列交换机 Junos OS 版本9.5 中引入。
autobandwidthJunos OS 版本11.4 中添加的选项。
externally-controlledJunos OS 版本12.3 中添加的选项。
externally-provisionedJunos OS 版本13.3 中添加的选项。
命令在 Junos OS Release 13.2 X51-D15 for QFX 系列中引入。
instance instance-nameJunos OS 版本15.1 中添加的选项。
说明
显示有关配置的主动动态 MPLS (MPLS)标签交换路径(Lsp)的信息。
选项
在广泛的命令输出中,重复的后端到后消息会记录为聚合消息。为这些聚合消息包含了额外的时间戳,在此情况下,如果聚合消息为五或更少,则记录每条消息的时间戳增量,如果聚合消息大于五,则记录第一个和最后一个时间戳。
例如:
所有时间戳
9204 Jun 29 13:23:45.405 54.239.43.110: Explicit Route: bad strict route [3 times - 13:21:00, 13:22:01, 13:23:10]
时间戳增量
9204 Jun 29 13:23:45.405 54.239.43.110: Explicit Route: bad strict route [3 times - 13:21:00, +1:01, +2:10]
第一个和最后一个时间戳
9204 Jun 29 13:23:45.405 54.239.43.110: Explicit Route: bad strict route [6 times - 13:21:00, 13:23:10]
有关更多详细信息,请参阅显示 mpls lsp 抽象-计算。
bypass—绕过 Lsp 会话。
egress—在此路由设备上终止的会话。
ingress—源自此路由设备的会话。
pop-and-forward—源自 RSVP 和前 LSP 隧道的会话。
transit—通过此路由设备传递的会话。
如果为主静态 LSP 配置了绕过 LSP,则在恢复受保护 LSP 链路时,将显示流经受保护 LSP 的数据包的累积统计信息,并绕过 LSP。(QFX 系列交换机上不支持旁路 Lsp。)
与bypass option (show mpls lsp bypass statistics)一起使用时,仅显示通过绕过 LSP 的信息流的统计信息。
所需的权限级别
观看
示例输出列表
显示 mpls lsp 默认值显示 mpls lsp 说明
显示 mpls lsp 详细信息
显示 mpls lsp 详细信息(当出口防护处于待机模式时)
显示 mpls lsp 详细信息(当本地维修中的出口防护生效时)
广泛显示 mpls lsp
展示广泛的 mpls lsp
全面显示 mpls lsp (启用自动带宽调整)
显示 mpls lsp 绕过大量
显示 mpls lsp p2mp
显示 mpls lsp p2mp 详细信息
显示 mpls lsp 详细信息计数-活动-路由
全面显示 mpls lsp 统计数据
输出字段
表 1介绍了该show mpls lsp命令的输出字段。输出字段按其出现的大致顺序列出。
表 1: 显示 mpls lsp 输出字段
字段名称 | 字段说明 | 输出级别 |
---|---|---|
Ingress LSP | 有关入口路由设备上的 Lsp 的信息。每个会话都有一行输出。 | 所有级别 |
Egress LSP | 有关该 Lsp 在出口路由设备上的信息。MPLS 通过查询 RSVP 学习此信息,其中包含所有传输和出口会话信息。每个会话都有一行输出。 | 所有级别 |
Transit LSP | 传输路由设备上的 Lsp 数量和这些路径的状态。MPLS 通过查询 RSVP 学习此信息,其中包含所有传输和出口会话信息。 | 所有级别 |
P2MP name | 点对多点 LSP 的名称。动态生成的用于 VPLS 泛滥的 P2MP Lsp 使用动态生成的 P2MP LSP 名称。名称使用该格式identifier:vpls:router-id:routing-instance-name。identifier由 Junos OS 自动生成。 | 所有级别 |
P2MP branch count | 点到多点 LSP 正在传输到的目标 Lsp 数量。 | 所有级别 |
P | 此标题下*的星号()表示 LSP 是主路径。 | 所有级别 |
address | (detail and extensive)LSP 的目标(出口路由设备)。 | detail extensive |
To | 会话的目标(出口路由设备)。 | brief |
From | 会话的源(入口路由设备)。 | brief detail |
State | 此 RSVP 会话处理的 LSP 的状态:UpDn (down)或Restart。 | brief detail |
Active Route | 在转发表中安装的活动路由数(前缀)。对于入口 Lsp,转发表是主 IPv4 表(inet.0)。对于传输和出口 RSVP 会话,转发表是主 MPLS 表(mpls.0)。 | detail extensive |
Rt | 在路由表中安装的活动路由数(前缀)。对于入口 RSVP 会话,路由表是主 IPv4 表(inet.0)。对于传输和出口 RSVP 会话,路由表是主 MPLS 表(MPLS. 0)。 | brief |
P | 方法. 此列下面*的星号()表示 LSP 是主路径。 | brief |
ActivePath | (入口 LSP)活动路径的名称:Primary或Secondary。 | detail extensive |
LSPname | LSP 的名称。 | brief detail |
Statistics | 显示数据包数量和通过 LSP 传输的字节数。只要优化 LSP 路径(例如,在自动带宽分配期间),这些计数器就会重置为零。 | extensive |
Aggregate statistics | 显示数据包数量和通过 LSP 传输的字节数。即使对 LSP 路径进行了优化,这些计数器也将继续循环。您可以使用clear mpls lsp statistics命令将这些计数器重置为零。 | extensive |
Packets | 显示通过 LSP 传输的数据包数量。 | brief extensive |
Bytes | 显示通过 LSP 传输的字节数。 | brief extensive |
DiffServeInfo | LSP 类型:组播 LSP (multiclass diffServ-TE LSP)或差异服务感知流量工程 LSP (diffServ-TE LSP)。 | detail |
LSPtype | LSP 类型:
同时还指示 LSP 是Penultimate hop popping lsp 还是Ultimate hop popping lsp。 | detail extensive |
Bypass | (绕过 LSP)绕过 LSP 的目标地址(出口路由设备)。 | 所有级别 |
LSPpath | 指示 RSVP 会话是主要还是辅助 LSP 路径。LSPpath可以是, primary也secondary可以显示在入口、出口和中转路由设备上。 | detail |
Bidir | (GMPLS)LSP 允许数据在 GMPLS 设备之间双向传输。 | 所有级别 |
Bidirectional | (GMPLS)LSP 允许数据以两种方式在 GMPLS 设备之间传输。 | 所有级别 |
FastReroute desired | 已由入口路由设备请求快速重新路由。 | detail |
Link protection desired | 链路保护已由入口路由设备请求。 | detail |
需要节点/链路保护 | 链路保护已由入口路由设备请求。 | detail |
LSP Control Status | (入口 LSP)LSP 控制模式:
如果不连接到 PCE 或 PCE 将 Lsp 委派回 PCC,则由 PCE 控制的 LSP 将从其默认外部控制模式切换到本地控制。 | extensive |
External Path CSPF status | (PCE 控制 Lsp)每路径属性的 PCE 控制 LSP 的状态:
| extensive |
Externally Computed ERO | (PCE 控制 Lsp)路由对象不为 null 或空时,外部计算的显式路由。一系列跳跃,每个都有一个地址,后跟跳跃指示器。跳跃指示器的值可以为严格(S)或松动(L)。 | extensive |
EXTCTRL_LSP | (PCE 控制 Lsp)显示路径历史记录,包括从外部控制器接收的带宽、优先级和指标值。 | extensive |
传动计数器 | 计算 LSP 向下或向上提升的次数。 | 方面 |
LoadBalance | (入口 LSP)CSPF 负载平衡规则,配置为在等成本路径: Most-fill、 Least-fill、或Random之间选择 LSP 的路径。 | detail extensive |
Signal type | GMPLS Lsp 的信号类型。信号类型确定 LSP 的峰值数据速率:DS0、 DS3、 STS-1STM-1、或STM-4。 | 所有级别 |
Encoding type | LSP 编码类型:Packet、 Ethernet、 PDH、 SDH/SONET、 Lambda或Fiber。 | 所有级别 |
Switching type | 对 LSP 所需的链路的交换类型:Fiber、 Lamda、 PacketTDM、或PSC-1。 | 所有级别 |
GPID | 通用有效负载标识符(LSP 所携带的有效载荷的标识符):HDLC、 Ethernet、 IPv4PPP、或Unknown。 | 所有级别 |
Protection | 为 LSP 所需的配置保护功能:Extra、 Enhanced、 none、 One plus one、 One to one或Shared。 | 所有级别 |
Upstream label in | (双向 Lsp)用于此 LSP 的反向方向流量的传入标签。 | 所有级别 |
Upstream label out | (双向 Lsp)此 LSP 的传出标签,用于反向方向流量。 | 所有级别 |
Suggested label received | (双向 Lsp)标记上游接口建议在发送的 Resv 消息中使用。 | 所有级别 |
Suggested label sent | (双向 Lsp)标记下游节点建议在返回的 Resv 消息中使用。 | 所有级别 |
Autobandwidth | (入口 LSP)LSP 正在执行 autobandwidth 分配。 | detail extensive |
Mbb 计数器 | 计算 LSP 产生 MBB 的次数。 | 方面 |
MinBW | (入口 LSP)配置的 LSP 最小值(bps)。 | detail extensive |
MaxBW | (入口 LSP)配置的 LSP 最大值(bps)。 | detail extensive |
Dynamic MinBW | (入口 LSP)显示 LSP 的当前动态指定的最小带宽分配,以 bps 为依据。 | detail extensive |
Dynamic MinBW | (入口 LSP)显示 LSP 的当前动态指定的最小带宽分配,以 bps 为依据。 | detail extensive |
AdjustTimer | (入口 LSP)为该adjust-timer语句配置的值,表示在进行带宽调整之前所允许的总时间量(以秒为单位)。 | detail extensive |
Adjustment Threshold | (入口 LSP)为该adjust-threshold语句配置的值。指定 LSP 自动带宽调整的敏感性如何改变带宽利用率。 | detail extensive |
Time for Next Adjustment | (入口 LSP)在下一次自动带宽调整示例之前等待的时间(秒)。 | detail extensive |
Time of Last Adjustment | (入口 LSP)自上次自动带宽调整以来的日期和时间。 | detail extensive |
MaxAvgBW util | (入口 LSP)实际最大带宽利用率的当前值(以 bps 为平均值)。 | detail extensive |
Overflow limit | (入口 LSP)配置的阈值溢出限制值。 | detail extensive |
Overflow sample count | (入口 LSP)溢出样本计数的当前值。 | detail extensive |
Bandwidth Adjustment in nnn second(s) | (入口 LSP)带宽调整计时器的当前值,指示在进行带宽调整之前剩余的时间量(以秒为单位)。 | detail extensive |
Underflow limit | (入口 LSP)配置的阈值下溢限制值。 | detail extensive |
Underflow sample count | (入口 LSP)下溢样本计数的当前值。 | detail extensive |
Underflow Max AvgBW | (入口 LSP)当前记录的下溢样本之间的最高采样带宽。如果由于出现下溢导致调整,这就是信号带宽。 | detail extensive |
Active path indicator | (入口 LSP)指示路径是否*处于活动状态的值。没有*指示路径未处于活动状态。在以下示例中, “long”为活动路径。 *Primary long Standby short | detail extensive |
Primary | (入口 LSP)主路径的名称。 | detail extensive |
Secondary | (入口 LSP)辅助路径的名称。 | detail extensive |
Standby | (入口 LSP)处于待机模式的路径的名称。 | detail extensive |
State | (入口 LSP)路径状态:Up或Dn (down)。 | detail extensive |
COS | (入口 LSP)服务类价值。 | detail extensive |
Bandwidth per class | (入口 LSP)每个 MPLS 类类型的 LSP 路径的有效带宽(bps)。 | detail extensive |
Priorities | (入口 LSP)配置的设置优先级值和保留优先级 respecitively (首先显示设置优先级),其中0是最高优先级,7是最低优先级。如果尚未显式配置这些值,则显示默认值(7表示设置优先级,使用0表示保留优先级)。 | detail extensive |
OptimizeTimer | (入口 LSP)优化计时器的配置值,表示路径 reoptimization 之前允许的总时间量(以秒为单位)。 | detail extensive |
SmartOptimizeTimer | (入口 LSP)智能优化计时器的配置值,表示路径 reoptimization 之前允许的总时间量(以秒为单位)。 | detail extensive |
Reoptimization in xxx seconds | (入口 LSP)优化计时器的当前值,指示在该路径将 reoptimized 之前的剩余时间量(以秒为单位)。 | detail extensive |
Computed ERO (S [L] denotes strict [loose] hops) | (入口 LSP)计算出的显式路由。一系列跳跃,每个都有一个地址,后跟跳跃指示器。跳跃指示器的值可以为严格(S)或松动(L)。 | detail extensive |
CSPF metric | (入口 LSP)此路径的受限最短路径优先指标。 | detail extensive |
Received RRO | (入口 LSP)收到记录路由。一系列跳跃,每个都有一个地址后跟一个标志。(在大多数情况下,接收的记录路由与计算出的显式路由相同。如果Received RRO不同于Computed ERO,网络中存在拓扑更改,路由正在接受绕道。)以下标志用于识别下游节点的保护功能和状态:
| detail extensive |
Labels | 弹出和转发 LSP 隧道的标签:
| extensive |
Index number | (入口 LSP)每个 LSP 路径事件的日志条目编号。数字按时间顺序降序排列,最多显示50个索引编号。 | extensive |
Date | (入口 LSP)LSP 事件的日期。 | extensive |
Time | (入口 LSP)LSP 事件的时间。 | extensive |
Event | (入口 LSP)LSP 事件说明。 | extensive |
Created | (入口 LSP)创建 LSP 的日期和时间。 | extensive |
Resv style | 旁路RSVP 保留样式。此字段由两部分组成。第一个是活动保留的数量。第二个是保留样式,可以是FF (固定过滤器)、 SE (共享显式)或WF (通配符过滤器)。 | brief detail extensive |
Labelin | 此 LSP 的传入标签。 | brief detail |
Labelout | 此 LSP 的传出标签。 | brief detail |
LSPname | LSP 的名称。 | brief detail |
Time left | 保留期内剩余的秒数。 | detail |
Since | 启动 RSVP 会话的日期和时间。 | detail |
Tspec | 发件人信息流说明,描述发件人流量参数。 | detail |
Port number | 此 RSVP 会话中使用的协议 ID 和发件人或接收器端口。 | detail |
PATH rcvfrom | 前一跳跃(上游)路由设备或客户端的地址、用于到达此路由器的邻居以及从上游相邻节点接收的数据包数量。 | detail |
PATH sentto | 下一跳跃(下游)路由设备或客户端的地址、用于到达此邻居的接口以及发送到下游路由设备的数据包数量。 | detail |
RESV rcvfrom | 前一跳跃(上游)路由设备或客户端的地址、用于到达此路由设备的邻居以及从上游邻居接收的数据包数量。此字段中与PATH rcvfrom字段中的输出一致,表示 RSVP 协商已完成。 | detail |
Record route | 从记录路由对象中获取的会话的记录路由。 | detail |
Pop-and-forward | 弹出和转发 LSP 通道的属性。 | extensive |
ETLD In | LSP 跳跃可能从其上游跳接收的传输标签数量。它在传输和出口设备上被记录为有效的传输标签深度(ETLD)。 | extensive |
ETLD Out | 传输标签数量 LSP 跳跃可能会发送至其下游跳跃。在传输和入口设备上将其记录为 ETLD。 | extensive |
Delegation hop | 指定是否选择传输跳跃作为委派标签:
| extensive |
Soft preempt | 在一条或上一次软抢占发生时,发生在该路径上的软 preemptions 数量。仅计算成功的软 preemptions (实际导致使用新路径的)。 | detail |
Soft preemption pending | 路径正处于软抢占过程中。一旦入口路由器计算了新路径,就会卸下此显示屏。 | detail |
MPLS-TE LSP Defaults | 工程 Lsp MPLS 流量的默认设置:
| defaults |
标记下的bandwidth标记的 XML 标记名称已更新为maximum-average-bandwidth。auto-bandwidth 使用show mpls lsp extensive| display xml管道选项发出命令时,您可以看到新标记。如果您有使用bandwidth标记的任何脚本,请确保更新为。 maximum-average-bandwidth
示例输出
显示 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) 1.2.3.2 S 2.3.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: 1.2.3.2 2.3.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: 1.2.3.2 2.3.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: 1.2.3.2 2.3.3.2 4 May 17 16:55:06.557 Record Route: 1.2.3.2 2.3.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, 1.2.3.2 2.3.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 50.0.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) 1.1.1.2 S 4.4.4.1 S 5.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) 80.1.1.2(Label=18 P) 50.1.1.2(Label=17 P) 70.1.1.2(Label=16 P) 92.1.1.1(Label=16 D) 93.1.1.2(Label=16 P) 99.1.1.1(Label=16 P) 99.2.1.1(Label=16 P) 99.3.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: 1.1.1.2 4.4.4.1 5.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 1.1.1.2 4.4.4.1 5.5.5.2 8 Aug 3 12:54:33.922 2.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: 2.2.2.2 3.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 2.2.2.2 3.3.3.2 1 Aug 3 12:34:34.921 CSPF failed: no route toward 50.0.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 绕过大量
user@host # show mpls lsp bypass extensive
Ingress LSP: 1 sessions 2.2.2.2 From: 1.1.1.1, LSPstate: Up, ActiveRoute: 0 LSPname: Bypass->1.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: 1.1.5.2 (lt-1/2/0.15) 1221 pkts RESV rcvfrom: 1.1.5.2 (lt-1/2/0.15) 1221 pkts, Entropy label: No Explct route: 1.1.5.2 1.2.5.1 Record route: <self> 1.1.5.2 1.2.5.1 + 4 Dec 3 15:19:49 Record Route: 1.1.5.2 1.2.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 213.119.192.2 From: 156.154.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