Netgear M5300-52G-POE+ (GSM7252PSv1h2) - ProSAFE 48+4 L2+ POE Stackable Managed Switch 관리자 가이드
![Netgear](https://files.manualsbrain.com/attachments/cf1ad5de25a3f8d6c88ef0ab489c1b137eebe11f/common/fit/150/50/17742d1e0cdacf24edeb88c30757620088415c5f7699f69b4517262e21e0/brand_logo.jpeg)
Chapter 10. ACLs
|
173
ProSafe Managed Switch
1.
Create an IP access control list with the name redirectHTTP.
2.
Define a rule to match the HTTP stream and define a rule to permit all others.
3.
Bind the ACL with interface 1/0/1.
4.
View the configuration.
Web Interface: Redirect a Traffic Stream
This example redirects the HTTP traffic stream received in port 1/0/1 to port 1/0/19.
1.
Create an IP access control list with the name redirectHTTP.
(Netgear Switch) (Config)#ip access-list redirectHTTP
(Netgear Switch) (Config-ipv4-acl)# permit tcp any any eq http redirect 1/0/19
(Netgear Switch) (Config-ipv4-acl)# permit every
(Netgear Switch) (Interface 1/0/1)#ip access-group redirectHTTP in 1
(Netgear Switch) # show ip access-lists
Current number of ACLs: 1 Maximum number of ACLs: 100
ACL ID/Name Rules Direction Interface(s) VLAN(s)
------------------------- ----- ---------- ------------------- ------------
redirectHTTP 2 inbound 1/0/1
(Netgear Switch) #show ip access-lists redirectHTTP
ACL Name: redirectHTTP
Inbound Interface(s): 1/0/1
Rule Number: 1
Action......................................... permit
Match All...................................... FALSE
Protocol....................................... 6(tcp)
Destination L4 Port Keyword.................... 80(www/http)
Redirect Interface............................. 1/0/19
Rule Number: 2
Action......................................... permit
Match All...................................... TRUE