HP GbE2c HP GbE2c Ethernet Blade Switch for c-Class BladeSystem Command Refere - Page 149

ACL TCP/UDP Filter configuration, TCP/UDP Filter Configuration Menu options

Page 149 highlights

Table 162 IPv4 Filter Configuration Menu options Command proto tos reset cur Description Defines an IP protocol for the ACL. If defined, traffic from the specified protocol matches this filter. Specify the protocol number. Listed below are some of the well-known protocols. Number Name 1 icmp 2 igmp 6 tcp 17 udp 89 ospf 112 vrrp Defines a Type of Service value for the ACL. For more information on ToS, see RFC 1340 and 1349. Resets the IPv4 parameters for the ACL to their default values. Displays the current IPV4 parameters. ACL TCP/UDP Filter configuration Command: /cfg/acl/acl /tcpudp [Filtering TCP/UDP Menu] sport - Set to filter on TCP/UDP source port dport - Set to filter on TCP/UDP destination port flags - Set to filter TCP/UDP flags reset - Reset all fields cur - Display current parameters This menu allows you to define TCP/UDP matching criteria for an ACL. The following table describes the TCP/UDP Filter Configuration Menu options. Table 163 TCP/UDP Filter Configuration Menu options Command sport dport flags reset cur Description 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 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 sport above. Defines a TCP/UDP flag for the ACL. Resets the TCP/UDP parameters for the ACL to their default values. Displays the current TCP/UDP Filtering parameters. Configuration Menu 149

  • 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
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175

Configuration Menu 149
Table 162
IPv4 Filter Configuration Menu options
Command
Description
proto <
0-255
>
Defines an IP protocol for the ACL. If defined, traffic from the specified protocol
matches this filter. Specify the protocol number. Listed below are some of the
well-known protocols.
Number
Name
1
icmp
2
igmp
6
tcp
17
udp
89
ospf
112
vrrp
tos <
0-255
>
Defines a Type of Service value for the ACL. For more information on ToS, see
RFC 1340 and 1349.
reset
Resets the IPv4 parameters for the ACL to their default values.
cur
Displays the current IPV4 parameters.
ACL TCP/UDP Filter configuration
Command:
/cfg/acl/acl <
1-762
>/tcpudp
[Filtering TCP/UDP Menu]
sport
- Set to filter on TCP/UDP source port
dport
- Set to filter on TCP/UDP destination port
flags
- Set to filter TCP/UDP flags
reset
- Reset all fields
cur
- Display current parameters
This menu allows you to define TCP/UDP matching criteria for an ACL. The following table describes the TCP/UDP
Filter Configuration Menu options.
Table 163
TCP/UDP Filter Configuration Menu options
Command
Description
sport <
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
dport <
1-65535
>
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
sport
above.
flags <
value
(
0x0-0x3f
)>
Defines a TCP/UDP flag for the ACL.
reset
Resets the TCP/UDP parameters for the ACL to their default values.
cur
Displays the current TCP/UDP Filtering parameters.