Title: How to configure Hot Swapping? [Print this page] Author: zhangqiao@ruiji Time: 2025-3-4 15:48 Title: How to configure Hot Swapping? IIntroduction
Module hot swapping is a maintenance function provided by chassis-type devices. With this function, users can insert or remove a module when a device is operating.
The module hot swapping function supports automatic installation, unloading, reset, and information query of various hot-swappable modules (including Supervisor Engines, line cards, switch fabric modules, andmulti-service cards) on chassis-type devices.
II Key configurations
1. Clearing and Modifying Module/Device Configurations
1.1 Overview
In different circumstances, differentconfigurations need to be cleared. The specific application scenarios are
described as follows:
Clearing the configurations of a module; A user inserts a board card into a slot on adevice. Later, the user removes the board card and deletes the configurationsof the board card and its port because the board card is no longer used.
Clearing the configuration of a VSU member device: A user uses a member device in a VSU.Later, the user removes the device from the VSU and deletes the configurationsof the member device in the VSU.
Deleting the MAC address retained in the configuration file: A user hopes to change theMAC address of the system and uses the new MAC address elected by the system. Generally,the MAC address used by the system is stored in the Supervisor Engine or flash memory of the chassis. In VSU mode, however, the system automatically storesthe used MAC address in the configuration file to avoid interruption caused bythe change of the MAC address. If a valid MAC address exists in theconfiguration file after restart of the
device,the MAC address is used in preference.
Modifying the MAC address retained in the configuration file; The function is used when the system MAC address of a device needs to be modified. In gateway mode (the auth-mode gateway command is configured in the system), the gateway MAC address is bound on some peripheral devices. If the gateway is replaced, users can runthe sysmac command to set the gateway MAC address to the MAC address of the new gateway so that configurations do not need to be modified for downstream devices with the gateway MAC address bound. The sysmac command is available only when the system is configured to work in gateway mode.
Setting the Application Level of a Device
1.2 Configuration steps
(1) Enter privileged EXEC mode.
enable
(2) Enterglobal configuration mode.
configure terminal
(3) (Optional) Clear the configurations of a module.
removeconfiguration module slot-number
This command is applicable to only chassis-typedevices
(4) (Optional) Clear the configuration of a VSU member device.
removeconfiguration device device-id
(5) (Optional) Modify the MAC address retained in the configuration file.
sysmacmac-address
No MAC address is specified for the system by default.
2. Setting the Application Level of a Device
2.1 Overview
This section describes how to set the application level for a device so that the administrator can intuitively learn the network layer to which the device belongs. Configurable application levels include the core layer, convergence layer, and access layer.
2.2 Configuration steps
(1) Enter privileged EXEC mode.
enable
(2) Enterglobal configuration mode.
configureterminal
(3) Set theapplication level of the device.
device-level{ core | collect | access }
The application level of a device is obtained fromthe XML file by default.
Welcome to Ruijie Community (https://community.ruijienetworks.com/)