*Apr 29 08:43:36.772: %LINK-3-UPDOWN: Interface GigabitEthernet2/0/21, changed state to up
*Apr 29 08:43:37.773: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/21, changed state to up
*Apr 29 09:17:44.510: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/21, changed state to down
*Apr 29 09:17:47.523: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/21, changed state to up
*May 10 07:58:01.323: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/21, changed state to down
*May 10 07:58:06.402: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/21, changed state to up
试试关闭两端端口自协商,且思科设备关闭DTP协商。配置命令如下:
华为设备:
interface GigabitEthernet x/x/x
undo negotiation auto
port link-type trunk
port trunk allow-pass vlan xx
思科设备:
interface GigabitEthernetx/x/x
switchport trunk encapsulation dot1q
switchport trunk allowed vlan xx
switchport mode trunk
switchport nonegotiate
speed nonegotiate