set
Set configuration parameters.
Syntax
set <admin-port>
set <api-port>
set <date>
set <default-gw>
set <port3-speed> <auto|<speed {full|half}]
set <port-mtu> <portx> <1200-9000>
set <portX-ip> <ip/netmask>
set <time>
|
Attribute |
Value |
Description |
Example |
|---|---|---|---|
|
admin-port |
portx |
Enable a new administrative port other than port1. This cannot be set to port3 or sniffer ports. |
admin-port port2 |
|
api-port |
portx |
Set ports for API connection. |
api-port port2 |
|
date |
date |
Set system date, in the format of YYYY-MM-DD. |
date 2023-10-31 |
|
default-gw |
ip |
Set the default gateway address. |
default-gw 1.2.3.4 |
|
port3-speed |
auto speed {full|half} |
Set port3 speed and duplex settings. This attribute is not supported on VM models or 3000G. All NICs in the 3000G have been upgraded to 10G transceiver NICs, which do not allow speed changes. |
port3-speed 1000 full, port3-speed auto |
|
port-mtu |
<portx> <1200-9000> |
Set a port's MTU value. |
port-mtu port1 1200 |
|
portX-ip |
<ip/netmask> |
Set the portX IP address in IP/netmask format. This can also set the address on aggregate ports. |
port1-ip 1.2.3.4/24 port2-ip 1.2.3.4/24 |
|
time |
<time> |
Set system time, in the format of HH:MM:SS. |
time 12:00:00 |