C
L
I
R
OMMAND
INE
NTERFACE
EFERENCE
S
ET MAP
Use the set map command to create port mappings. Packets received on a source port are sent to all of the
destination ports mapped to it. Pre-defined filters can be applied to maps to pass or block packets that match the
filtering conditions. See the
instructions on managing maps and filters.
A filter following the word 'require' will only allow through traffic that which matches its condition. A filter
following the word 'exclude' will remove all traffic that matches its condition.
You can set up maps between any ports in the system, including between ports on the same module, between ports
on different modules, between ports of different media types and speeds—be careful not to overload the
destination port when aggregating ports or mapping 10G and 1G ports—or between rear and front ports.
Once a map has been defined with the set map command, show the show map command to review the mapping
configuration, and use the commit command to apply mappings and filters.
Command form
set map in-port ... to out-port ... [
in-port
out-port
require
exclude
Examples
Create the following port mappings:
1A > 1B include filter HTTP
2A > 2B
2B > 2A
|
"Commands for managing port maps and packet filters" section on page 133
require
Specifies the packet input port (the source port).
A front port is represented by a number to indicate the TAP module followed by a
letter A–D to specify the port on that module (for example, 1A 1B, ). Rear ports are
labelled RA and RB.
Where multiple ports are specified, packets will be aggregated and sent to the
specified destination ports, unless removed by a filter. Use spaces to separate multiple
ports.
Specifies the packet output port (the destination port).
A front port is represented by a number to indicate the TAP module followed by a
letter A–D to specify the port on that module (for example, 1A 1B). Rear ports are
labelled RA and RB.
Where multiple ports are specified, copies of the packets will be sent to each
destination ports, unless removed by a filter. Use spaces to separate multiple ports.
filter ...
(Optional) Use
conditions and drops all other packets. For filter, specify the name of a filter to add
(see set filter commands). Where a filter name contains spaces, it must be contained
within quotes.
filter ...
(Optional) Use
conditions and passes all other packets. For filter, specify the name of a filter to apply
(see set filter commands). Where a filter name contains spaces, it must be contained
within quotes.
S
NA™ 10G N
MART
filter ...] [
filter ...]
exclude
to add a filter that passes packets which match the filtering
require
to add a filter that drops packets which match the filtering
exclude
DRAFT
A
(S
NA-X)
ETWORK
CCESS
MART
for
136
Need help?
Do you have a question about the SmartNA-X and is the answer not in the manual?