Command Reference, Cisco Ios Xe Everest 16.5.1A (Catalyst 3650 Switches - Cisco Catalyst 3650 series Command Reference Manual

Cisco ios xe everest 16.5.1a
Hide thumbs Also See for Catalyst 3650 series:
Table of Contents

Advertisement

ip http access-class
Usage Guidelines
If this command is configured, the specified access list is assigned to the HTTP server. Before the HTTP
server accepts a connection, it checks the access list. If the check fails, the HTTP server does not accept the
request for a connection.
Examples
The following example shows how to define an access list as 20 and assign it to the HTTP server:
Device(config)# ip access-list standard 20
Device(config-std-nacl)# permit 209.165.202.130 0.0.0.255
Device(config-std-nacl)# permit 209.165.201.1 0.0.255.255
Device(config-std-nacl)# permit 209.165.200.225 0.255.255.255
Device(config-std-nacl)# exit
Device(config)# ip http access-class 20
The following example shows how to define an IPv4 named access list as and assign it to the HTTP server.
Device(config)# ip access-list standard Internet_filter
Device(config-std-nacl)# permit 1.2.3.4
Device(config-std-nacl)# exit
Device(config)# ip http access-class ipv4 Internet_filter
Related Commands
Command
ip access-list
ip http server

Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)

770
Description
Assigns an ID to an access list and enters access list
configuration mode.
Enables the HTTP 1.1 server, including the Cisco
web browser user interface.

Advertisement

Table of Contents
loading

Table of Contents