522
BigIron RX Series Configuration Guide
53-1001810-01
Configuring numbered and named ACLs
21
The first entry in this ACL denies TCP traffic from the 209.157.21.x network to the 209.157.22.x
network.
The second entry denies all FTP traffic from the 209.157.21.x network to the 209.157.22.x
network.
The third entry denies TCP traffic from the 209.157.21.x network to the 209.157.22.x network, if
the TCP port number of the traffic is less than the well-known TCP port number for Telnet (23), and
if the TCP port is not equal to 5. Thus, TCP packets whose TCP port numbers are 5 or are greater
than 23 are allowed.
The fourth entry denies UDP packets from any source to the 209.157.22.x network, if the UDP port
number from the source network is 5 or 6 and the destination UDP port is 7 or 8.
The fifth entry permits all packets that are not explicitly denied by the other entries. Without this
entry, the ACL would deny all incoming or outgoing IP traffic on the ports to which you assign the
ACL.
The following commands apply ACL 103 to the incoming and outgoing traffic on ports 2/1 and 2/2.
Extended ACL syntax
This section presents the syntax for creating an extended ACL and for binding the ACL to an
interface. Use the ip access-group command in the interface level to bind the ACL to an interface.
Syntax: [no] access-list
<num>
deny | permit
<ip-protocol>
<source-ip>
|
<hostname>
<wildcard>
[
<operator>
<source-tcp/udp-port>
]
<destination-ip>
|
<hostname> <wildcard>
[
<operator>
<destination-tcp/udp-port>
]
[match-all
<tcp-flags>
] [match-any
<tcp-flags>
]
[
<icmp-type>
] [established] [precedence
<name>
|
<num>
]
[tos
<number>
] [dscp-matching
<number>
]
[802.1p-priority-matching
<number>
]
[dscp-marking
<number>
802.1p-priority-marking
<number>
internal-priority-marking
<number>
] | [dscp-marking
<number>
dscp-cos-mapping] | [dscp-cos-mapping]
[fragment] [non-fragment] [first-fragment]
[fragment-offset
<number>
]
[spi
<00000000 - ffffffff>
] [log]
Syntax: [no] access-list
<num>
deny | permit host
<ip-protocol>
any any [log]
Syntax: [no] ip access-group
<num>
in
The 16 x 10 GE module only supports the following extended ACLs.
Syntax: [no] ip access-list
<num>
deny | permit
<ip-protocol>
<source-ip>
|
<hostname> <wildcard>
[
<operator>
<source-tcp/udp-port>
]
<destination-ip>
|
<hostname>
<wildcard>
[
<operator>
<destination-tcp/udp-port>]
BigIron RX
(config)# int eth 2/1
BigIron RX
(config-if-e10000-2/1)# ip access-group 103 in
BigIron RX
(config-if-e10000-2/1)# exit
BigIron RX
(config)# int eth 2/2
BigIron RX
(config-if-e10000-2/2)# ip access-group 103 in
BigIron RX
(config)# write memory
Summary of Contents for Brocade DCX
Page 40: ...xl BigIron RX Series Configuration Guide 53 1001810 01 ...
Page 72: ...lxxii BigIron RX Series Configuration Guide 53 1001810 01 ...
Page 88: ...16 BigIron RX Series Configuration Guide 53 1001810 01 Searching and filtering output 1 ...
Page 300: ...228 BigIron RX Series Configuration Guide 53 1001810 01 Displaying IP information 7 ...
Page 318: ...246 BigIron RX Series Configuration Guide 53 1001810 01 Deploying a LAG 8 ...
Page 418: ...346 BigIron RX Series Configuration Guide 53 1001810 01 SuperSpan 12 ...
Page 482: ...410 BigIron RX Series Configuration Guide 53 1001810 01 MRP CLI example 14 ...
Page 506: ...434 BigIron RX Series Configuration Guide 53 1001810 01 Displaying VSRP information 15 ...
Page 582: ...510 BigIron RX Series Configuration Guide 53 1001810 01 Viewing Layer 2 ACLs 20 ...
Page 634: ...562 BigIron RX Series Configuration Guide 53 1001810 01 Troubleshooting ACLs 21 ...
Page 642: ...570 BigIron RX Series Configuration Guide 53 1001810 01 Trunk formation 22 ...
Page 746: ...674 BigIron RX Series Configuration Guide 53 1001810 01 Displaying RIP filters 24 ...
Page 808: ...736 BigIron RX Series Configuration Guide 53 1001810 01 Displaying OSPF information 25 ...
Page 938: ...866 BigIron RX Series Configuration Guide 53 1001810 01 Displaying MBGP information 27 ...
Page 950: ...878 BigIron RX Series Configuration Guide 53 1001810 01 Using secure copy 28 ...
Page 988: ...916 BigIron RX Series Configuration Guide 53 1001810 01 Clearing IS IS information 29 ...
Page 1054: ...982 BigIron RX Series Configuration Guide 53 1001810 01 Sample 802 1x configurations 33 ...
Page 1108: ...1036 BigIron RX Series Configuration Guide 53 1001810 01 sFlow 39 ...
Page 1190: ...1118 BigIron RX Series Configuration Guide 53 1001810 01 Displaying RIPng information 44 ...
Page 1270: ...1198 BigIron RX Series Configuration Guide 53 1001810 01 Displaying ACLs 47 ...
Page 1310: ...1238 BigIron RX Series Configuration Guide 53 1001810 01 Displaying OSPFv3 information 48 ...
Page 1382: ...1310 BigIron RX Series Configuration Guide 53 1001810 01 Commands That Require a Reload D ...
Page 1435: ...BigIron RX Series Configuration Guide 1363 53 1001810 01 VSRP E ...
Page 1436: ...1364 BigIron RX Series Configuration Guide 53 1001810 01 VSRP E ...