Routing
IP routing
Digi Connect IT® 16/48 User Guide
196
/network/interface/sfp1
/network/interface/sfp2
/network/interface/wwan
Current value:
(config network route policy 0)> interface
b. Set the interface. For example:
(config network route policy 0)> interface /network/interface/eth1
(config network route policy 0)>
6. (Optional) Enable
exclusive
to configure the policy to drop packets that match the policy when
the gateway interface is disconnected, rather than forwarded through other interfaces:
(config network route policy 0)> exclusive true
(config network route policy 0)>
7. Select the IP version:
(config network route policy 0)> ip_version
value
(config network route policy 0)>
where
value
is one of
any
,
ipv4
, or
ipv6
.
8. Set the protocol:
(config network route policy 0)> protocol
value
(config network route policy 0)>
where
value
is one of:
n
any
: All protocols are matched.
n
tcp
: Source and destination ports are matched:
a. Set the source port:
(config network route policy 0)> src_port
value
(config network route policy 0)>
where
value
is the port number, or the keyword
any
to match any port as the
source port.
b. Set the destination port:
(config network route policy 0)> dst_port
value
(config network route policy 0)>
where
value
is the port number, or the keyword
any
to match any port as the
destination port.