# Monitoring Tunnel-Service Interfaces

#### Purpose

Displays status and configuration information for dedicated and shared tunnel-server ports and tunnel-service interfaces configured on the router. Unconfigured tunnel-server ports are not displayed in the output.

You can display information for a specific tunnel-server port or for all tunnel-server ports. Use the optional config keyword to display information about available and provisioned tunnel-service interfaces on each port, and to indicate whether modules that support the use of dedicated or shared tunnel-server ports are currently installed in the router.

| Note: The E120 and E320 Broadband Services routers output for monitor and show commands is identical to output from other E Series routers, except that the E120 and E320 router output also includes information about the adapter identifier in the interface specifier (slot/adapter/port).

#### Action

To display information about a dedicated tunnel-server port on an SM:

    host1#show tunnel-server

                      Card      Oper     Active      Max
       Port:Appl      Type      State  Interfaces Interfaces Fill
    --------------- ---------  ------- ---------- ---------- ----
           Port 8/0 dedicated  present          1       8000 0.0%
       ipsec-tunnel               down          0          0 0.0%
    ipsec-transport               down          0          0 0.0%
               l2tp                 up          0       8000 0.0%
          gre/dvmrp                 up          1       4000 0.0%
        Appl Totals
       ipsec-tunnel                             0          0 0.0%
    ipsec-transport                             0          0 0.0%
               l2tp                             0       8000 0.0%
          gre/dvmrp                             1       4000 0.0%
              total                             2      12000 0.0%

To display information about a dedicated tunnel-server port on an ISM:

    host1#show tunnel-server

                      Card      Oper     Active      Max
       Port:Appl      Type      State  Interfaces Interfaces Fill
    --------------- ---------  ------- ----------  ---------- ----
           Port 2/0 dedicated  present        1        8000 0.0%
       ipsec-tunnel                 up        0           0 0.0%
    ipsec-transport               down        0           0 0.0%
               l2tp               down        0        8000 0.0%
          gre/dvmrp                 up        1        4000 0.0%
        Appl Totals
       ipsec-tunnel                           0           0 0.0%
    ipsec-transport                           0           0 0.0%
               l2tp                           0       16000 0.0%
          gre/dvmrp                           2        8000 0.0%
              total                           2       16000 0.0%

To display information about a specific shared tunnel-server port:

    host1#show tunnel-server 2/2/0

                      Card      Oper     Active      Max
       Port:Appl      Type      State  Interfaces Interfaces Fill
    --------------- ---------  ------- ---------- ---------- ----
           Port 2/2   shared   present          0       4000 0.0%
       ipsec-tunnel               down          0          0 0.0%
    ipsec-transport               down          0          0 0.0%
               l2tp                 up          0       4000 0.0%
          gre/dvmrp                 up          0       4000 0.0%

To display configuration information about dedicated and shared tunnel-server ports

    host1#show tunnel-server config

                              Server Ports
                              ------------
                                             Provisioned
      Port      Type     MaximumInterfaces   Interfaces    HwPresent     Bandwidth-Reserved
    --------   -------   -----------------   -----------   ---------     -----------------
    Port 2/2/0   shared       8000                0             yes		   	N/A
    Port 8/0/0   dedicated    16000               8000          yes		   	N/A
    Port 12/0/0  shared       8000                0             yes		   	90

#### Meaning

Table 29 lists the show tunnel-server command output fields:

Table 29: show tunnel-server Output Fields

Field Name | Field Description
--- | ---
Port:Appl | Identifier in slot/port or slot/adapter/port format for the module or tunneling application: slot—Number of the slot in the chassis where the module resides adapter—Number of the bay in which the I/O adapter (IOA) resides. This identifier applies only to dedicated and shared tunnel-server ports configured on the E120 and E320 routers. Dedicated tunnel-server ports are always adapter 0; shared tunnel-server ports are always adapter 2. port—Number of the tunnel-server port on the module; for dedicated tunnel-server ports, this is a virtual port number that is always 0; for shared tunnel-server ports, this is a virtual port number dynamically assigned by the router
Card Type or Active Type | Type of port: dedicated or shared
Oper State or Max State | Physical state of the port or application: up—Port or application is available down—Port or application is unavailable present—Module associated with this port is installed not present—Module associated with this port has been removed pending—Router has not yet detected all previously configured modules during a reboot or initial installation of the module
Active Interfaces or Interfaces | Number of tunnel-service interfaces currently configured on this port
Max Interfaces | Total number of tunnel-service interfaces available on this module
Fill | Percentage of available interfaces used by a server port, an application on a server port, an application on all server ports, and all server ports
Appl Totals | Statistics for each application
Server Ports | Displays configuration information about dedicated and shared tunnel-server ports on the router; this display format appears only when the config keyword is specified: Port—Identifier in slot/port format (ERX7xx models, ERX14xx models, and ERX310 routers) or slot/adapter/port format (E120 and E320 routers) for the module on which the tunnel-server port resides Type—Type of tunnel-server port: dedicated or shared MaximumInterfaces—Total number of tunnel-service interfaces available on this module Provisioned Interfaces—Total number of tunnel-service interfaces currently provisioned on this port HwPresent—Indicates whether a module that supports the specified tunnel-server port is currently installed in the router: yes or no

#### Related Documentation

- Configuring Tunnel-Server Ports and Tunnel-Service Interfaces
- Unprovisioning Tunnel-Service Interfaces
- show tunnel-server