Restrict Access To The Http Server According To The Ip Address Of The Client - Yamaha L2 Command Reference Manual

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

72 | Command Reference | Maintenance and operation functions
If this command is executed with the "no" syntax, the specified interface is deleted.
This command can be used to specify up to eight items, which are applied in the order that they are specified.
If this command is not set, access is permitted only from the management VLAN.
[Example]
Allow access to the HTTP server from the hosts connected to VLAN #1 and VLAN #2.
SWR2311P(config)#http-server interface vlan1
SWR2311P(config)#http-server interface vlan2

4.15.5 Restrict access to the HTTP server according to the IP address of the client

[Syntax]
http-server access action info
no http-server access [action info]
[Parameter]
action
info
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Restrict access to the HTTP server according to the client terminal's IPv4/IPv6 address.
Up to eight instances of this command can be set, and those that are specified earlier take priority for application.
If this command is set, all access that does not satisfy the registered conditions is denied.
However, if this command is not set, all access is permitted.
If this command is executed with the "no" syntax, the specified setting is deleted.
If this command is executed with the "no" syntax, and parameter is omitted, all settings are deleted.
[Note]
If http-server enable or http-server secure enable are not specified, this command does not function.
[Example]
Permit access to the HTTP server only from 192.168.1.1 and the 192.168.10.0/24 segment.
SWR2311P(config)#http-server access permit 192.168.1.1
SWR2311P(config)#http-server access permit 192.168.10.0/24
Deny access to the HTTP server only from 192.168.10.0/24 segment.
:
Specifies the action for the access condition
Setting value
deny
permit
:
Specifies the transmission-source IPv4 address or IPv6 address that is the condition.
Setting value
A.B.C.D
A.B.C.D/M
X:X::X:X
X:X::X:X/M
any
Description
"Deny" the condition
"Permit" the condition
Description
Specifies an IPv4 address (A.B.C.D)
Specifies an IPv4 address (A.B.C.D) with subnet
mask length (Mbit)
Specifies an IPv6 address (X:X::X:X)
Specifies an IPv6 address (X:X::X:X) with
subnet mask length (Mbit)
Applies to all IPv4 addresses and IPv6 addresses

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents