configure network route add
Adds a new route entry
|
|
Syntax:
configure network route add [ipv4 | ipv6] <ip_prefixlen> <via>
<dev> |
|
View
|
Privileged
|
Parameters
|
ipv4: Configure IPv4 settings
ipv6: Configure IPv6 settings
<ip_prefixlen>: Destination network ID with format IP_Address/Prefixlen
<via>: IP address of the next hop
<dev>: Device
name
|
Example:
|
|
To add a new route entry:
configure network route add ipv4 172.10.10.0/24 192.168.10.1 eth1 |