实验现象
sw1和sw2互联的两条链路加入统一聚合口1,配置为动态聚合
具体debug信息见文章最后SW1和SW2
1、默认情况下lacp为长超时,disp link-agg ver bri 1 本端和对端的flags “B”都没有置位(表示默认为长超时),debugging lacp(debugging link-aggregation lacp all)报文情况来看,sw1和sw2 的send和receive 方向lacp报文都是30秒发送一次
2、将sw1 2个成员接口修改为短超时,sw2保持不变,接口都为selected状态,sw1本端B置位,对端保持默认,debugging lacp packets情况来看,sw1 send方向还是30秒发送一次,receive 1秒一次,对应的,SW2 1秒send一次,30秒receive一次;
Sw1
Sw2
结论
在本端修改超时时间,是告诉对端以多少时间来发送lacp报文,是独立的,两端短超时或者长超时的配置不用匹配也能正常协商
debug信息
SW1
Cryptographic algorithms tests passed.
Startup configuration file doesn't exist or is invalid.
Performing automatic configuration... Press CTRL_C or CTRL_D to break.
Automation attempt: 1.
Not ready for automatic configuration: no interfa ce available.
Waiting for the next...
Automatic configuration is running, press CTRL_C or CTRL_D to break.
Automatic configuration is running, press CTRL_C or CTRL_D to break.
Automatic configuration is aborted.
Line con0 is available.
Press ENTER to get started.
************************************************* *****************************
* Copyright (c) 2004-2022 New H3C Technologies Co ., Ltd. All rights reserved.*
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
************************************************* *****************************
<H3C>%Sep 5 16:08:38:391 2023 H3C SHELL/5/SHELL_ LOGIN: Console logged in from con0.
<H3C>%Sep 5 16:08:39:024 2023 H3C STP/6/STP_NOTI FIED_TC: Instance 0's port GigabitEthernet1/0/1 w as notified a topology change.
<H3C>
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]int bri
[H3C]int Bridge-Aggregation 1
[H3C-Bridge-Aggregation1]int gi 0/1
^
% Unrecognized command found at '^' position.
[H3C-Bridge-Aggregation1]int gi 1/0/1
[H3C-GigabitEthernet1/0/1]dis this
#
interface GigabitEthernet1/0/1
port link-mode bridge
combo enable fiber
#
return
[H3C-GigabitEthernet1/0/1]port?
port Set port attributes
port-isolate Port isolation configuration
port-security Port security module
[H3C-GigabitEthernet1/0/1]port ?
access Set access port attributes
auto-power-down Auto power down an idle inter face
erps Ethernet Ring Protection Swit ching(ERPS) module
hybrid Set hybrid port attributes
link-aggregation Link aggregation group
link-mode Switch the specified interfac e to layer2 or layer3 ethernet
link-type Set the link type
monitor-link Monitor Link module
multicast-vlan Specify a multicast VLAN
private-vlan Private VLAN function
pvid Forward packets within the PV ID
service-loopback Service loopback group module
smart-link Smart Link module
trunk Set trunk port attributes
up-mode Forcibly bring up an interfac e without a fiber connection
[H3C-GigabitEthernet1/0/1]port link
[H3C-GigabitEthernet1/0/1]link
[H3C-GigabitEthernet1/0/1]link-a
[H3C-GigabitEthernet1/0/1]link-aggregation ?
port-priority Specify port priority
[H3C-GigabitEthernet1/0/1]port link
[H3C-GigabitEthernet1/0/1]port link-ag
[H3C-GigabitEthernet1/0/1]port link-aggregation g
[H3C-GigabitEthernet1/0/1]port link-aggregation g roup 1
[H3C-GigabitEthernet1/0/1]%Sep 5 16:09:54:608 20 23 H3C IFNET/5/LINK_UPDOWN: Line protocol state o n the interface GigabitEthernet1/0/1 changed to d own.
%Sep 5 16:09:54:608 2023 H3C IFNET/3/IF_JUMBOFRA ME_WARN: The jumboframe of the aggregate interfac e Bridge-Aggregation1 is not supported on the mem ber port GigabitEthernet1/0/1
%Sep 5 16:09:54:609 2023 H3C LAGG/6/LAGG_ACTIVE: Member port GE1/0/1 of aggregation group BAGG1 c hanged to the active state.
%Sep 5 16:09:54:611 2023 H3C IFNET/5/LINK_UPDOWN : Line protocol state on the interface GigabitEth ernet1/0/1 changed to up.
%Sep 5 16:09:54:611 2023 H3C IFNET/3/PHY_UPDOWN: Physical state on the interface Bridge-Aggregati on1 changed to up.
%Sep 5 16:09:54:611 2023 H3C IFNET/5/LINK_UPDOWN : Line protocol state on the interface Bridge-Agg regation1 changed to up.
%Sep 5 16:09:54:612 2023 H3C STP/6/STP_NOTIFIED_ TC: Instance 0's port GigabitEthernet1/0/2 was no tified a topology change.
%Sep 5 16:09:54:612 2023 H3C STP/6/STP_DETECTED_ TC: Instance 0's port Bridge-Aggregation1 detecte d a topology change.
[H3C-GigabitEthernet1/0/1]
[H3C-GigabitEthernet1/0/1]int gi 1/0/2
[H3C-GigabitEthernet1/0/2]port link
[H3C-GigabitEthernet1/0/2]port link-a
[H3C-GigabitEthernet1/0/2]port link-aggregation g rou
[H3C-GigabitEthernet1/0/2]port link-aggregation g roup 1
[H3C-GigabitEthernet1/0/2]%Sep 5 16:10:03:864 20 23 H3C IFNET/5/LINK_UPDOWN: Line protocol state o n the interface GigabitEthernet1/0/2 changed to d own.
%Sep 5 16:10:03:864 2023 H3C IFNET/3/IF_JUMBOFRA ME_WARN: The jumboframe of the aggregate interfac e Bridge-Aggregation1 is not supported on the mem ber port GigabitEthernet1/0/2
%Sep 5 16:10:03:868 2023 H3C LAGG/6/LAGG_ACTIVE: Member port GE1/0/2 of aggregation group BAGG1 c hanged to the active state.
%Sep 5 16:10:03:869 2023 H3C IFNET/5/LINK_UPDOWN : Line protocol state on the interface GigabitEth ernet1/0/2 changed to up.
%Sep 5 16:10:05:230 2023 H3C STP/6/STP_NOTIFIED_ TC: Instance 0's port Bridge-Aggregation1 was not ified a topology change.
%Sep 5 16:10:08:032 2023 H3C STP/6/STP_NOTIFIED_ TC: Instance 0's port Bridge-Aggregation1 was not ified a topology change.
%Sep 5 16:10:22:039 2023 H3C STP/6/STP_NOTIFIED_ TC: Instance 0's port Bridge-Aggregation1 was not ified a topology change.
%Sep 5 16:10:32:039 2023 H3C STP/4/STP_DISPUTE: Instance 0's port Bridge-Aggregation1 received an inferior BPDU from a designated port which is in forwarding or learning state. The designated bri dge ID contained in the BPDU is 32768.1ee8-7f42-0 200, and the designated port ID contained in the BPDU is 128.1027.
%Sep 5 16:10:32:040 2023 H3C STP/6/STP_DISPUTE_R ESTORATION: Instance 0's port Bridge-Aggregation1 exited the dispute state.
%Sep 5 16:10:32:815 2023 H3C STP/4/STP_DISPUTE: Instance 0's port Bridge-Aggregation1 received an inferior BPDU from a designated port which is in forwarding or learning state. The designated bri dge ID contained in the BPDU is 32768.1ee8-7f42-0 200, and the designated port ID contained in the BPDU is 128.1027.
%Sep 5 16:10:32:819 2023 H3C STP/6/STP_NOTIFIED_ TC: Instance 0's port Bridge-Aggregation1 was not ified a topology change.
%Sep 5 16:10:32:819 2023 H3C STP/6/STP_DISPUTE_R ESTORATION: Instance 0's port Bridge-Aggregation1 exited the dispute state.
%Sep 5 16:10:35:038 2023 H3C STP/6/STP_NOTIFIED_ TC: Instance 0's port Bridge-Aggregation1 was not ified a topology change.
[H3C-GigabitEthernet1/0/2]
[H3C-GigabitEthernet1/0/2]%Sep 5 16:11:05:229 20 23 H3C STP/6/STP_NOTIFIED_TC: Instance 0's port B ridge-Aggregation1 was notified a topology change .
int bri
[H3C-GigabitEthernet1/0/2]int bri1
[H3C-Bridge-Aggregation1]link
[H3C-Bridge-Aggregation1]link-a
[H3C-Bridge-Aggregation1]link-aggregation la
[H3C-Bridge-Aggregation1]link-aggregation mo
[H3C-Bridge-Aggregation1]link-aggregation mode dy
[H3C-Bridge-Aggregation1]link-aggregation mode dy namic
[H3C-Bridge-Aggregation1]%Sep 5 16:11:14:785 202 3 H3C LAGG/6/LAGG_LACP_RECEIVE_TIMEOUT: LACPDU re ception timed out on member port GE1/0/1 in aggre gation group BAGG1.
%Sep 5 16:11:14:787 2023 H3C LAGG/6/LAGG_INACTIV E_IFCFG_NONAGG: Member port GE1/0/1 of aggregatio n group BAGG1 changed to the inactive state, beca use the link of the port was not aggregatable.
%Sep 5 16:11:14:787 2023 H3C LAGG/6/LAGG_INACTIV E_IFCFG_NONAGG: Member port GE1/0/2 of aggregatio n group BAGG1 changed to the inactive state, beca use the link of the port was not aggregatable.
%Sep 5 16:11:14:788 2023 H3C LAGG/6/LAGG_LACP_RE CEIVE_TIMEOUT: LACPDU reception timed out on memb er port GE1/0/2 in aggregation group BAGG1.
%Sep 5 16:11:14:790 2023 H3C LAGG/6/LAGG_ACTIVE: Member port GE1/0/1 of aggregation group BAGG1 c hanged to the active state.
%Sep 5 16:11:14:791 2023 H3C LAGG/6/LAGG_INACTIV E_OPERSTATE: Member port GE1/0/1 of aggregation g roup BAGG1 changed to the inactive state, because the peer port did not have the Synchronization f lag.
%Sep 5 16:11:14:792 2023 H3C IFNET/5/LINK_UPDOWN : Line protocol state on the interface GigabitEth ernet1/0/1 changed to down.
%Sep 5 16:11:14:792 2023 H3C IFNET/5/LINK_UPDOWN : Line protocol state on the interface GigabitEth ernet1/0/2 changed to down.
%Sep 5 16:11:14:792 2023 H3C IFNET/3/PHY_UPDOWN: Physical state on the interface Bridge-Aggregati on1 changed to down.
%Sep 5 16:11:14:792 2023 H3C IFNET/5/LINK_UPDOWN : Line protocol state on the interface Bridge-Agg regation1 changed to down.
%Sep 5 16:11:14:792 2023 H3C IFNET/5/LINK_UPDOWN : Line protocol state on the interface GigabitEth ernet1/0/1 changed to up.
%Sep 5 16:11:14:792 2023 H3C IFNET/5/LINK_UPDOWN : Line protocol state on the interface GigabitEth ernet1/0/1 changed to down.
%Sep 5 16:11:14:793 2023 H3C LAGG/6/LAGG_ACTIVE: Member port GE1/0/1 of aggregation group BAGG1 c hanged to the active state.
%Sep 5 16:11:14:794 2023 H3C IFNET/5/LINK_UPDOWN : Line protocol state on the interface GigabitEth ernet1/0/1 changed to up.
%Sep 5 16:11:14:794 2023 H3C IFNET/3/PHY_UPDOWN: Physical state on the interface Bridge-Aggregati on1 changed to up.
%Sep 5 16:11:14:794 2023 H3C IFNET/5/LINK_UPDOWN : Line protocol state on the interface Bridge-Agg regation1 changed to up.
%Sep 5 16:11:14:795 2023 H3C LAGG/6/LAGG_ACTIVE: Member port GE1/0/2 of aggregation group BAGG1 c hanged to the active state.
%Sep 5 16:11:14:796 2023 H3C IFNET/5/LINK_UPDOWN : Line protocol state on the interface GigabitEth ernet1/0/2 changed to up.
%Sep 5 16:11:14:798 2023 H3C STP/6/STP_DETECTED_ TC: Instance 0's port Bridge-Aggregation1 detecte d a topology change.
[H3C-Bridge-Aggregation1]
[H3C-Bridge-Aggregation1]
[H3C-Bridge-Aggregation1]
[H3C-Bridge-Aggregation1]
[H3C-Bridge-Aggregation1]
[H3C-Bridge-Aggregation1]quit
[H3C]int %Sep 5 16:11:17:230 2023 H3C STP/6/STP_ NOTIFIED_TC: Instance 0's port Bridge-Aggregation 1 was notified a topology change.
[H3C]
[H3C]dis link
[H3C]dis link-aggregation ver bri
[H3C]dis link-aggregation ver Bridge-Aggregation 1
Loadsharing Type: Shar -- Loadsharing, NonS -- No n-Loadsharing
Port Status: S -- Selected, U -- Unselected, I -- Individual
Port: A -- Auto port, M -- Management port, R -- Reference port
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregate Interface: Bridge-Aggregation1
Creation Mode: Manual
Aggregation Mode: Dynamic
Loadsharing Type: Shar
Management VLANs: None
System ID: 0x8000, 1ee8-7ab8-0100
Local:
Port Status Priority Index Oper-Key Flag
GE1/0/1(R) S 32768 1 1 {ACDEF}
GE1/0/2 S 32768 2 1 {ACDEF}
Remote:
Actor Priority Index Oper-Key SystemID Flag
GE1/0/1 32768 1 1 0x8000, 1ee8-7f42-0200 {ACDE}
GE1/0/2 32768 2 1 0x8000, 1ee8-7f42-0200 {ACDEF}
[H3C]
[H3C]
[H3C]dis link-aggregation ver Bridge-Aggregation 1
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected, I -- Individual
Port: A -- Auto port, M -- Management port, R -- Reference port
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregate Interface: Bridge-Aggregation1
Creation Mode: Manual
Aggregation Mode: Dynamic
Loadsharing Type: Shar
Management VLANs: None
System ID: 0x8000, 1ee8-7ab8-0100
Local:
Port Status Priority Index Oper-Key Flag
GE1/0/1(R) S 32768 1 1 {ACDEF}
GE1/0/2 S 32768 2 1 {ACDEF}
Remote:
Actor Priority Index Oper-Key SystemID Flag
GE1/0/1 32768 1 1 0x8000, 1ee8-7f42-0200 {ACDE}
GE1/0/2 32768 2 1 0x8000, 1ee8-7f42-0200 {ACDEF}
[H3C]dis link-aggregation ver Bridge-Aggregation 1
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected, I -- Individual
Port: A -- Auto port, M -- Management port, R -- Reference port
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregate Interface: Bridge-Aggregation1
Creation Mode: Manual
Aggregation Mode: Dynamic
Loadsharing Type: Shar
Management VLANs: None
System ID: 0x8000, 1ee8-7ab8-0100
Local:
Port Status Priority Index Oper-Key Flag
GE1/0/1(R) S 32768 1 1 {ACDEF}
GE1/0/2 S 32768 2 1 {ACDEF}
Remote:
Actor Priority Index Oper-Key SystemID Flag
GE1/0/1 32768 1 1 0x8000, 1ee8-7f42-0200 {ACDEF}
GE1/0/2 32768 2 1 0x8000, 1ee8-7f42-0200 {ACDEF}
[H3C]dis link-aggregation ver Bridge-Aggregation 1
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected, I -- Individual
Port: A -- Auto port, M -- Management port, R -- Reference port
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregate Interface: Bridge-Aggregation1
Creation Mode: Manual
Aggregation Mode: Dynamic
Loadsharing Type: Shar
Management VLANs: None
System ID: 0x8000, 1ee8-7ab8-0100
Local:
Port Status Priority Index Oper-Key Flag
GE1/0/1(R) S 32768 1 1 {ACDEF}
GE1/0/2 S 32768 2 1 {ACDEF}
Remote:
Actor Priority Index Oper-Key SystemID Flag
GE1/0/1 32768 1 1 0x8000, 1ee8-7f42-0200 {ACDEF}
GE1/0/2 32768 2 1 0x8000, 1ee8-7f42-0200 {ACDEF}
[H3C]termi
[H3C]term
[H3C]ter
[H3C]quit
<H3C>%Sep 5 16:11:45:533 2023 H3C CFGMAN/5/CFGMAN_EXIT_FROM_CONFIGURE: -Line=con0-IPAddr=**-User=**; Exit from the system view or a feature view to the user view.
<H3C>
<H3C>termi
<H3C>terminal de
<H3C>terminal debugging
The current terminal is enabled to display debugging logs.
<H3C>termi
<H3C>terminal mo
<H3C>terminal monitor
The current terminal is enabled to display logs.
<H3C>debu
<H3C>debugging la
<H3C>debugging ?
aaa AAA module
acl Specify ACL configuration information
arp ARP module
arpmad Apply ARP for multi-active detection
attack-defense Configure the attack defense function
bfd BFD module
bgp Border Gateway Protocol (BGP) module
cfd Connectivity Fault Detection (CFD) module
cloud-management Cloud connection module
crypto-engine Crypto engine module
cwmp CPE WAN Management Protocol (CWMP) module
dcbx Data Center Bridge Capability Exchange Protocol
ddns Dynamic Domain Name System (DDNS) module
dev DEV module
dhcp DHCP module
dldp DLDP module
dns Domain Name System (DNS) module
dot1x 802.1X module
epa Endpoint analyzer module
erps Ethernet Ring Protection Switching(ERPS) module
ethernet Ethernet module
evb Edge Virtual Bridging (EVB) module
event-mib Event-MIB module
ftp-server FTP server information
gre GRE module
ha High availability information
http-redirect HTTP redirect feature
hwtacacs HWTACACS module
ifmgr Interface module
igmp IGMP information
igmp-snooping Internet Group Management Protocol snooping module
ike Internet Key Exchange module
ikev2 Internet Key Exchange version 2 (IKEv2) module
ip IP information
ipsec IP Security module
ipsgt IP address-security group tag module
ipv6 IPv6 information
isis Intermediate System-to-Intermediate System (IS-IS)
module
issu-keep-alive Issu keep alive
keychain Keychain module
l2mf MFIB l2mf
l2vpn Layer 2 Virtual Private Network (L2VPN) module
ldap LDAP Debug
link-aggregation Link aggregation group module
lldp Link Layer Discovery Protocol (802.1ab)
local-server Debug local server
loopback-detection Loop detection module
m-lag Multichassis Link Aggregation (M-LAG) feature
information
mac-address Configure MAC address
mac-authentication MAC authentication module
mac-forced-forwarding MAC-forced forwarding configuration
mac-forwarding MAC forwarding information
mdns Multicast domain name service
mfib Multicast Forwarding Information Base (MFIB) module
mld MLD information
mld-snooping Multicast Listener Discovery snooping module
monitor-link Monitor Link module
mpls Multiprotocol Label Switching (MPLS) module
mrib Multicast Routing Information Base (MRIB) module
msdp Multicast Source Discovery Protocol (MSDP) module
mtrace Specify multicast traceroute funtion
multicast-vpn Multicast VPN module
mvrp Multiple VLAN registration protocol
ndmad Apply ND for multi-active detection
netconf Network Configuration Protocol (NETCONF) configuration
nqa NQA module
ntp-service Network Time Protocol (NTP) module
oam OAM module
onvif Open Network Video Interface Forum module
openflow OpenFlow module
osi OSI connection information
ospf OSPF module
ospfv3 OSPFv3 module
pbb Provider Backbone Bridge (PBB) module
pex Port extender module
pim Protocol Independent Multicast (PIM) module
pki Public Key Infrastructure (PKI) module
port-security Port security module
portal Portal authentication module
proxy-arp Porxy ARP debugging
proxy-nd Proxy ND debugging
ptp Precision Time Protocol module
qcn Quantized Congestion Notification (QCN) module
radius Remote Authentication Dial-in User Service (RADIUS)
module
rawip RawIP module
rib RIB module
rip RIP module
ripng RIPng module
rmon RMON module
role Specify the user role configuration information
route-direct Direct routing module
route-policy Routing policy module
route-static Unicast static routing module
rrpp Rapid Ring Protection Protocol(RRPP) module
rsvp Resource Reservation Protocol (RSVP) module
service-loopback Service loopback group module
sflow sFlow function
smart-link Smart Link module
smartmc SmartMC module
snmp Simple Network Management Protocol module
sntp SNTP module debugging
spbm Specify the SPBM module
spbm-fdb SPBM-FDB module
ssh Secure Shell module
stm IRF topology management
stp Spanning Tree Protocol module
system-event Event debugging switch
tcp TCP module
telnet Telnet module
track Track module
trill TRansparent Interconnection of Lots of Links (TRILL)
module
trill-channel TRILL channel feature
tunnel Tunnel module
tunnel-bundle Specify tunnel bundle debugging
tunnel4 IPv4 tunnel
tunnel6 IPv6 tunnel
udp UDP module
udp-helper UDP helper function
vlan-termination VLAN termination module
vrrp Virtual Router Redundancy Protocol (VRRP) module
vxlan Virtual eXtensible LAN module
<H3C>debugging l
标签:H3C,Bridge,--,Sep,对接,module,LACP,超时,port From: https://blog.csdn.net/weixin_42334426/article/details/136662519