Set Filter Ipv4 - Network Critical SmartNA-X User Manual

Smart network access modular system x 1g/10g network tapping device
Hide thumbs Also See for SmartNA-X:
Table of Contents

Advertisement

130 | Command Line Reference | SmartNA-X 1G/10G Modular
Committing maps and vline
Committing filters
CONTROLLER>
Define a filter that matches IP packets with the TCP RST flag set. Review and commit to the system.
CONTROLLER>set filter "Example filter" anyip protocol tcp rst 1
CONTROLLER>show filters
Use commit command to configure the switch with these.
filters
Example filter
packetType : anyip
protocol : 6
rst : 1
CONTROLLER>commit
Committing maps and vline
Committing filters
CONTROLLER>
Define a filter that matches IP packets with UDP port 161 as the destination. Review and commit to the system.
CONTROLLER>set filter "Example filter" anyip protocol UDP port dest 161
CONTROLLER>show filters
Use commit command to configure the switch with these.
filters
Example filter
packetType : anyip
protocol : 17
port
destination : 161
CONTROLLER>commit
Committing maps and vline
Committing filters
CONTROLLER>

set filter ipv4

Use the set filter ipv4 command to create filters for packets that match packets of ether-type IPv4. The filter can be
further refined by specifying IPv4 layer 2, 3 and/or layer 4 headers, plus any user pre-defined custom fields that are within
the IPv4 scope.
Syntax
set filter filter-name IPv4 [ VLAN tag ] [ PCP level ] [ MAC src mac-id ] [ MAC dest mac-id ] [ MAC either mac-id ]
[ Address src ip ] [ Address dest ip ] [ Address either ip ] Fragmented { 0 | 1 } [ Protocol protocol-number or name
] [ DSCP class ] [ Customfield custom-field-name value ]
set filter filter-name IPv4 protocol TCP [ Port src port-number ] [ Port dest port-number ] [ Port either port-number
] [ cwr flag-value ] [ ece flag-value ] [ urg flag-value ] [ ack flag-value ] [ psh flag-value ] [ rst flag-value ] [ syn flag-
value ] [ fin flag-value ] { other filtering options }
set filter filter-name IPv4 protocol { UDP | TCP | TCP_UDP | SCTP } [ Port src port-number ] [ Port dest port-
number ] [ Port either port-number ] { other filtering options }
set filter filter-name IPv4 protocol ICMPv4 [ ICMP type type-value ] [ ICMP code code-value ] { other filtering
options }
©
SmartNA-X
1G/10G User Guide 1.4
2015 Network Critical Solutions Limited

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SmartNA-X and is the answer not in the manual?

Table of Contents