American Fibertek SM8P-SFP User Manual
Page 256
Rev.A1
18-May-11
240
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:
SM8P-SFP(acl)# show
port policy id action
rate limiter port copy
counter a class map
..
..
…….
….
…
..
5
1
deny
2
2