1.先检查版本
2.

注意: 交换机堆叠完成后,会自动选取其中一台交换机的配置,其他交换机的配置会自动丢掉,要提前做好备份的准备
1.show switch先查看自己是几号交换机
2.然后输入命令switch 1 renumber 2
3.重启,(如果不重启会导致重命名失败)
4。命令输入switch 2 priority 8 (设置2号交换机的优先级为8,最大为15)
5.查看命令show switch(查看是否堆叠成功)
6.查看命令show switch stack-ports (查看端口是否堆叠成功)
7.保存 #write

--------------------------------------------------------------------------------------------------------
查看光衰命令:
2#show interfaces transceiver detail
mA: milliamperes, dBm: decibels (milliwatts), NA or N/A: not applicable.
++ : high alarm, + : high warning, - : low warning, -- : low alarm.
A2D readouts (if they differ), are reported in parentheses.
The threshold values are calibrated.
High Alarm High Warn Low Warn Low Alarm
Temperature Threshold Threshold Threshold Threshold
Port (Celsius) (Celsius) (Celsius) (Celsius) (Celsius)
--------- ------------------ ---------- --------- --------- ---------
Gi1/0/25 40.3 90.0 85.0 -5.0 -10.0
Gi3/0/26 40.9 90.0 85.0 -5.0 -10.0
High Alarm High Warn Low Warn Low Alarm
Voltage Threshold Threshold Threshold Threshold
Port (Volts) (Volts) (Volts) (Volts) (Volts)
--------- --------------- ---------- --------- --------- ---------
Gi1/0/25 3.33 3.63 3.47 3.14 2.97
Gi3/0/26 3.35 3.63 3.47 3.14 2.97
Optical High Alarm High Warn Low Warn Low Alarm
Transmit Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
--------- ----------------- ---------- --------- --------- ---------
Gi1/0/25 -5.8 0.0 -3.0 -9.5 -13.5
Gi3/0/26 -5.7 0.0 -3.0 -9.5 -13.5
Optical High Alarm High Warn Low Warn Low Alarm
Receive Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
------- ----------------- ---------- --------- --------- ---------
Gi1/0/25 -5.6 3.0 0.0 -17.0 -21.0
Gi3/0/26 -7.3 3.0 0.0 -17.0 -21.0


Gi1/0/9、Gi1/0/11是GLC-SX-MMD
Gi1/0/10、Gi1/0/12是GLC-LH-SMD
查看光模块是多模还是单模:
show interface status
浙公网安备 33010602011771号