Cisco Cisco IOS Software Release 12.2(4)XR
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
Cisco IOS WAP Gateway with WTLS Class 2 Support
Configuration Tasks
10
Cisco IOS WAP Gateway with WTLS Class 2 Support
Setting the Maximum HTTP Header Length
The WAP gateway builds HTTP headers using comma-separated values to request information from web
content servers. When a web content server cannot handle a long line of text, use the wap http
maximum header-length command to force line wrapping of HTTP headers.
content servers. When a web content server cannot handle a long line of text, use the wap http
maximum header-length command to force line wrapping of HTTP headers.
To specify the maximum HTTP header length, use the following command beginning in global
configuration mode:
configuration mode:
Configuring Support for UP Browsers
The Cisco IOS WAP Gateway with WTLS Class 2 Support feature contains commands to provide
compatibility with Unwired Planet (UP) v4.0 browsers. When a UP browser on the wireless device starts,
it requests a string of characters (known as “device:home”) instead of a URL. Subsequent page requests
specify another string of characters (known as “device:base”). Using the wap up-browser device-home
and the wap up-browser device-base commands, the WAP gateway translates the requests into
previously configured URLs.
compatibility with Unwired Planet (UP) v4.0 browsers. When a UP browser on the wireless device starts,
it requests a string of characters (known as “device:home”) instead of a URL. Subsequent page requests
specify another string of characters (known as “device:base”). Using the wap up-browser device-home
and the wap up-browser device-base commands, the WAP gateway translates the requests into
previously configured URLs.
The wap up-browser subno-suffix command allows a gateway tag, identifying the WAP gateway, to be
supplied to a header field request from a UP browser.
supplied to a header field request from a UP browser.
Router(config)# wap wtls timeout connection seconds
Specifies an interval (in seconds) after which an
inactive WTLS connection will be closed by the
gateway.
inactive WTLS connection will be closed by the
gateway.
Router(config)# wap wtls timeout handshake seconds
Specifies an interval (in seconds) that the gateway
allows for the WTLS handshake process to
complete.
allows for the WTLS handshake process to
complete.
Router(config)# wap wtls timeout key seconds
Specifies an interval (in seconds) during which the
gateway will retain a WTLS session key when the
session is unused.
gateway will retain a WTLS session key when the
session is unused.
Router(config)# wap wtls timeout session seconds
Specifies an interval (in seconds) after which an
inactive WTLS session will be closed by the
gateway.
inactive WTLS session will be closed by the
gateway.
Command
Purpose
Command
Purpose
Step 1
Router(config)# wap http maximum header-length
max-characters
Specifies how the gateway splits individual HTTP
headers into multiple lines.
headers into multiple lines.
The max-characters argument defines the
maximum number of characters allowed before
the gateway splits a line of HTTP headers at the
end of the next comma-separated value. The
default is set to 100 characters.
maximum number of characters allowed before
the gateway splits a line of HTTP headers at the
end of the next comma-separated value. The
default is set to 100 characters.