Configuring Tunnel-Server Ports and Tunnel-Service Interfaces

This section describes the tasks associated with configuring a tunnel-server port and tunnel-service interface.

Note: Dedicated and shared tunnel servers do not support QoS profiles on interfaces stacked on the server-port.

Identifying the Physical Location of the Tunnel-Server Port

To display the physical location of the dedicated and shared tunnel-server ports on your module, issue the show tunnel-server config command.

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/2/0 shared 8000 0 yes 90

Provisioning the Maximum Number of Interfaces on a Tunnel-Server Port

To provision the maximum number of interfaces on a tunnel-server port:

  1. From Global Configuration mode, specify the location of the dedicated tunnel-server port that you want to configure.

    On a dedicated tunnel-server port:

    host1(config)#tunnel-server 8/0/0 host1(config-tunnel-server)#

    On a shared tunnel-server port:

    host1(config)#tunnel-server 2/2/0 host1(config-tunnel-server)#

    This command accesses Tunnel Server Configuration mode.

    Note: When you issue the tunnel-server command, ensure that you specify the same interface specifier that was displayed for this tunnel-server port in the show tunnel-server config command in the output described in Identifying the Physical Location of the Tunnel-Server Port. If you specify an incorrect location for the tunnel-server port, the router displays an error message and rejects the command as invalid.

  2. Provision the maximum number of tunnel-service interfaces to be used on the dedicated tunnel-server port.
    host1(config-tunnel-server)#max-interfaces all-available

Note: When you enable shared tunnel server on the ES2 10G ADV LM, it reloads with a warning message and then the image specific to shared tunnel server appears.

Reserving Bandwidth on Shared Tunnel-Server Ports

To reserve a certain percentage of the total bandwidth for forwarding on a shared tunnel-server port:

Note: When you direct the router to reserve a percentage of the total bandwidth for forwarding, you may not always obtain the exact percentage of bandwidth specified. Because of the overhead involved with identifying and assigning incoming traffic to the appropriate resources, you may obtain a value less than the configured value. For instance, if you reserve 50 percent of the total bandwidth for forwarding, you will not obtain an actual bandwidth of 5 Gbps for forwarding and 5 Gbps for tunnel processing.

  1. From Global Configuration mode, specify the location of the shared tunnel-server port that you want to configure.
    host1(config)#tunnel-server 2/2/0 host1(config-tunnel-server)#

    This command accesses Tunnel Server Configuration mode.

    Note: When you issue the tunnel-server command, ensure that you specify the same interface specifier that was displayed for this tunnel-server port in the show tunnel-server config command in the output described in Identifying the Physical Location of the Tunnel-Server Port. If you specify an incorrect location for the tunnel-server port, the router displays an error message and rejects the command as invalid.

  2. Reserve the percentage of bandwidth to be used for forwarding on the shared tunnel-server port.
    host1(config-tunnel-server)#reserve-bandwidth 80

Note: This command is supported only on the ES2 10G ADV LM when configured in shared server mode. It is not supported on other line modules that support tunnel configuration.

Verifying the Tunnel-Server Interface Configuration

To verify that you properly provisioned the number of tunnel-server interfaces or reserved a percentage of the total bandwidth on the tunnel-server port:

  1. From Tunnel Server Configuration Mode, return to Privileged Exec mode.
    host1(config-tunnel-server)#exit host1(config)#exit host1#
  2. Issue the show tunnel-server config command.
    host1#show tunnel-server config
    
     
    
                             Server Ports
                              ------------
                                             Provisioned
      Port      Type     MaximumInterfaces   Interfaces    HwPresent	Bandwidth-Reserved 
    --------   -------   -----------------   -----------   ---------	----------------- 
    Port 2/2/0   shared       8000                5000          yes				80
    Port 8/0/0   dedicated    16000          all-available 				 yes     N/A
    Port 12/0/0  shared       8000                0					   		   yes      	N/A
    

    For more information about using the show tunnel-server command, see Monitoring Tunnel-Service Interfaces.

Unprovisioning Tunnel-Service Interfaces

To unprovision the tunnel-service interfaces on a tunnel-server port, use any of the following commands, all of which have the same effect:

Note: When you issue these commands on the ES2 10G ADV LM, the line module reloads with a warning message and the original forwarding image appears.

max-interfaces

reserve-bandwidth

tunnel-server