Show Ip Access-List - SMC Networks TigerSwitch SMC6128L2 Management Manual

24-port 10/100 mbps fast ethernet managed switch
Hide thumbs Also See for TigerSwitch SMC6128L2:
Table of Contents

Advertisement

C
L
OMMAND
INE
• sport – Protocol
• dport – Protocol
• end – Upper bound of the protocol port range. (Range: 0-65535)
Default Setting
None
Command Mode
Extended ACL
Command Usage
• All new rules are appended to the end of the list.
• Address bitmasks are similar to a subnet mask, containing four
integers from 0 to 255, each separated by a period. The binary mask
uses 1 bits to indicate "match" and 0 bits to indicate "ignore." The
bitmask is bitwise ANDed with the specified source IP address, and
then compared with the address for each IP packet entering the port(s)
to which this ACL has been assigned.
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)#
Related Commands
access-list ip (4-115)

show ip access-list

This command displays the rules for configured IP ACLs.
2. Includes TCP, UDP or other protocol types.
4-118
I
NTERFACE
2
source port number. (Range: 0-65535)
destination port number. (Range: 0-65535)
2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

6128l2 - annexe 1

Table of Contents