2.13. Configuring Device Management

Overview

Function Introduction

User can manage the switch through the management port. The switch has two management ports: an Ethernet port and a console port.

Principle Description

N/A

Configuration

Configuring console port for management

The default console parameters of switch are:

  • Baud rate default is 115200.

  • Data bits default is 8.

  • Stop bits default is 1.

  • Parity settings default is none.

Before you can assign switch information, make sure you have connected a PC or terminal to the console port, and configured the PC or terminal software parameters to match the default console port parameters. After login in the switch, you can modify the console parameters.

step 1 Enter the configure mode

Switch# configure terminal

step 2 Enter line configuration mode and set the console speed

Switch(config)# line console 0
Switch(config-line)# speed 19200

step 3 Exit the configure mode

Switch(config-line)# end

step 4 Validation

After the above setting, console port parameter has been changed, and the PC or terminal can’t configure the switch by console port. You must update PC or terminal console speed from 115200 to 19200 to match the new console parameter and can continue configure the switch by console port.

Configuring out band Ethernet port for management

In order to manage device by out band Ethernet port, you should configure management ip address first by console port.

step 1 Enter the configure mode

Switch# configure terminal

step 2 Configure switch management address

IPv4 & IPv6 are both supported, for example:

Switch(config)# management ip address 10.10.38.106/24
Switch(config)# management ipv6 address 2001:1000::1/96

step 3 Exit the configure mode

Switch(config)# end

step 4 Validation

Switch# show management ip address
Management IP address is: 10.10.38.106/24
Gateway: 0.0.0.0
Switch# show management ipv6 address
Management IPv6 address is: 2001:1000::1/96
Gateway: ::

Configuring Temperature

The switch supports temperature alarm management. You can configure three temperature thresholds: low, high and critical. When switch temperature is lower than low threshold or higher than higher threshold, the switch will be alarm. If the switch temperature is higher than critical threshold, the switch will cut off its power automatically.

step 1 Enter the configure mode

Switch# configure terminal

step 2 Configuring temperature threshold

5 for low; 70 for high; 90 for critical.

Switch(config)# temperature 5 70 90

step 3 Exit the configure mode

Switch(config)# end

step 4 Validation

Switch# show environment
---------------------------------------------------------
Sensor status (Degree Centigrade):
Index Temperature Lower_alarm Upper_alarm Critical_limit
1 50 5 70 90

Configuring Fan

The switch supports to manage fan automatically. If the fan is fail or the fan tray is absent, the switch will be alarm. And if the fan tray supports speed-adjust, the switch can adjust the fan speed depending on the real-time temperature. The switch has three temperature thresholds:

Tlow=50, Thigh=65 and Tcrit=80 Celsius scales. If Temperature > Thigh, the fan will run on 100% speed rate. And there has a temperature hysteresis Thyst=2 Celsius scales. Assuming temperature has previously crossed above Tlow, Thigh or Tcrit, then the temperature must drop below the points corresponding Thyst(Tlow-Thyst, Thigh-Thyst or Tcrit-Thyst) in order for the condition to drive fan speed rate to lower level. For example:

  • temperature is 58 Celsius scales, the fan speed rate is 30%; (Tlow<58<Thigh)

  • temperature increases to 65 Celsius scales, the fan speed rate is 70%;(Thigh=65)

  • temperature decreases to 63 Celsius scales, the fan speed rate is still 70%;(Thigh-Thyst =63)

  • temperature decreases to 62 Celsius scales, the fan speed rate is 30%;(62<Thigh-Thyst)

The Tlow, Thigh, Tcrit, Thyst and fan speed rate for each temperature threshold are hard code, and couldn’t be modified.

Switch# show environment
Fan tray status:
Index Status
1 PRESENT
FanIndex Status SpeedRate Mode
1-1 OK 30% Auto
1-2 OK 30% Auto
1-3 OK 30% Auto
1-4 OK 30% Auto
---------------------------------------------------------

Configuring Power

The switch supports to manage power status automatically. If the power is failed or the fan in power is failed, the switch will be alarm. If power is removed or inserted, the switch will notice user also.

User can show the power status to verify the power status.

