
Configuring the Switch
3-70
3
Web
– Specify the action (i.e., Permit or Deny). Specify the source and/or
destination addresses. Select the address type (Any, Host, or IP). If you select
“Host,” enter a specific address. If you select “IP,” enter a subnet address and the
mask for an address range. Set any other required criteria, such as service type,
protocol type, or TCP control code. Then click Add.
Figure 3-42 ACL Configuration - Extended IP
CLI
– This example adds three rules:
1. Accept any incoming packets if the source address is in 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.
2. Allow TCP packets from class C addresses 192.168.1.0 to any destination
address when set for destination TCP port 80 (i.e., HTTP).
3. Permit all TCP packets from class C addresses 192.168.1.0 with the TCP control
code set to “SYN.”
Console(config-ext-acl)#permit 10.7.1.1 255.255.255.0 any
4-91
Console(config-ext-acl)#permit 192.168.1.0 255.255.255.0 any
destination-port 80
Console(config-ext-acl)#permit tcp 192.168.1.0 255.255.255.0 any
control-flag 2 2
Console(config-std-acl)#
Содержание ES4612
Страница 2: ......
Страница 4: ...ES4612 F1 0 2 5 E092004 R01 150000046400A ...
Страница 38: ...Introduction 1 10 1 ...
Страница 48: ...Initial Configuration 2 10 2 ...
Страница 269: ...IP Routing 3 221 3 Web Click Routing Protocol RIP Statistics Figure 3 130 RIP Statistics ...
Страница 314: ...Configuring the Switch 3 266 3 ...
Страница 644: ...Command Line Interface 4 330 4 ...
Страница 658: ...Glossary Glossary 8 ...
Страница 664: ...Index 6 Index ...
Страница 665: ......
Страница 666: ...ES4612 E092004 R01 150000046400A ...