This section describes the tasks associated with configuring a tunnel-server port and tunnel-service interface.
To display the physical location of the dedicated tunnel-server port on your module, issue the show tunnel-server config command.
host1#show tunnel-server config
Server Ports
------------
Provisioned
Port Type MaximumInterfaces Interfaces HwPresent
-------- ------- ----------------- ----------- ---------
Port 2/2 shared 8000 0 yes
Port 8/0 dedicated 16000 8000 yes
To provision the maximum number of interfaces on a tunnel-server port:
On a dedicated tunnel-server port:
- host1(config)#tunnel-server 8/0
- host1(config-tunnel-server)#
On a shared tunnel-server port:
- host1(config)#tunnel-server 2/2
- host1(config-tunnel-server)#
This command accesses Tunnel Server Configuration mode.
- host1(config-tunnel-server)#max-interfaces
all-available
![]() |
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. |
To verify that you properly provisioned the number of tunnel-server interfaces on the tunnel-server port:
- host1(config-tunnel-server)#exit
- host1(config)#exit
- host1#
host1#show tunnel-server config
Server Ports
------------
Provisioned
Port Type MaximumInterfaces Interfaces HwPresent
-------- ------- ----------------- ----------- ---------
Port 2/2 shared 8000 5000 yes
Port 8/0 dedicated 16000 all-available yes
For more information about using the show tunnel-server command, see Monitoring 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:
- host1(config-tunnel-server)#no max-interfaces
- host1(config-tunnel-server)#max-interfaces
0
- host1(config)#no tunnel-server 2/2
max-interfaces
- host1(config-tunnel-server)#max-interfaces
5000
- host1(config-tunnel-server)#max-interfaces
all-available
tunnel-server
- host1(config)#tunnel-server 12/2