User Manual
Publication date: Feb., 2008
Revision A1
177
To set acl rule
Argument
:
acl
: acl number, from 1 to 48
rule
: rule number, from 1 to 8
etherType
: 1 – ipv4, 2 – arp, 3 – rarp, 4 – user_defined1,
5 – user_defined2, 6 – user_defined3, 7 – unknown, 8 – any
sip_mask
: source ip and mask notation, ex: 192.168.1.0-24
Only valid when etherType is ipv4.
dip_mask
: destination ip and mask notation, ex: 192.168.2.230-28
Only valid when etherType is ipv4.
ipProtocol
: 1 – icmp, 2- igmp, 3 – tcp, 4 – udp, 5 – user_defined,
6 – user-defined2, 7 – user_defined3, 8 – unknown, 9 – any
sport
: source tcp/udp port range, ex: 1-1024
Only valid when ipProtocol is tcp/udp.
dport
: destination tcp/udp port range, ex: 1-1024.
Only valid when ipProtocol is tcp/udp.
permit
: 1 – allow, 0 – deny
priority
: 0 – none, else from 1 to 8
Possible value:
acl
: 1 to 48
rule
: 1 to 8
etherType
: 1 to 8
ipProtocol
: 1 to 9
sport
: 1 to 1024
dport
: 1 to 1024.
permit
: 0 or 1
priority
: 0 to 8
Example:
LGB1048A(acl)# set rule 1 2 3
192.168.1.0-24 192.168.2.230-28 4 5 6 1 7
show
Syntax
:
Show <argument>
Description
:
To display the configuration of acl.
Argument
:
acl-vlan-mapping
mode
rule
Possible value:
None.
Example:
LGB1048A(acl)# show acl-vlan-mapping
1) VID: 1, ACL Number: 1
2) VID: 10, ACL Number: 1
3) VID: 20, ACL Number: 1
4) VID: 30, ACL Number: 1
Summary of Contents for LGB1048A
Page 1: ......
Page 2: ......
Page 3: ...User s Manual 48 Port GbE L2 Managed Switch with 4 SFP Dual Media Release 1 0...
Page 7: ...v Revision History Release Date Revision 1 0 02 21 2008 A1...
Page 80: ...User Manual Publication date Feb 2008 Revision A1 72 3 6 4 Flow Fig 3 30...
Page 97: ...User Manual Publication date Feb 2008 Revision A1 89 Fig 3 46 Fig 3 47...
Page 155: ...User Manual Publication date Feb 2008 Revision A1 147 Fig 3 87...
Page 158: ...User Manual Publication date Feb 2008 Revision A1 150 TT Fig 3 89...
Page 168: ...User Manual Publication date Feb 2008 Revision A1 160 Fig 4 1 Fig 4 2...
Page 279: ......