show ted database
语法
show ted database <brief | detail | extensive> <instance instance-name> <logical-system (all | logical-system-name)> <system-name> <topology-id topology bgp-ls-epe>
语法(EX 系列交换机)
show ted database <brief | detail | extensive> <system-name>
描述
显示MPLS (MPLS) 流量工程数据库中的条目。
选项
none | 显示有关流量工程数据库中所有条目的标准信息。 |
brief | detail | extensive | (选答)显示指定的输出级别。 |
instance instance-name | (选答)显示指定实例的路由实例信息。如果 |
logical-system (all | logical-system-name) | (选答)在所有逻辑系统或特定逻辑系统上执行此操作。 |
system-name | (选答)显示特定系统的流量工程数据库信息。 |
topology-id topology |
显示拓扑信息。默认情况下,将显示流量工程拓扑信息。 |
所需权限级别
视图
输出字段
表 1 介绍了命令的 show ted database
输出字段。输出字段按其出现的大致顺序列出。
字段名称 |
字段说明 |
输出级别 |
---|---|---|
TED数据库 |
参与 IS-IS 和 OSPF 域路由的节点和伪节点数。 |
所有级别 |
编号 |
链路来源的节点的主机名和地址。地址 表示 |
|
节点 ID |
链路来源的节点的主机名和地址。地址 表示 |
|
类型 |
节点类型。它可以是 |
所有级别 |
年龄 |
自上次刷新节点以来的多长时间(以秒为单位)。 |
所有级别 |
LnkIn |
指向此节点的节点数。 |
所有级别 |
LnkOut(英语:LnkOut) |
此节点指向的节点数。 |
所有级别 |
协议 |
报告节点信息的协议:
|
所有级别 |
自 |
链路远端的地址。 |
|
当地 |
用于访问远程节点的本地接口的地址。 |
|
远程 |
远程节点上的接口地址。 |
|
本地接口索引 |
接口索引使 Junos OS 能够支持 IS-IS 的无编号扩展,如 RFC 4205 中所述。 |
|
远程接口索引 |
接口索引使 Junos OS 能够支持 IS-IS 的无编号扩展,如 RFC 4205 中所述。 |
|
度量 |
配置流量工程指标。 |
|
IGP 度量 |
配置的内部网关协议指标。 |
|
静态带宽 |
总接口带宽,以 bps 为单位。 |
|
可预留带宽 |
接口的订阅因素,即可用于 RSVP 预留流程的链路带宽的百分比。可以通过在配置 RSVP 时包含 |
|
泛光反射器客户端,群集 ID <number> |
显示您在客户端连接的 TE 链路和群集 ID 上的泛洪反射器相关信息。 |
|
泛洪反射器,群集 ID <number> |
显示 TE 链路上的泛洪反射器相关信息以及您在泛洪反射器中连接的群集 ID。 |
|
|
(配置 LSP 时必须包含 |
|
|
显示单向链路延迟。 | extensive |
|
显示最小的单向链路延迟。 | extensive |
|
显示最大单向链路延迟。 | extensive |
|
显示单向链路延迟变化。 | extensive |
Diffserv-TE BW 模型 |
LSP 使用的带宽约束模型。 |
|
|
(配置 LSP 时必须包含 |
|
|
MPLS 流量类使用的总接口带宽(以 bps 为单位)。 |
|
接换功能描述符 (n) |
有关接换功能描述符的信息,该描述符是链路 TLV 的子类型长度值 (TLV)。
|
|
|
显示 IPv4 和 IPv6 邻接分段标识符信息。 |
|
|
显示 IPv4 和 IPv6 LAN 邻接分段标识符信息。 |
|
|
显示 IPv4 和 IPv6 前缀 SID 信息。 |
|
示例输出
- 显示 TED 数据库简介
- 显示 TED 数据库详细信息
- 显示 TED 数据库广泛
- 显示 TED 数据库 扩展拓扑类型 L3-单播
- 显示 TED 数据库扩展
- 显示 TED 数据库拓扑-ID IGP
- 显示 TED 数据库拓扑-ID BGP-LS-EPE 广泛
- 显示 ted 数据库 (IPv6)
显示 TED 数据库简介
user@host> show ted database brief TED database: 12 ISIS nodes 0 INET nodes ID Type Age(s) LnkIn LnkOut Protocol Router-A.00 --- 3178 2 0 Router-B.00 --- 3152 2 0 Router-B.02 Net 802 0 2 IS-IS(2) To: Router-A.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 To: Router-B.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 ID Type Age(s) LnkIn LnkOut Protocol Router-C.00 --- 3126 2 0 Router-C.02 Net 38 0 2 IS-IS(2) To: Router-B.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 To: Router-C.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 ID Type Age(s) LnkIn LnkOut Protocol Router-D.00 --- 3144 2 0 Router-D.02 Net 723 0 2 IS-IS(2) To: Router-F.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 To: Router-D.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 ID Type Age(s) LnkIn LnkOut Protocol Router-D.03 Net 607 0 2 IS-IS(2) To: Router-D.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 To: Router-C.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 ID Type Age(s) LnkIn LnkOut Protocol Router-E.00 --- 3178 2 0 Router-E.02 Net 131 0 2 IS-IS(2) To: Router-A.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 To: Router-E.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 ID Type Age(s) LnkIn LnkOut Protocol Router-F.00 --- 3153 2 0 Router-F.02 Net 769 0 2 IS-IS(2) To: Router-E.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 To: Router-F.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0
显示 TED 数据库详细信息
TED database: 12 ISIS nodes 0 INET nodes ID Type Age(s) LnkIn LnkOut Protocol Router-A.00 --- 2913 2 0 Router-B.00 --- 2887 2 0 Router-B.02 Net 537 0 2 IS-IS(2) To: Router-A.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 To: Router-B.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 ID Type Age(s) LnkIn LnkOut Protocol Router-C.00 --- 2861 2 0 Router-C.02 Net 597 0 2 IS-IS(2) To: Router-B.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 To: Router-C.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 ID Type Age(s) LnkIn LnkOut Protocol Router-D.00 --- 2879 2 0 Router-D.02 Net 458 0 2 IS-IS(2) To: Router-F.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 To: Router-D.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 ID Type Age(s) LnkIn LnkOut Protocol Router-D.03 Net 342 0 2 IS-IS(2) To: Router-D.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 To: Router-C.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 ID Type Age(s) LnkIn LnkOut Protocol Router-E.00 --- 2913 2 0 Router-E.02 Net 640 0 2 IS-IS(2) To: Router-A.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 To: Router-E.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 ID Type Age(s) LnkIn LnkOut Protocol Router-F.00 --- 2888 2 0 Router-F.02 Net 504 0 2 IS-IS(2) To: Router-E.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0 To: Router-F.00, Local: 0.0.0.0, Remote: 0.0.0.0 Local interface index: 0, Remote interface index: 0
显示 TED 数据库广泛
反射器客户端上命令的 show ted database extensive
输出。
user@host> show ted database extensive R21_re0 TED database: 32 ISIS nodes 12 INET nodes NodeID: R21_re0.00(21.21.21.21) Protocol: IS-IS(2) 21.21.21.21, 128.205.175.165 To: R28_re0.00(28.28.28.28), Local: 10.21.28.21, Remote: 10.21.28.28 Local interface index: 71, Remote interface index: 71 Color: 0 <none> Flood reflector client, cluster-id 28 Metric: 1000 IGP metric: 1000 Static BW: 18.4467Ebps Reservable BW: 18.4467Ebps Available BW [priority] bps: [0] 18.4467Ebps [1] 18.4467Ebps [2] 18.4467Ebps [3] 18.4467Ebps [4] 18.4467Ebps [5] 18.4467Ebps [6] 18.4467Ebps [7] 18.4467Ebps Interface Switching Capability Descriptor(1): Switching type: Packet Encoding type: Packet Maximum LSP BW [priority] bps: [0] 18.4467Ebps [1] 18.4467Ebps [2] 18.4467Ebps [3] 18.4467Ebps [4] 18.4467Ebps [5] 18.4467Ebps [6] 18.4467Ebps [7] 18.4467Ebps
泛洪反射器上命令的输出 show ted database extensive
。
user@host> show ted database extensive R28_re0 TED database: 32 ISIS nodes 12 INET nodes NodeID: R28_re0.00(28.28.28.28) Type: Rtr, Age: 278 secs, LinkIn: 8, LinkOut: 8 Protocol: IS-IS(2) 28.28.28.28, 128.205.174.178 To: R21_re0.00(21.21.21.21), Local: 10.21.28.28, Remote: 10.21.28.21 Local interface index: 71, Remote interface index: 71 Color: 0 <none> Flood reflector, cluster-id 28 Metric: 1000 IGP metric: 1000 Static BW: 18.4467Ebps Reservable BW: 18.4467Ebps Available BW [priority] bps: [0] 18.4467Ebps [1] 18.4467Ebps [2] 18.4467Ebps [3] 18.4467Ebps [4] 18.4467Ebps [5] 18.4467Ebps [6] 18.4467Ebps [7] 18.4467Ebps Unidirectional link delay: Minimum unidirectional link delay: Maximum unidirectional link delay: Unidirectional link delay variation: Interface Switching Capability Descriptor(1): Switching type: Packet Encoding type: Packet Maximum LSP BW [priority] bps: [0] 18.4467Ebps [1] 18.4467Ebps [2] 18.4467Ebps [3] 18.4467Ebps [4] 18.4467Ebps [5] 18.4467Ebps [6] 18.4467Ebps [7] 18.4467Ebps
命令的 show ted database extensive
增强输出,包括 IPv6 SR-MPLS 属性。以下示例输出显示了特定于某个节点的流量工程数据库信息。
user@host> show ted database VMX_R2_re.00 extensive TED database: 3 ISIS nodes 2 INET nodes 2 INET6 nodes NodeID: VMX_R2_re.00(2.2.2.2)(2::2) Type: Rtr, Age: 216 secs, LinkIn: 1, LinkOut: 1 Protocol: IS-IS(2) 2.2.2.2, 128.204.49.202 To: VMX_R2_re.02, Local: 23.0.0.1, Remote: 0.0.0.0 IPv6 Local: 23::1, IPv6 Remote: :: Local interface index: 333, Remote interface index: 0 Color: 0 <none> Metric: 10 IGP metric: 10 Static BW: 1000Mbps Reservable BW: 1000Mbps Available BW [priority] bps: [0] 1000Mbps [1] 1000Mbps [2] 1000Mbps [3] 1000Mbps [4] 1000Mbps [5] 1000Mbps [6] 1000Mbps [7] 1000Mbps Interface Switching Capability Descriptor(1): Switching type: Packet Encoding type: Packet Maximum LSP BW [priority] bps: [0] 1000Mbps [1] 1000Mbps [2] 1000Mbps [3] 1000Mbps [4] 1000Mbps [5] 1000Mbps [6] 1000Mbps [7] 1000Mbps LAN Adjacency-SID: IPV6, SID: 299824, Flags: 0xb0, Weight: 0, Neighbor: VMX_R3_re IPV4, SID: 299808, Flags: 0x30, Weight: 0, Neighbor: VMX_R3_re Prefixes: 192.12.2.2/32 IGP Flags: 0x00 Prefix-SID: SID: 2002, Flags: 0x40, Algo: 0 128.204.49.202/32 IGP Flags: 0x00 192::2/128 IGP Flags: 0x00 Prefix-SID: SID: 3002, Flags: 0x40, Algo: 0 23::/64 Metric: 10, IGP Flags: 0x00 abcd::128:204:49:202/128 IGP Flags: 0x00 SPRING-Capabilities: SRGB block [Start: 800000, Range: 4096, Flags: 0xc0] SPRING-Algorithms: Algo: 0 Algo: 1
显示 TED 数据库 扩展拓扑类型 L3-单播
user@host> show ted database extensive topology-type l3-unicast SPRING Flex-Algorithms: Flex-Algo: 128 Metric: 2, Calc: 1, Prio: 10 Flags: 0X80000000, Inc-Any: 0x00000002, Inc-All: 0x00000002, Exclude: 0x00000004
显示 TED 数据库扩展
user@host> show ted database extension TED database: 3 ISIS nodes 3 INET nodes 0 INET6 nodes NodeID: R0.00(100.100.100.0) Type: Rtr, Age: 15 secs, LinkIn: 0, LinkOut: 0 Protocol: IS-IS(2) 100.100.100.0, 128.221.133.20 Prefixes: 100.100.100.0/32 Flags: 0x00 Prefix-SID: SID: 100, Flags: 0x40, Algo: 0 100.100.100.1/32 Metric: 10, Flags: 0x00 Prefix-SID: SID: 10, Flags: 0xe0, Algo: 0 SID: 780, Flags: 0xe0, Algo: 129 Flex-Algo metric: Algo: 129, Metric: 10 122.2.2.2/32 Flags: 0x00 Prefix-SID: SID: 707, Flags: 0x40, Algo: 129 128.221.133.20/32 Flags: 0x00 SRV6 Locators: 4000::/64, Metric: 0, Flags: 0x0, Algorithm: 129 4000::7:8:9, 0x00, USP SPRING-Capabilities: SRGB block [Start: 400000, Range: 5000, Flags: 0xc0] SPRING-Algorithms: Algo: 0 Algo: 1 Algo: 129 SPRING Flex-Algorithms: Flex-Algo: 129 Metric: 0, Calc: 0, Prio: 129 Flags: 0x02, Inc-Any: 0x00040000, Exclude: 0x00008000, Inc-All: 0x00004000 Flex-Algo: 130 Metric: 0, Calc: 0, Prio: 130 Flags: 0x02, Inc-Any: 0x00040000, Exclude: 0x00008000, Inc-All: 0x00004000 …………. …………..
显示 TED 数据库拓扑-ID IGP
user@host> show ted database topology-id igp TED database: 3 ISIS nodes 3 INET nodes ID Type Age(s) LnkIn LnkOut Protocol Router A.00(128.220.1.2) Rtr 193 2 2 IS-IS(2) To: Router B.00(128.220.18.198), Local: 2.3.0.2, Remote: 2.3.0.1 Local interface index: 334, Remote interface index: 336 To: Router B.00(128.220.18.198), Local: 2.3.1.2, Remote: 2.3.1.1 Local interface index: 333, Remote interface index: 335 ID Type Age(s) LnkIn LnkOut Protocol Router C.00(128.220.1.52) Rtr 193 2 2 IS-IS(2) To: Router B.00(128.220.18.198), Local: 1.2.0.1, Remote: 1.2.0.2 Local interface index: 335, Remote interface index: 334 To: Router B.00(128.220.18.198), Local: 1.2.1.1, Remote: 1.2.1.2 Local interface index: 334, Remote interface index: 333 ID Type Age(s) LnkIn LnkOut Protocol Router B.00(128.220.18.198) Rtr 193 4 4 IS-IS(2) To: Router A.00(128.220.1.2), Local: 2.3.0.1, Remote: 2.3.0.2 Local interface index: 336, Remote interface index: 334 To: Router A.00(128.220.1.2), Local: 2.3.1.1, Remote: 2.3.1.2 Local interface index: 335, Remote interface index: 333 To: Router C.00(128.220.1.52), Local: 1.2.0.2, Remote: 1.2.0.1 Local interface index: 334, Remote interface index: 335 To: Router C.00(128.220.1.52), Local: 1.2.1.2, Remote: 1.2.1.1 Local interface index: 333, Remote interface index: 334
显示 TED 数据库拓扑-ID BGP-LS-EPE 广泛
user@host> show ted database topology-id bgp-ls-epe extensive TED database: 0 ISIS nodes 3 INET nodes NodeID: 4.4.4.4 << DUT router-id Type: Rtr, Age: 270 secs, LinkIn: 0, LinkOut: 3 Protocol: BGP-LS-EPE(0) << Protocol To: 5.5.5.5, Local: 50.1.1.1, Remote: 50.1.1.2 << Peer router-id and local and remote interface used for BGP session. Local interface index: 0, Remote interface index: 0 Interface Switching Capability Descriptor(1): Switching type: Packet Encoding type: Packet Maximum LSP BW [priority] bps: [0] 0bps [1] 0bps [2] 0bps [3] 0bps [4] 0bps [5] 0bps [6] 0bps [7] 0bps BGP-Peer-SID: << BGP-Peer-SID Information SID: 1000007, Type: Node-SID Flags: 0x30, Weight: 0 << BGP-Node-SID SID: 1000002, Type: Set-SID Flags: 0x30, Weight: 0 << BGP-Set-SID To: 7.7.7.7, Local: 4.4.4.4, Remote: 7.7.7.7 Local interface index: 0, Remote interface index: 0 Interface Switching Capability Descriptor(1): Switching type: Packet Encoding type: Packet Maximum LSP BW [priority] bps: [0] 0bps [1] 0bps [2] 0bps [3] 0bps [4] 0bps [5] 0bps [6] 0bps [7] 0bps BGP-Peer-SID: SID: 1000006, Type: Node-SID Flags: 0x30, Weight: 0 << BGP-Node-SID To: 7.7.7.7, Local: 4.4.4.4, Remote: 7.7.7.7 Local interface index: 339, Remote interface index: 0 Interface Switching Capability Descriptor(1): Switching type: Packet Encoding type: Packet Maximum LSP BW [priority] bps: [0] 0bps [1] 0bps [2] 0bps [3] 0bps [4] 0bps [5] 0bps [6] 0bps [7] 0bps BGP-Peer-SID: SID: 1000005, Type: Adj-SID Flags: 0x30, Weight: 0 << BGP-ADj-SID NodeID: 5.5.5.5 Type: Rtr, Age: 270 secs, LinkIn: 1, LinkOut: 0 Protocol: BGP-LS-EPE(0) NodeID: 7.7.7.7 Type: Rtr, Age: 270 secs, LinkIn: 2, LinkOut: 0 Protocol: BGP-LS-EPE(0)
显示 ted 数据库 (IPv6)
user@host> show ted database TED database: 2 ISIS nodes 0 INET nodes 2 INET6 nodes ID Type Age(s) LnkIn LnkOut Protocol R0_re.00(::1:1:1:1) Rtr 1 1 1 IS-IS(1) To: R1_re.00(::2:2:2:2), Local: 1000:1::1:1, Remote: 1000:1::1:2 Local interface index: 334, Remote interface index: 335 ID Type Age(s) LnkIn LnkOut Protocol R1_re.00(::2:2:2:2) Rtr 1 1 3 IS-IS(1) To: R0_re.00(::1:1:1:1), Local: 1000:1::1:2, Remote: 1000:1::1:1 Local interface index: 335, Remote interface index: 334
发布信息
在 Junos OS 7.4 版之前引入的命令。
instance instance-name
在 Junos OS 15.1 版中添加的选项。
topology-id topology
在适用于 MX 系列和 PTX 系列的 Junos OS 17.4R1 版中添加了选项。
在 Junos OS 20.4R1 版中引入的对 IPv6 的支持。
Flood reflector client, cluster-id <number>
和 Flood reflector, cluster-id <number>
字段在 Junos OS 21.2R1 版中命令的 show ted database extensive
输出字段中引入。
Flood reflector client, cluster-id <number>
和 Flood reflector, cluster-id <number>
字段在 Junos OS 演化版 22.1R1 中命令的 show ted database extensive
输出字段中引入。