Default Settings for In-Band Management Interface on S3410 Series Switches
Overview
NOTEs:
Currently, only S3410 Series switches support this feature.
The VLAN interface inband-mgmt cannot be deleted.
By default, all ethernet ports are enabled. If you run command set interface gigabit-ethernet disable true to disable ports, please make sure that at least one port in VLAN 1 is always enabled.
By default, the in-band management interface, VLAN interface inband-mgmt, is configured with the factory default IP address 192.168.1.1/24 based on VLAN 1. In this way, when you cannot obtain valid IP address or with no eth0 management interface to access the switch, a built-in IP address of the in-band management interface 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:
By default, the DHCP client function is enabled. When the switch boots, it attempts to obtain IP address through DHCP assignment before loading configuration files, if successful, it uses this IP address; if fails to obtain in 1 minutes, it uses the factory default IP address.
When the switch loads configuration files with a static IP address, or when you specify an IP address for the in-band management interface inband-mgmt, it uses the configured IP address. For details on modifying the IP address of the in-band management interface inband-mgmt, 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.
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 covered with 0.0.0.0 and the switch will execute the matching process again to obtain the IP address.
Modifying the IP Address
NOTE:
Please be cautious to perform this operation. If the IP address of in-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 inband-mgmt, take the following steps:
Step 1Â Â Â Â Â Â Â Â Disable the DHCP function.
set l3-interface vlan-interface inband-mgmt dhcp false
Step 2Â Â Â Â Â Â Specify the IP address for interface inband-mgmt.
set l3-interface vlan-interface inband-mgmt address <ipv4-address | ipv6-address> prefix-length <length>
Step 3Â Â Â Â Â Â Commit the configuration. If you configure multiple IP addresses, the latest configuration is valid.
Commit
Step 4Â Â Â Â Â Â View the inband-mgmt configuration information.
run show l3-interface vlan-interface inband-mgmt
Step 5Â Â Â Â Â Â Restore the IP address to default value 192.168.1.1.
rollback default
Copyright © 2024 Pica8 Inc. All Rights Reserved.