Configuration Guide
Access
Control List Configuration
Command
Function
Ruijie (config-exp-nacl)# [
sn
]{
permit
|
deny
}[
prot
|
{[
ethernet-type
]
[
cos
cos
]}]
[
VID
vid
]
{
src
src-wildcard
|
host
src
|
interface
idx
}{
host
src-mac-addr
|
any
} {
dst
dst-wildcard
|
host
dst
|
any
} {
host
dst-mac-addr
|
any
}][
precedence
precedence
] [
tos
tos
] [
dscp
dscp
] [
fragment
]
[
time-range
tm-rng-name
]
Add table entries for ACL. For details about
commands, please see command reference.
Ruijie(config-exp-nacl)#
exit
Ruijie(config)#
interface
interface
Exit from the access control list mode and
select the interface to which the access list is
to be applied.
Ruijie(config-if)#
expert
access-group
{
id|name
}
{
in
|
out
}
Apply the access list to the specific interface
Note
Method 1 only configures the numerical value ACL. Method 2 can configure
names and the numerical value ACL. In a version supporting priority table
entries, method 2 can also specify the priorities of table entries (the [
sn
]
option in a command).
Showing Configuration of Extended Expert ACL
To monitor access lists, please run the following command the in privileged user mode:
Ruijie #
show
access-lists
[
id
|
name
]
You can view expert access lists
Expert Extended Access List Example
It is required to implement the following security functions by configuring expert access lists:
The 0013.2049.8272 host using vlan 20 cannot access the giga 0/1 port of a device.
It cannot access other ports.
Ruijie>
enable
Ruijie#
config terminal
Ruijie(config)#
expert access-list extended expert-list
Ruijie(config-exp-nacl)#
permit ip vid
20
any host
0013.2049.8272
any any
Ruijie(config-exp-nacl)#
deny any any any any
Ruijie(config-exp-nacl)#
exit
Ruijie(config)#
interface gigabitEthernet
0/1
Ruijie(config-if)# e
xpert access-group expert-list in
Ruijie(config-if)#
end
Ruijie#
show access-lists
expert access-list extended expert-list
petmit ip vid 20 any host 0013.2049.8272 any any
deny any any
Содержание 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 ...