141
S
MARTNA™ 10G NETWORK ACCESS (SMARTNA-X)
COMMAND LINE INTERFACE REFERENCE |
DRAFT
• Set up IPv4 filter for TCP and UDP packets on port 25 (UDP port 25 is reserved for Simple Mail Transfer
Protocol (SMTP) e-mail routing between mail servers):
• Set up IPv4 filter for TCP and UDP packets on ports 80 (HTTP), 8080 (HTTP alternative), and 443
(HTTPS) from source addresses 10.10.0.* to destination addresses 192.168.0.*:
CONTROLLER>set filter smtp_traffic ipv4 protocol tcp_udp port src 25
CONTROLLER>show filters
Use commit command to configure the switch with these.
filters
http
packetType : ipv4
smtp
packetType : ipv4
protocol : 6,17
port
source : 25
CONTROLLER>commit
Committing maps and filters
CONTROLLER>set filter html_traffic ipv4 protocol tcp_udp port src 80,8080,443 address src
10.10.0.* address dest 192.168.0.*
CONTROLLER>show filters
html_traffic
packetType : ipv4
protocol : 6,17
port
source : 80,8080,443
ipv4
source : 10.10.0.*
destination : 192.168.0.*
CONTROLLER>commit
Committing maps and filters