H3C S5560手动配置系统时间,便于查看日志,通过命令配置
clock datetime 14:54:00 2019/09/26
结果显示需要手动配置 To manually set the system time, execute the clock protocol none command first.?
#要执行一条命令后方可修改系统时间,命令如下:
clock protocol none
什么命令可以查看被bpdu保护机制关闭的端口,H3C
显示被生成树保护功能阻塞的端口信息:display stp abnormal-port
显示被生成树保护功能down掉的端口信息:display stp down-port
[尤其是在边缘端口被bpdu保护down掉的]
DHCP的服务器收到客户端的分配请求 处理过程
测试在交换机接口开启边缘端口,在开启/关闭stp bpdu保护的作用效果,在测试过程中 模拟器存在不响应的情况,但可以触发起来
[H3C]dis stp brief
MST ID Port Role STP State Protection
0 GigabitEthernet1/0/1 DESI FORWARDING NONE
[H3C]no stp bpdu-protection
interface GigabitEthernet1/0/2
port link-mode bridge
combo enable fiber
stp edged-port
[H3C-GigabitEthernet1/0/2]dis stp brief
MST ID Port Role STP State Protection
0 GigabitEthernet1/0/1 DESI FORWARDING NONE
0 GigabitEthernet1/0/2 DESI FORWARDING NONE
[H3C-GigabitEthernet1/0/1]dis th
#
interface GigabitEthernet1/0/1
port link-mode bridge
combo enable fiber
stp edged-port
[H3C-GigabitEthernet1/0/1]dis stp brief
MST ID Port Role STP State Protection
0 GigabitEthernet1/0/1 ROOT FORWARDING NONE
[H3C]stp bpdu-protection
[H3C]
[H3C]i%Mar 31 10:04:56:361 2023 H3C IFNET/3/PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0/1 changed to down.
%Mar 31 10:04:56:362 2023 H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/1 changed to down.
%Mar 31 10:04:56:362 2023 H3C IFNET/3/PHY_UPDOWN: Physical state on the interface Vlan-interface1 changed to down.
%Mar 31 10:04:56:362 2023 H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface Vlan-interface1 changed to down.
n%Mar 31 10:04:56:384 2023 H3C STP/4/STP_BPDU_PROTECTION: BPDU-Protection port GigabitEthernet1/0/1 received BPDUs.
t
[H3C-GigabitEthernet1/0/1]dis stp down-port
Down Port Reason
GigabitEthernet1/0/1 BPDU protection
[H3C-GigabitEthernet1/0/1]dis stp brief
MST ID Port Role STP State Protection