set system management-ethernet eth0 ip-gateway {IPv4 | IPv6}


The set system management-ethernet eth0 ip-gateway {IPv4 | IPv6} command sets the gateway address for management interface eth0.

 

Command Syntax

set system management-ethernet eth0 ip-gateway {IPv4 | IPv6} <ip_address>


Parameter

Parameter

Description

{IPv4 | IPv6} <ip_address>

Specifies the gateway address for management interface eth0.

For IPv4 address, the value is in dotted decimal notation.

For IPv6 address, the value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X, an X contains 4 hexadecimal numbers.


Example

  •  Set the gateway address 192.168.10.1 for management interface eth0.
 admin@Xorplus# set system management-ethernet eth0 ip-gateway IPv4 192.168.10.1
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.