Configuration Guide
Access
Control List Configuration
Command
Function
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)#
ip access-group
{
id |
name
} {
in
|
out
}
Apply the access list to the specific interface
The following example explains how to configure a TCP Flag
Enable permission and password
Ruijie>
enable
Ruijie#
Enter the global configuration mode.
Ruijie#
configure terminal
Enter the ACL configuration mode.
Ruijie(config)#
ip access-list extended
test-tcp-flag
Add an ACL entry
Ruijie(config-ext-nacl)# permit tcp any any match-all rst
Add a deny entry
Ruijie(config-ext-nacl)# deny tcp any any match-all fin
Adding/delete entries repeatedly.
end
Ruijie(config-ext-nacl)#
end
Show
Ruijie#
show access-list
test-tcp-flag
ip access-lists extended test-tcp-flag
10 permit tcp any any match-all rst
20 deny tcp any any match-all fin
Configuring ACL Entries by Priority
To embody the ACE priority, there are standards for each ACL to normalize the ACE arranging
method under the ACL by using the numbered start point
– increment mode, as detailed below:
ACE is sorted in the ascend order in the chain table by the sequential numbers.
Starting from the start point number, if no number is specified, it increases by step on the basis of
the previous ACE number.
To specify number, the ACE is inserted in sorting mode, and the increment ensures new ACE can
be inserted between two adjacent ACEs.
The ACL specifies the start point number and the number increment.
Summary of Contents for RG-S2900G-E Series
Page 1: ...RG S2900G E Series Switch RGOS Configuration Guide Release 10 4 2b12 p1 ...
Page 91: ...Configuration Guide Configuring PoE Configuration ...
Page 133: ...Configuration Guide EEE Configuration ...
Page 319: ...Configuration Guide QinQ Configuration ...
Page 408: ......
Page 409: ...IP Routing Configuration 1 Static Route Configuration ...
Page 412: ......
Page 413: ...Multicast Configuration 1 IGMP Snooping Configuration 2 MLD Snooping Configuration ...
Page 757: ......
Page 758: ...ACL QoS Configuration 1 Access Control List Configuration 2 QoS Configuration ...
Page 801: ...Reliability Configuration 1 RLDP Configuration 2 TPP Configuration 3 SEM Configuration ...
Page 901: ...Configuration Guide ERSPAN Configuration ...
Page 902: ...Web based Configuration 1 Web based Configuration ...