Configuration Guide
Access
Control List Configuration
Switch B configuration:
Ruijie(config)#
interface GigabitEthernet
0/1
Ruijie(config-if)#
ip address
192.168.12.1 255.255.255.0
Ruijie(config-if)#
exit
Ruijie(config)#
interface GigabitEthernet
0/2
Ruijie(config-if)#
ip address
2.2.2.2 255.255.255.0
Ruijie(config-if)#
ip access-group
101
in
Ruijie(config-if)#
ip access-group
101
out
According to requirements, configure an extended access list numbered 101
access-list 101 permit tcp 192.168.12.0 0.0.0.255 any eq telnet time-range check
Ruijie(config)#
access-list
101
deny icmp
192.168.12.0 0.0.0.255
any
Ruijie(config)#
access-list
101
deny ip
2.2.2.0 0.0.0.255
any
Ruijie(config)#
access-list
101
deny ip any any
Configure the time range
Ruijie(config)#
time-range check
Ruijie(config-time-range)#
periodic weekdays
8:30
to
17:30
Note
For access list 101. the lat rule sentence ”access-list 101 deny ip any
any” is not needed, for the ending part of the access list implicates a
“deny any” rule sentence.
Switch A configuration:
Ruijie(config)#
hostname Ruijie
Ruijie(config)#
interface GigabitEthernet
0/1
Ruijie(config-if)#
ip address
192.168.202.1 255.255.255.0
Ruijie(config)#
interface GigabitEthernet
0/2
Ruijie(config-if)#
ip address
2.2.2.1 255.255.255.0
Configuring Extended MAC Address-based Access Control List
To configure MAC address-based access control lists on a device, you must specify unique names or
numbers for the access lists of a protocol to uniquely identifying each access list inside the protocol.
The following table lists the range of the numbers that can be used to specify MAC access lists.
Protocol
Number Range
Extended MAC Access List
700-799
Configuration Guide of Extended MAC Address-based Access Control List
When you create an expert access list, defined rules will be applied to all packet messages on a
switch. The switch decides whether to forward or block a packet messages by judging whether the
packet matches a rule.
The typical rules defined in MAC access lists are the following:
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 ...