Default Settings for Out-of-band Management Interface

NOTE:

When the switch boots up, once the out-of-band management interface eth0 obtains IP address through DHCP or manual configuration, the factory default IP address is disabled. It returns enabled only when the switch is restarted.

By default, the out-of-band management interface eth0 is configured with the factory default IP address 192.168.1.1/24. In this way, when you cannot obtain valid IP address to access the switch, a built-in IP address is applied, which makes sure that the switch can be always accessed by the direct connection PC.

The switch can obtain an IP address through three ways, prioritized as follows: static IP address > dynamic IP address assigned by DHCP > factory default IP address. When the switch can obtain an IP address through higher-priority way, the others will be disregarded. The detailed matching process is as follows:

  1. Initially, the switch uses the factory default IP address before PicOS boots up. The DHCP client function is enabled by default, and the switch attempts to obtain IP address through DHCP assignment when PicOS boots up, if successful, it uses this IP address; if fails to obtain in 1 minutes, it uses the factory default IP address.

  2. When the switch loads configuration files with a static IP address, or when you specify an IP address for the interface eth0, it uses the configured IP address. For details on modifying the IP address of the out-of-band management interface eth0, refer to the next section.

NOTEs:

  • When the switch uses the factory default IP address, it will continue to attempt to obtain an IP address from the DHCP server. If successful, it will use the assigned IP address instead of the default IP address, and the default IP address remains disabled before the switch is restarted.

  • When the switch uses the IP address assigned by DHCP server, if the IP address lease is out of date and the switch cannot communicate with DHCP server, the IP address will be null. The switch will continue to attempt to obtain an IP address from the DHCP server and the default IP address remains disabled before the switch is restarted.

Modifying the IP Address

NOTE:

Please be cautious to perform this operation. If the IP address of out-of-band management interface is modified, the user login session will be interrupted, and you need to log in again with the new IP address.

To modify the default IP address of interface eth0, take the following steps:

Step 1       Specify the IP address for interface eth0. Meanwhile, the DHCP client function is disabled.

set system management-ethernet eth0 ip-address IPv4 <ipv4-address>

Step 2       Commit the configuration. If you configure multiple IP addresses, the latest configuration is valid.

Commit

Step 3       View the configuration information of interface eth0.

run show system management-ethernet

To delete the specified IP address of interface eth0, use the command delete system management-ethernet eth0 ip-address IPv4. Meanwhile, the DHCP client function is enabled.

Copyright © 2024 Pica8 Inc. All Rights Reserved.