Switch# show environment
---------------------------------------------------------
Power status:
Index Status Power Type Fans Control
1 PRESENT OK AC - -
2 ABSENT - - - -
3 PRESENT OK DC(PoE) - -
 -------------------------------------------------------

Configuring Transceiver

The switch supports manage the transceiver information, and the transceiver information includes basic information and diagnostic information. The basic information includes transceiver type, vendor name, PN, S/N, wavelength and link length for supported type. The diagnostic information includes real-time temperature, voltage, current, optical transmit power, optical receive power and the threshold about these parameters. If the transceiver is inserted or removed, the real-time parameter is out of threshold, the switch will notice the users.

User can show the transceiver information to verify this function.

Switch# show transceiver detail
Port eth-1-2 transceiver info:
Transceiver Type: 10G Base-SR
Transceiver Vendor Name : OEM
Transceiver PN : SFP-10GB-SR
Transceiver S/N : 201033PST1077C
Transceiver Output Wavelength: 850 nm
Supported Link Type and Length:
Link Length for 50/125um multi-mode fiber: 80 m
Link Length for 62.5/125um multi-mode fiber: 30 m
--------------------------------------------------------
Transceiver is internally calibrated.
mA: milliamperes, dBm: decibels (milliwatts), NA or N/A: not applicable.
++ : high alarm, + : high warning, - : low warning, -- : low alarm.
The threshold values are calibrated.
--------------------------------------------------------
High Alarm High Warn Low Warn Low Alarm
Temperature Threshold Threshold Threshold Threshold
Port (Celsius) (Celsius) (Celsius) (Celsius) (Celsius)
---- --------- --------- --------- --------- -----------
eth-1-2 25.92 95.00 90.00 -20.00 -25.00
--------------------------------------------------------
High Alarm High Warn Low Warn Low Alarm
Voltage Threshold Threshold Threshold Threshold
Port (Volts) (Volts) (Volts) (Volts) (Volts)
---- ------ -------- ------- ------- -------
eth-1-2 3.32 3.80 3.70 2.90 2.80
--------------------------------------------------------
High Alarm High Warn Low Warn Low Alarm
Current Threshold Threshold Threshold Threshold
Port (milliamperes) (mA) (mA) (mA) (mA)
---- -------------- ---- ---- ---- ----
eth-1-2 6.41 20.00 18.00 1.00 0.50
--------------------------------------------------------
Optical High Alarm High Warn Low Warn Low Alarm
Transmit Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
---- ----- ----- ----- ----- -----
eth-1-2 -2.41 2.01 1.00 -6.99 -7.96
--------------------------------------------------------
Optical High Alarm High Warn Low Warn Low Alarm
Receive Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
---- ----- ----- ----- ----- -----
eth-1-2 -12 - 1.00 0.00 -19.00 -20.00
--------------------------------------------------------

Upgrade bootrom

The switch supports to upgrade the bootrom image when system is running. And after upgrading, you must reboot the switch to take effect.

step 1 Copy bootrom image file to the flash

Switch# copy mgmt-if <tftp://10.10.38.160/bootrom.bin> flash:/boot/

step 2 Enter the configure mode

Switch# configure terminal

step 3 Upgrade the bootrom

Switch(config)# update bootrom flash:/boot/bootrom.bin

step 4 Exit the configure mode

Switch(config)# end

step 5 Reboot the system

Switch# reboot

step 6 Validation

After the above setting, you can show uboot version information ofplatform:

Switch# show version
......
EPLD Version is 1
BootRom Version is 3.0.2

Upgrade EPLD

The switch supports to upgrade the EPLD image when system is running. And after upgrading, you must reboot the switch to take effect.

step 1 Copy epld image file to the flash

Switch# copy mgmt-if <tftp://10.10.38.160/vme_v1.0> flash:/boot/vme_v1.0

step 2 Enter the configure mode

Switch# configure terminal

step 3 Upgrade the epld

Switch(config)# update epld flash:/boot/vme_v1.0

step 4 Exit the configure mode

Switch(config)# exit

step 5 Reboot the system

Switch# reboot

step 6 Validation

After the above setting, then power off and restart the device you can show epld version information with command:

Switch# show version
......
EPLD Version is 1
BootRom Version is 3.0.2

Application cases

N/A