交换机配置了环路检测,接口检测到环路执行shutdown,没有看到恢复的命令,然后当时出现环路检测后关闭了上行接口,大概过来三十秒有恢复UP了,这个是默认的吗?
loopback-detection global enable vlan 1 to 4094
loopback-detection global action shutdown
loopback-detection interval-time 35
version 7.1.070, Release 6318P01
#
sysname 3Tu-20dian-6.38
#
clock timezone GMT add 08:00:00
#
telnet server enable
#
voice-vlan mac-address 0080-9f00-0000 mask ffff-ff00-0000 description IP4028
voice-vlan mac-address 0026-8b00-0000 mask ffff-ff00-0000 description IP8001
#
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
irf member 1 priority 1
#
dot1x
dot1x authentication-method eap
dot1x timer reauth-period 900
#
mac-authentication
#
lldp global enable
#
loopback-detection global enable vlan 1 to 4094
loopback-detection global action shutdown
loopback-detection interval-time 35
#
password-recovery enable
#
vlan 1
#
vlan 2
#
vlan 50
#
vlan 208
#
vlan 900
#
stp global enable
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.6.38 255.255.255.0
dhcp client identifier ascii 74d6cb98da02-VLAN0001
#
interface GigabitEthernet1/0/1
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 50 untagged
port hybrid pvid vlan 50
voice-vlan 900 enable
stp edged-port
dot1x
undo dot1x handshake
dot1x guest-vlan 208
mac-authentication
#
interface GigabitEthernet1/0/2
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 50 untagged
port hybrid pvid vlan 50
voice-vlan 900 enable
stp edged-port
dot1x
undo dot1x handshake
dot1x guest-vlan 208
mac-authentication
#
interface GigabitEthernet1/0/3
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 50 untagged
port hybrid pvid vlan 50
voice-vlan 900 enable
stp edged-port
dot1x
undo dot1x handshake
dot1x guest-vlan 208
mac-authentication
#
interface GigabitEthernet1/0/4
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 50 untagged
port hybrid pvid vlan 50
voice-vlan 900 enable
stp edged-port
dot1x
undo dot1x handshake
dot1x guest-vlan 208
mac-authentication
#
interface GigabitEthernet1/0/5
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 50 untagged
port hybrid pvid vlan 50
voice-vlan 900 enable
stp edged-port
dot1x
undo dot1x handshake
dot1x guest-vlan 208
mac-authentication
#
interface GigabitEthernet1/0/6
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 50 untagged
port hybrid pvid vlan 50
voice-vlan 900 enable
stp edged-port
dot1x
undo dot1x handshake
dot1x guest-vlan 208
mac-authentication
#
interface GigabitEthernet1/0/7
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 50 untagged
port hybrid pvid vlan 50
voice-vlan 900 enable
stp edged-port
dot1x
undo dot1x handshake
dot1x guest-vlan 208
mac-authentication
#
interface GigabitEthernet1/0/8
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 50 untagged
port hybrid pvid vlan 50
voice-vlan 900 enable
stp edged-port
dot1x
undo dot1x handshake
dot1x guest-vlan 208
mac-authentication
#
interface GigabitEthernet1/0/9
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 50 untagged
port hybrid pvid vlan 50
voice-vlan 900 enable
combo enable auto
stp edged-port
dot1x
undo dot1x handshake
dot1x guest-vlan 208
mac-authentication
#
interface GigabitEthernet1/0/10
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 50 untagged
port hybrid pvid vlan 50
voice-vlan 900 enable
combo enable auto
stp edged-port
dot1x
undo dot1x handshake
dot1x guest-vlan 208
mac-authentication
#
interface GigabitEthernet1/0/11
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/12
description To_6.90 GE0/0/28
port link-type trunk
port trunk permit vlan all
#
scheduler logfile size 16
#
line class aux
user-role network-admin
#
line class vty
user-role network-operator
#
line aux 0
user-role network-admin
#
line vty 0 4
authentication-mode scheme
user-role network-operator
idle-timeout 5 0
#
line vty 5 63
user-role network-operator
#
ip route-static 0.0.0.0 0 192.168.6.254
#
ssh server enable
#
role name level-0
description Predefined level-0 role
#
role name level-1
description Predefined level-1 role
#
role name level-2
description Predefined level-2 role
#
role name level-3
description Predefined level-3 role
#
role name level-4
description Predefined level-4 role
#
role name level-5
description Predefined level-5 role
#
role name level-6
description Predefined level-6 role
#
role name level-7
description Predefined level-7 role
#
role name level-8
description Predefined level-8 role
#
role name level-9
description Predefined level-9 role
#
role name level-10
description Predefined level-10 role
#
role name level-11
description Predefined level-11 role
#
role name level-12
description Predefined level-12 role
#
role name level-13
description Predefined level-13 role
#
role name level-14
description Predefined level-14 role
#
user-group system
(0)
最佳答案
30秒恢复默认是根据shutdown-interval来控制的,默认是30秒,你可以修改为1秒看看效果,会发现频繁的up/down(如果有环路的话),然后你的loopback-detection interval-time 35是35秒检测一次是否有环,比如一个接口开着,第一次检测没环路,要35秒之后才开始第二次检测
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
这个下个周期检测环路消失后,会自动开启端口吗