HP GbE2c HP GbE2c Ethernet Blade Switch for c-Class BladeSystem ISCLI Referenc - Page 133

ACL TCP/UDP Filter configuration, ACL Packet Format configuration, > tcp-udp

Page 133 highlights

Table 155 IPv4 Filter Configuration commands Command Description show access-control list ipv4 Command mode: All except User EXEC ACL TCP/UDP Filter configuration These commands allow you to define TCP/UDP matching criteria for an ACL. The following table describes the TCP/UDP Filter Configuration commands. Table 156 TCP/UDP Filter Configuration commands Command Description access-control list tcp-udp source-port {} Defines a source port for the ACL. If defined, traffic with the specified TCP or UDP source port will match this ACL. Specify the port number. Listed below are some of the well-known ports: Number Name 20 ftp-data 21 ftp 22 ssh 23 telnet 25 smtp 37 time 42 name 43 whois 53 domain 69 tftp 70 gopher 79 finger 80 http Command mode: Global configuration access-control list tcp-udp destination-port {} Defines a destination port for the ACL. If defined, traffic with the specified TCP or UDP destination port will match this ACL. Specify the port number, just as with source-port above. Command mode: Global configuration access-control list tcp-udp flags Defines a TCP/UDP flag for the ACL. Command mode: Global configuration default access-control list Resets the TCP/UDP parameters for the ACL to their default values. tcp-udp Command mode: Global configuration show access-control list [] tcp-udp Displays the current TCP/UDP Filtering parameters. Command mode: All except User EXEC ACL Packet Format configuration The following table describes the Packet Format Configuration commands. Table 157 Packet Format Configuration commands Command access-control list packet-format ethernet {ethertype2|snap|llc} [no] access-control list packet-format tagged default access-control list packet-format show access-control list packet-format Description Defines the Ethernet format for the ACL. Command mode: Global configuration Defines the tagging format for the ACL. Command mode: Global configuration Resets Packet Format parameters for the ACL to their default values. Command mode: Global configuration Displays the current Packet Format parameters for the ACL. Command mode: All except User EXEC Configuration Commands 133

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153

Configuration Commands 133
Table 155
IPv4 Filter Configuration commands
Command
Description
show access-control list <
1-
762
> ipv4
Displays the current IPV4 parameters.
Command mode:
All except User EXEC
ACL TCP/UDP Filter configuration
These commands allow you to define TCP/UDP matching criteria for an ACL. The following table describes the
TCP/UDP Filter Configuration commands.
Table 156
TCP/UDP Filter Configuration commands
Command
Description
access-control list <
1-762
>
tcp-udp source-port <
1-
65535
> {<
port mask
>}
Defines a source port for the ACL. If defined, traffic with the specified TCP or
UDP source port will match this ACL. Specify the port number. Listed below are
some of the well-known ports:
Number
Name
20
ftp-data
21
ftp
22
ssh
23
telnet
25
smtp
37
time
42
name
43
whois
53
domain
69
tftp
70
gopher
79
finger
80
http
Command mode:
Global configuration
access-control list <
1-762
>
tcp-udp destination-port <
1-
65535
> {<
port mask
>}
Defines a destination port for the ACL. If defined, traffic with the specified TCP
or UDP destination port will match this ACL. Specify the port number, just as
with
source-port
above.
Command mode:
Global configuration
access-control list <
1-762
>
tcp-udp flags <
value (0x0-
0x3f)
>
Defines a TCP/UDP flag for the ACL.
Command mode:
Global configuration
default access-control list
<
1-762
> tcp-udp
Resets the TCP/UDP parameters for the ACL to their default values.
Command mode:
Global configuration
show access-control list
[<
1-762
>] tcp-udp
Displays the current TCP/UDP Filtering parameters.
Command mode:
All except User EXEC
ACL Packet Format configuration
The following table describes the Packet Format Configuration commands.
Table 157
Packet Format Configuration commands
Command
Description
access-control list <
1-762
>
packet-format ethernet
{ethertype2|snap|llc}
Defines the Ethernet format for the ACL.
Command mode:
Global configuration
[no] access-control list <
1-762
>
packet-format tagged
Defines the tagging format for the ACL.
Command mode:
Global configuration
default access-control list <
1-
762
> packet-format
Resets Packet Format parameters for the ACL to their default values.
Command mode:
Global configuration
show access-control list <
1-762
>
packet-format
Displays the current Packet Format parameters for the ACL.
Command mode:
All except User EXEC