146
S
MARTNA™ 10G NETWORK ACCESS (SMARTNA-X)
COMMAND LINE INTERFACE REFERENCE |
DRAFT
Examples • Set up IPv4/IPv6 filter for TCP/UDP traffic from MAC address 01:23:45:67:89:ab to MAC addresses
01:23:45:67:89:ab or 01:23:45:67:89:ac:
[dscp dscp-value] (Optional) Filters on the specified value matching the DSCP
number. Use commas if specifying multiple DSCP values.
[
port src prt-value] (Optional) Filters on the specified value matching the source port
number. For prt-value, the following formats are recognized:
• 10 – A single port
• 10-20 – A range (inclusive)
• 10,15 – Multiple ports (multiple ports may each use a range). Use commas (no
spaces) to separate ports.
[
port dest prt-value] (Optional) Filters on the specified value matching the
destination port number.
[
port either prt-value] (Optional) Filters on the specified value matching either the
source port number or the destination port number.
CONTROLLER>set filter tcp6_traffic ipv6 protocol tcp_udp mac src
01:23:45:67:89:ab,01:23:45:67:89:ac mac dest 01:23:45:67:89:ab,01:23:45:67:89:ac
CONTROLLER>show filters
Use commit command to configure the switch with these.
filters
tcp6_traffic
packetType : ipv6
protocol : 6,17
ipv6
source : 2001:db8:85a3::8a2e:370:7334
destination : 2000:abcd::77:88-99
CONTROLLER>commit
Committing maps and filters