S2600E CLI Reference Guide Chapter 1 ACL Configuration Commands
This example shows how to use the standard IP ACL. The
purpose is to permit the host with the IP address
192.168.4.12 and apply the ACL to interface
gigabitethernet 1/1. The configuration procedure is as
below:
Ruijie(config)#
ip access-list standard
std-acl
Ruijie(config-std-nacl)#
permit host
192.168.4.12
Ruijie(config-std-nacl)#
show access-lists
ip access-list standard
std-acl
10 permit host 192.168.4.12
Ruijie(config-std-nacl)#
exit
Ruijie(config)# interface gigabitethernet 1/1
Ruijie(config-if)#
ip access-group
std-acl in
This example shows how to use the extended IPV6 ACL.
The purpose is to permit the host with the IP address
192.168.4.12 and apply the ACL to interface
gigabitethernet 1/1. The configuration procedure is as
below:
Ruijie(config)#
ipv6 access-list extended
v6-acl
Ruijie(config-ipv6-nacl)#11
permit ipv6
host
::192.168.4.12
any
Ruijie(config-ipv6-nacl)#
show access-lists
ipv6 access-list extended
v6-acl
11 permit ipv6 host ::192.168.4.12 any
Ruijie(config-ipv6-nacl)#
exit
Ruijie(config)#interface gigabitethernet
1/1
Ruijie(config-if)#
ipv6 traffic-filter
v6-acl in
Command
Description
show access-lists
Show all the ACLs.
ipv6 traffic-filter
Apply the extended ipv6 ACL on the
interface.
ip access-group
Apply the IP ACL on the interface.
match
access-group
Apply the extended MAC ACL on
the interface.
ip access-list
Define the IP ACL.
mac access-list
Define the extended MAC ACL.
expert access-list
Define the extended expert ACL.
ipv6 access-list
Define the extended IPv6 ACL.
Related
commands
deny
Deny the access.
Summary of Contents for RG-S2600E Series
Page 1: ...CLI Reference Guide RG S2600E Series Switch RGOS 10 4 3 p1 1...
Page 5: ...Basic Configuration...
Page 83: ...Ethernet Switching...
Page 240: ...IPApplication...
Page 263: ...S2600E P CLI Reference Guide Chapter 1 IP Address Configuration Commands Platform description...
Page 317: ...S2600E P CLI Reference Guide Chapter 5 DHCP Relay Configuration Commands Platform description...
Page 335: ...Network Management and Monitoring...
Page 408: ...S2600E CLI Reference Guide Chapter 5 SPAN Configuration Commands...
Page 415: ...S2600E CLI Reference Guide Chapter 6 RSPAN Configuration Commands Platform description N A...
Page 416: ...Multicast Commands...
Page 449: ...S2600E P CLI Reference Guide Chapter 1 IGMP Snooping Commands Example3 Example4...
Page 450: ...S2600E P CLI Reference Guide Chapter 1 IGMP Snooping Commands...
Page 477: ...Security...
Page 878: ...ACL QOS...
Page 953: ...Reliability...
Page 1024: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands Platform description...
Page 1031: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands Platform description...
Page 1035: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands 6 3 Display Related Commands...
Page 1121: ...System Management...