![]() |
![]() |
![]() |
![]() |
Configuring a Cisco IOS Router > Cisco IOS startup configuration
|
Before Websense software can filter Internet requests, the Cisco IOS router must be configured to use Filtering Service as a URL filter.
3. Enter enable and the enable password to put the router into enabled mode.
4. Enter configure terminal to activate configure mode.
5. Enter the following command to identify the Filtering Service machine that will filter HTTP requests:ip urlfilter server vendor websense <ip-address>
[port <port-number>] [timeout <seconds>]
[retransmit <number>]
The IP address of the machine running Websense Filtering Service. The Filtering Service port (also referred to as the integration communication port), default 15868. The amount of time the Cisco IOS router waits for a response from Filtering Service. How many times the Cisco IOS router retransmits an HTTP request when there is no response from Filtering Service.To define an additional Filtering Service instance as a backup, repeat the command using the IP address of the second Filtering Service machine.The configuration settings you create in the following steps are always applied to the primary server.Only one Filtering Service instance is used at a time—referred to as the primary server; all other instances are referred to as secondary. If the primary server becomes unavailable, one of the secondary servers is designated primary. The system goes to the beginning of the list of configured servers (i.e. Filtering Service instances) and attempts to activate the first one. If the first server is not available, the system attempts to activate the next one. This continues until an available server is found or the end of the list of configured servers is reached. If all servers are down, the router goes into allow mode.
6. Enable the logging of system messages to Filtering Service by entering the following command:This setting is disabled by default. When logging is enabled, the Cisco IOS router sends a log request immediately after the URL lookup request.
7. Tell the Cisco IOS router how to filter URL requests by entering the following commands, in sequence:interface <type> <slot/port>For this sequence to function properly, you must create an inspection rule called fw_url and apply that rule to the inbound interface of the router.To improve performance, Cisco suggests disabling the Java applet scanner. Java applet scanning increases CPU processing load. To disable the Java applet scanner, use the following commands, in sequence:
a. Enter the exit command twice to leave the configure mode.
b. Enter write memory.These commands store the configuration settings in the Cisco IOS router's startup configuration so they are not lost if the router is shut down or loses power.
Displays all available inspection information. show ip urlfilter config For example, ip inspect ? displays the complete syntax for the inspect command, and explains each argument.
10. To discontinue filtering or to change a Filtering Service, enter the following command to remove a server configured in Step 5.
![]() |
![]() |
![]() |
![]() |
Configuring a Cisco IOS Router > Cisco IOS startup configuration
|