Technical Documentation

show dynamic-tunnels database

Syntax

show dynamic-tunnels database <destination> <logical-system (all | logical-system-name) ><table routing-table-name>

Release Information

Command introduced before Junos OS Release 7.4.

Description

Display dynamic tunnel database information.

Options

none

Display dynamic tunnel database information for all destinations and routing tables.

destination

(Optional) Display database entries for the specified IP address (with optional destination prefix length) only.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

table routing-table-name

(Optional) Display database entries for the specified table only.

Required Privilege Level

view

List of Sample Output

show dynamic-tunnels database (Tunnel Is Up)
show dynamic-tunnels database (No Tunnel PIC)
show dynamic-tunnels database (Tunnel Is Expiring)
show dynamic-tunnels database (Destination Specified)

Output Fields

Table 1 lists the output fields for the show dynamic-tunnels database command. Output fields are listed in the approximate order in which they appear.

Table 1: show dynamic-tunnels database Output Fields

Field Name

Field Description

Table

Name of the routing table (for example, inet.0).

Destination-network

Destination IP address and subnet.

Tunnel to

Destination IP address and prefix of the tunnel.

State

State of the tunnel: Up, Up (expires in nn:nn:nnseconds), or Dn (down).

Reference count

Number of routes across the dynamic tunnel that are currently being resolved.

Next-hop type

Type of tunnel: GRE.

Source address

Source IP address of the tunnel.

Next-hop

IP address of the destination interface.

State

State of the destination interface: Up, Dn, or Dn (no tunnel pic).

Sample Output

show dynamic-tunnels database (Tunnel Is Up)

user@host> show dynamic-tunnels database
Table: inet.3

Destination-network: 10.255.120.94/32
Tunnel to: 10.255.120.94/32 State: Up
  Reference count: 2
  Next-hop type: gre
    Source address: 10.255.120.92
    Next hop: gr-4/3/0.32769
    State: Up

show dynamic-tunnels database (No Tunnel PIC)

user@host> show dynamic-tunnels database
Table: inet.3

Destination-network: 10.255.120.94/32
Tunnel to: 10.255.120.94/32 State: Dn
  Reference count: 2
  Next-hop type: gre
    Source address: 10.255.120.92
    State: Dn (no tunnel pic)

show dynamic-tunnels database (Tunnel Is Expiring)

user@host> show dynamic-tunnels database
Table: inet.3

Destination-network: 10.255.120.94/32
Tunnel to: 10.255.120.94/32 State: Up (expires in 00:14:56 seconds)
  Reference count: 0
  Next-hop type: gre
    Source address: 10.255.120.92
    Next hop: gr-4/3/0.32769
    State: Up

show dynamic-tunnels database (Destination Specified)

user@host> show dynamic-tunnels database 10.255.120.94
Table: inet.3

Destination-network: 10.255.120.94/32
Tunnel to: 10.255.120.94/32 State: Up
  Reference count: 2
  Next-hop type: gre
    Source address: 10.255.120.92
    Next hop: gr-4/3/0.32769
    State: Up

Published: 2010-07-13

Help
|
My Account
|
Log Out