124
| Command Line Reference | SmartNA-X 1G/10G Modular
SmartNA-X
™
1G/10G User Guide 1.4
©
2015 Network Critical Solutions Limited
Packets received on a starting port are sent to all mapped ending ports. Maps that originate from the same source port are
independent of one another, so traffic flowing along a map is treated entirely separately from other maps originating from
the same source.
Ports may be mapped in the following logical configurations:
• A → B (one-to-one mapping)
• A → B, C (one-to-many mapping)
• A, B → C (many-to-one mapping)
Many-to-many maps (A, B → C, D) are not
directly
supported, but the effect may be achieved by creating multiple
aggregation or replication maps. This configuration has the advantage that these maps may have different filtering applied
if required.
Syntax
set map
start-port
...
to
end-port
...
[
exclude
filter
...
] [
require
filter
...
]
Parameters
•
start-port
Specify the starting port(s) for the map. The starting ports can be any of the physical ports, such as port
1A
,
or any of the logical Load Balancer Groups, such as
LB1
on supported systems. Use spaces if two or physical ports are
to be aggregated, for example
1A 1B RA
.
•
end-ports
Specify the ending port(s) for the map. The ending ports can be any of the physical ports, such as port
1C
or any of the logical Load Balancer Groups, such as
LB1
on supported systems. Use spaces if the data stream is to be
replicated to two or more end ports, for example
1C 1D RA.
•
require
filter
(Optional) Specify the name of any ‘require’ filters to apply (pass matching packets). Use quotes if the
name of the filter contains spaces, for example "HTTP + HTTPS"
•
exclude
filter
(Optional) Specify the name of any ‘exclude’ filters to apply (reject matching packets).
Example
• Map port
1A
to
1B
1C
with 'require' filter "HTTP + HTTPS" and 'exclude' filter VLAN6. Check results and commit
all pending updates to the system:
CONTROLLER>
set map 1a to 1b 1c require "HTTP + HTTPS" exclude VLAN6
CONTROLLER>
show maps
Use commit command to configure the switch with these.
maps
1.
Source Ports:
1A
Required Filters:
HTTP + HTTPS
Excluded Filters:
VLAN6
Destination Ports:
1B
1C
CONTROLLER>
commit
Committing maps and vline
• Map load balancing group
LB1
to ports
1C
,
1D
,
2C
,
2D
. Check results and commit all pending updates to the system:
CONTROLLER>
set map LB1 to 1C 1D 2C 2D
CONTROLLER>
show maps
Use commit command to configure the switch with these.
maps
1.
Source Ports:
port 1A
port 1B
Required Filters: