Configuration Guide
Access
Control List Configuration
Command
Function
Ruijie#
configure terminal
Enter the global configuration mode.
Ruijie(config)#
time-range
time-range-name
Identify a time-range by using a meaningful
display character string as its name
Ruijie(config-time-range)#
absolute
[
start time
date
]
end time
date
Set the absolute time range (optional).
For details, see the configuration guide of
time-range.
Ruijie(config-time-range)#
periodic
day-of-the-week time
to
[
day-of-the-week
]
time
Set the periodic time range (optional).
For details, see the configuration guide of
time-range.
Ruijie#
show time-range
Verify the configurations.
Ruijie#
copy running-config startup-config
Save the configuration.
Ruijie(config)#
ip
access-list extended
101
Enter the ACL configuration mode.
Ruijie(config-ext-nacl)#
permit ip any any
time-range
time-range-name
Configure the ACE of a time-range.
Note
The length of the name should be 1-32 characters, which should not include
any space.
You can set one absolute time range at most. The application based on
time-ranges will be valid only in this time range.
You can set one or more periodic intervals. If you have already set a running
time range for the
time-range
, the application takes effect at periodic
intervals in that time range.
The following example shows how to deny HTTP data streams during the working hours in a week by
using the ACLs as example:
Ruijie(config)#
time-range
no-http
Ruijie(config-time-range)#
periodic weekdays
8:00 to 18:00
Ruijie(config)#
end
Ruijie(config)#
ip access-list extended
limit-udp
Ruijie(config-ext-nacl)#
deny tcp any any eq
www time-range no-http
Ruijie(config-ext-nacl)#
exit
Ruijie(config)#
interface gigabitEthernet
0/1
Ruijie(config-if)#
ip access-group
no-http
in
Ruijie(config)#
end
Example of displaying time range:
Ruijie#
show time-range
time-range entry: no-http(inactive)
periodic Weekdays 8:00 to 18:00
time-range entry: no-udp
periodic Tuesday 15:30 to 16:30
Содержание RG-S2900G-E Series
Страница 1: ...RG S2900G E Series Switch RGOS Configuration Guide Release 10 4 2b12 p1 ...
Страница 91: ...Configuration Guide Configuring PoE Configuration ...
Страница 133: ...Configuration Guide EEE Configuration ...
Страница 319: ...Configuration Guide QinQ Configuration ...
Страница 408: ......
Страница 409: ...IP Routing Configuration 1 Static Route Configuration ...
Страница 412: ......
Страница 413: ...Multicast Configuration 1 IGMP Snooping Configuration 2 MLD Snooping Configuration ...
Страница 621: ...Configuration Guide CPU Protection Configuration udp helper 180 4 dhcp client 180 4 lacp 180 4 ...
Страница 757: ......
Страница 758: ...ACL QoS Configuration 1 Access Control List Configuration 2 QoS Configuration ...
Страница 801: ...Reliability Configuration 1 RLDP Configuration 2 TPP Configuration 3 SEM Configuration ...
Страница 901: ...Configuration Guide ERSPAN Configuration ...
Страница 902: ...Web based Configuration 1 Web based Configuration ...