X450e-48p.18 # configure access-list printerpol ports 15 ?
Execute the command
ingress Acls applied to ingress
I am applying this policy for a printer which is shared on the network (only selected IP addresses should be able to access the printer)
I was thinking of applying the following policy on the port, but its being applied to the ingress interface so its not of any use:
entry iprule1 {if {
source-address 10.2.5.134/32 ;
destination-address 10.2.5.199/32 ; -------printer
}
then {
permit ;
}
}
entry iprule2 {
if {
source-address 0.0.0.0/0 ;
destination-address 10.2.5.199/32 ;
}
then {
deny;
}
}
Is there a way to do this ?