show ted database
Syntax
show ted database <brief | detail | extensive> <instance instance-name> <logical-system (all | logical-system-name)> <system-name> <topology-id topology bgp-ls-epe>
Syntax (EX Series Switches)
show ted database <brief | detail | extensive> <system-name>
Description
Display the entries in the Multiprotocol Label Switching (MPLS) traffic engineering database.
Options
| none | Display standard information about all entries in the traffic engineering database. |
| brief | detail | extensive | (Optional) Display the specified level of output. |
| instance instance-name | (Optional) Display routing instance information for
the specified instance. If |
| logical-system (all | logical-system-name) | (Optional) Perform this operation on all logical systems or on a particular logical system. |
| system-name | (Optional) Display traffic engineering database information for a particular system. |
topology-id topology |
Display the topology information. By default, traffic engineering topology information is displayed. |
Required Privilege Level
view
Output Fields
Table 1 describes the output fields for the show ted database command. Output fields are listed in the approximate order in which
they appear.
|
Field Name |
Field Description |
Level of Output |
|---|---|---|
|
TED database |
Number of nodes and pseudonodes participating in IS-IS and OSPF domain routing. |
All levels |
|
ID |
Hostname and address of the node that the link is coming from. An address of
|
|
|
NodeID |
Hostname and address of the node that the link is coming from. An address of
|
|
|
Type |
Type of node. It can be either |
All levels |
|
Age(s) |
How long since the node was last refreshed, in seconds. |
All levels |
|
LnkIn |
Number of nodes pointing toward this node. |
All levels |
|
LnkOut |
Number of nodes to which this node points. |
All levels |
|
Protocol |
Protocol that reported the node information:
|
All levels |
|
To |
Address on the far end of a link. |
|
|
Local |
Address of the local interface being used to reach the remote node. |
|
|
Remote |
Address of the interface on the remote node. |
|
|
Local interface index |
The interface indexes enable Junos OS to support unnumbered extensions for IS-IS, as described in RFC 4205. |
|
|
Remote interface index |
The interface indexes enable Junos OS to support unnumbered extensions for IS-IS, as described in RFC 4205. |
|
|
Metric |
Configured traffic engineering metric. |
|
|
IGP metric |
Configured interior gateway protocol metric. |
|
|
Static BW |
Total interface bandwidth in bps. |
|
|
Reservable bandwidth |
Subscription factor for the interface, which is the percentage of the link
bandwidth that can be used for the RSVP reservation process. You configure this by
including the |
|
|
Flood reflector client, cluster-id <number> |
Displays flood-reflector related information on the TE links and the cluster ID that the you have connected at the client side. |
|
|
Flood reflector, cluster-id <number> |
Displays flood-reflector related information on the TE links and the cluster ID that you have connected in the flood reflector. |
|
|
|
(Must include |
|
|
|
Displays unidirectional link delays. | extensive |
|
|
Displays minimum unidirectional link delays. | extensive |
|
|
Displays maximum unidirectional link delays. | extensive |
|
|
Displays unidirectional link delay variation. | extensive |
|
Diffserv-TE BW Model |
Bandwidth constraint model used by the LSPs. |
|
|
|
(Must include the |
|
|
|
Total interface bandwidth used by an MPLS traffic class, in bps. |
|
|
Interface Switching Capability Descriptor (n) |
Information about the interface switching capability descriptor, which is a
subtype length value (TLV) of the link TLV.
|
|
|
|
Displays the IPv4 and IPv6 adjacency segment identifier information. |
|
|
|
Displays the IPv4 and IPv6 LAN adjacency segment identifier information. |
|
|
|
Displays the IPv4 and IPv6 Prefix SID information. |
|
Sample Output
- show ted database brief
- show ted database detail
- show ted database extensive
- show ted database extensive topology-type l3-unicast
- show ted database extension
- show ted database topology-id igp
- show ted database topology-id bgp-ls-epe extensive
- show ted database (IPv6)
show ted database brief
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
show ted database detail
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
show ted database extensive
The output of the show ted database extensive command on the reflector
client.
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
The output of the show ted database extensive command on the flood
reflector.
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
The enhanced output of the show ted database extensive command to
include IPv6 SR-MPLS attributes. The following sample output shows the traffic-engineering
database information specific to one node.
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
show ted database extensive topology-type l3-unicast
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
show ted database extension
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
………….
…………..
show ted database topology-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
show ted database topology-id bgp-ls-epe extensive
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)
show ted database (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
Release Information
Command introduced before Junos OS Release 7.4.
instance instance-name option
added in Junos OS Release 15.1.
topology-id topology option
added in Junos OS Release 17.4R1 for MX Series and PTX Series.
Support for ipv6 introduced on Junos OS Release 20.4R1.
Flood reflector client, cluster-id <number> and
Flood reflector, cluster-id <number> fields are
introduced in the output field of the show ted database extensive command
in Junos OS Release 21.2R1.
Flood reflector client, cluster-id <number> and
Flood reflector, cluster-id <number> fields are
introduced in the output field of the show ted database extensive command
in Junos OS Evolved Release 22.1R1.