Cuda 12000 IP Access Switch CLI-based Administration Guide
Applying Access Lists to Interfaces 337
The following example applies access list 1 to the inbound interface and access list 2 to the outbound interface of cable interface 1/1/1:Just as the rule number determines the sequence of rule examination within an access list, priority specifies the order of access list examination within the access class that you apply to an inbound or outbound interface.
cli:172.16.19.10:root# interface 1/1/1
mode: interface:cable:csi(1/1/1)
cli:172.16.19.10:interface:cable:csi(1/1/1)# show access-list
List Ac Rule Prot IP Source Mask Source Start End Estab TOS ChTO
S
IP Dest Mask Dest Port Port Sync Msk
----- -- ---- ---- --------------- --------------- ----- ----- ----- --- ----
-
1 DE 1 ip 172.16.19.200 0.0.0.0 False 0
0.0.0.0 255.255.255.255 False 0
..... .. .... .... ............... ............... ..... ..... ..... ... .....
2 PE 1 tcp 172.16.19.200 0.0.0.0 0 65535 False 0
0.0.0.0 255.255.255.255 0 65535 False 0
..... .. .... .... ............... ............... ..... ..... ..... ... .....
row count: 2
cli:172.16.19.10:interface:cable:csi(1/1/1)# access-class 1 in priority 1
cli:172.16.19.10:interface:cable:csi(1/1/1)# access-class 2 out priority 2
cli:172.16.19.10:interface:cable:csi(1/1/1)# show access-class
Access List Priority Row
List Direction Status
Number
------ --------- -------- ------
1 in 1 1
2 out 2 1
row count: 2
cli:172.16.19.10:interface:cable:csi(1/1/1)#