KTI Networks KGS-2416 User Manual
Page 240

236
set
Syntax:
set [<index>] [<next index>]
[switch | (port <port>) | (policy <policy>)]
[<vid>] [<tag_prio>] [<dmac_type>]
[(any) |
(etype [<etype>] [<smac>]) |
(arp [<arp type>] [<opcode>]
(any | [<source ip>] [<source ip mask>])
(any | [<destination ip>] [<destination ip mask>])
[<source mac>] [<arp smac match flag>]
[<raro dmac match flag>] [<ip/ethernet length flag>]
[<ip flag>] [<ethernet flag>]) |
(ip [(<source ip> <source ip mask>) | any]
[(<destination ip> <destination ip mask>) | any]
[<ip ttl>] [<ip fragment>] [<ip option>]
[(icmp <icmp type> <icmp code>) |
(udp <source port range> <destination port range>) |
(tcp <source port range> <destination port range>
<tcp fin flag> <tcp syn flag> <tcp rst flag>
<tcp psh flag> <tcp ack flag> <tcp urg flag>) |
(other <ip protocol value>) |
(any)]
]
[<action>] [<rate limiter>] [<port copy>]
Description:
To set access control entry on switch
Argument:
Possible value:
Example:
show
Syntax:
show
Description:
To show all access control entry setting on switch
Argument:
none
Possible value:
none
Example:
SW24GF(acl)# show
port policy id action rate limiter port copy counter a class map
.. .. ……. …. … ..
5 1 deny 2 2
23 1 permit 0 0 0
24 1 permit 0 0 0