Example
This example accepts any incoming packets if the source address is within subnet
10.7.1.x. For example, if the rule is matched; i.e., the rule (10.7.1.0 & 255.255.255.0)
equals the masked address (10.7.1.2 & 255.255.255.0), the packet passes through.
Console(config-ext-acl)#permit 10.7.1.1 255.255.255.0 any
Console(config-ext-acl)#
This allows TCP packets from class C addresses 192.168.1.0 to any destination
address when set for destination TCP port 80 (i.e., HTTP).
Console(config-ext-acl)#permit 192.168.1.0 255.255.255.0 any
destination-port 80
Console(config-ext-acl)#
This permits all TCP packets from class C addresses 192.168.1.0 with the TCP
control code set to “SYN.”
Console(config-ext-acl)#permit tcp 192.168.1.0 255.255.255.0 any
control-flag 2 2
Console(config-ext-acl)#
Related Commands
access-list ip (26-2)
show ip access-list
This command displays the rules for configured IPv4 ACLs.
Syntax
show ip access-list
{
standard
|
extended
} [
acl_name
]
•
standard
– Specifies a standard IP ACL.
•
extended
– Specifies an extended IP ACL.
•
acl_name
– Name of the ACL. (Maximum length: 16 characters)
Command Mode
Privileged Exec
Example
Console#show ip access-list standard
IP standard access-list david:
permit host 10.1.1.21
permit 168.92.0.0 255.255.15.0
Console#
Related Commands
permit, deny 26-2
ip access-group (26-6)
26-5
IPv4 ACLs
26
Содержание IC40240-10G
Страница 1: ...IntraCore 40240 40480 10G Layer 3 Gigabit Stackable Ethernet Switch User s Manual ...
Страница 4: ...IC40240 10G 99 00837 IC40480 10G 99 00836 ...
Страница 6: ...ii ...
Страница 33: ...Getting Started ...
Страница 43: ...1 1 10 Introduction ...
Страница 61: ...2 2 18 Initial Configuration ...
Страница 63: ...Switch Management ...
Страница 75: ...3 3 12 Configuring the Switch ...
Страница 117: ...4 4 42 Basic Management Tasks ...
Страница 163: ...6 6 28 User Authentication ...
Страница 175: ...7 7 12 Access Control Lists ...
Страница 283: ...14 14 8 Quality of Service ...
Страница 293: ...15 15 10 Multicast Filtering ...
Страница 299: ...16 16 6 Domain Name Service ...
Страница 309: ...17 17 10 Dynamic Host Configuration Protocol ...
Страница 319: ...18 18 10 Configuring Router Redundancy ...
Страница 343: ...19 19 24 IP Routing ...
Страница 355: ...Web Click Routing Protocol RIP Statistics Figure 20 5 RIP Statistics 20 12 Unicast Routing 20 ...
Страница 385: ...20 20 42 Unicast Routing ...
Страница 387: ...Command Line Interface ...
Страница 399: ...21 21 12 Overview of the Command Line Interface ...
Страница 465: ...24 24 16 SNMP Commands ...
Страница 519: ...26 26 18 Access Control List Commands ...
Страница 545: ...30 30 2 Rate Limit Commands ...
Страница 611: ...34 34 24 VLAN Commands ...
Страница 625: ...35 35 14 Class of Service Commands ...
Страница 633: ...36 7 police 36 ...
Страница 670: ...39 39 16 DHCP Commands ...
Страница 716: ...41 41 36 IP Interface Commands ...
Страница 768: ...42 42 52 IP Routing Commands ...
Страница 770: ...Appendices ...
Страница 791: ......
Страница 792: ...IC40240 10G IC40480 10G ...