Ju
ne
20
18
302 Legrand PDU User Guide
Setting IPv4 Static Routes
If the IPv4 network mode is set to static IP and your local network contains two subnets, you can configure
static routes to enable or disable communications between the Legrand PDU and devices in the other
subnet.
These commands are prefixed with
network ipv4 staticRoutes
.
Depending on whether the other network is directly reachable or not, there are two methods for adding a
static route. For further information, see
Static Route Examples
(on page 148).
Method 1: add a static route when the other network is NOT directly reachable:
config:#
network ipv4 staticRoutes add <dest-1> <hop>
Method 2: add a static route when the other network is directly reachable:
config:#
network ipv4 staticRoutes add <dest-1> interface <ETH>
Delete an existing static route:
config:#
network ipv4 staticRoutes delete <route_ID>
Modify an existing static route:
config:#
network ipv4 staticRoutes modify <route_ID> <dest-2> <hop>
-- OR --
config:#
network ipv4 staticRoutes modify <route_ID> <dest-2> interface <ETH>
Variables:
<dest-1> is a combination of the IP address and subnet mask of the other subnet. The format is
IP
address/subnet mask
.
<hop> is the IP address of the next hop router.
<ETH> is one of the interfaces:
ETH1, ETH2
,
WIRELESS
and
BRIDGE
. Type "bridge" only when your
Legrand PDU is in the bridging mode.
<route_ID> is the ID number of the route setting which you want to delete or modify.
<dest-2> is a modified route setting that will replace the original route setting. Its format is
IP
address/subnet mask
. You can modify either the IP address or the subnet mask or both.
Configuring IPv6 Parameters
An IPv6 configuration command begins with
network ipv6
.