HP 2530 Manual Supplement page 101

Table of Contents

Advertisement

Example 45 Listing an IPv4 extended ACL
HP Switch(config)# show access-list List-120
Access Control Lists
Name: List-120
Type: Extended
Applied: No
SEQ Entry
----------------------------------------------------------
10 Action: permit
2
Remark: Telnet Allowed
3
Src IP: 10.30.133.27
23
4
Dst IP: 0.0.0.0
6
Proto : TCP (Established)
7
TOS
: -
20 Action: deny (log)
Src IP: 10.30.133.1
Dst IP: 0.0.0.0
Proto : IP
TOS
: -
30 Action: permit
Src IP: 0.0.0.0
Dst IP: 0.0.0.0
Indicates whether the ACL is applied to an interface
1
Remark Field (Appears if remark configured)
2
Source Address
3
TCP Source Port
4
Protocol Data
6
DSCP Codepoint and Precedence Data
7
Empty field indicates that the destination TCP port can be any value
5
The show access-list <identifier> config command in
with the config option"
but in the format used by the show <run|config> commands.
Example 46 An ACL listed with the config option
Port-1(config)# show access-list List-120 config
ip access-list extended "List-120"
10 remark "Telnet Allowed"
10 permit tcp 10.30.133.27 0.0.0.0 eq 23 0.0.0.0 255.255.255.255
precedence 0 established
20 deny ip 10.30.133.1 0.0.0.255 0.0.0.0 255.255.255.255 log
30 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255
exit
Table 17 Data types included in show access-list <acl-id> output
Field
Description
Action
Permit (forward) or deny (drop) a packet when it is compared to the criteria in the applicable
ACE and matches. Includes the optional log option, if used, in deny actions.
Applied
Yes means the ACL has been applied to an interface.
No means the ACL exists in the switch configuration, but has not been applied to any interface
and is therefore not in use.
1
Mask: 0.0.0.0
Mask: 255.255.255.255
Precedence: routine
Mask: 0.0.0.255
Mask: 255.255.255.255
Precedence: -
Mask: 255.255.255.255
Mask: 255.255.255.255
shows the same ACL data as show access-list <identifier>
Port(s): eq
Port(s):
5
Port(s):
Port(s):
Port(s):
Port(s):
Example 46 "An ACL listed
Displaying ACL configuration data 101

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents