NetWork
网络管理工具
PacketFence
QSFP
如何登录 华为 DeviceManager?
服务器 / 存储设备管理
ZeroTier
获取网卡UUID
net-tools 和 iproute2
H3C交换机的基本配置
Netbox --- IPAM 管理工具
Zabbix
phpIPAM
port mode
Link Aggregation
Cisco HSRP
Huawei VRRP
H3C IRF
EVE-NG
eNSP
本文档使用 MrDoc 发布
-
+
home page
Link Aggregation
# 1.链路聚合定义  1. 链路聚合的定义 端口捆绑技术:链路聚合是将一组物理接口捆绑一起作为一个逻辑接口来增加带宽的一种方法 。又称为多接口负载均衡组或链路聚合组。  2. 链路聚合好处 通过在两台设备之间建立链路路聚合组,可以提供更高的通讯带宽和更高的可靠性,链路聚合不仅为设备间提供了冗余保护,而且不需要对硬件进行升级。 3. 链路来源不同 Eth-Trunk:一般指同一设备的链路聚合,一台交换机将多个接口捆绑,形成一个Eth-Trunk接口,从而实现了增加带宽和提高可靠性的目的。 E-Trunk(Enhanced Trunk):一般指跨设备链路聚合,是一种实现跨设备链路聚合的机制,基于LACP(单台设备链路聚合的标准)进行了扩展,能够实现多台设备间的链路聚合。从而把链路可靠性从单板级提高到了设备级。 4. 优势不同 Eth-Trunk:通过Trunk接口可以实现负载分担。在一个Eth-Trunk接口内,可以实现流量负载分担。当某个成员接口连接的物理链路出现故障时,流量会切换到其他可用的链路上,从而提高整个Trunk链路的可靠性。Trunk接口的总带宽是各成员接口带宽之和。 E-Trunk(Enhanced Trunk):主要应用于CE双归接入VPLS、VLL、PWE3网络时,CE与PE间的链路保护以及对PE设备节点故障的保护。在没有使用E-Trunk前,CE通过Eth-Trunk链路只能单归到一个PE设备。 如果Eth-Trunk出现故障或者PE设备故障,CE将无法与PE设备继续进行通信。使用E-Trunk后,CE可以双归到PE上,从而实现设备间保护。 # 2.链路聚合实现的条件 1. 每个eth-trunk接口下最多可包含8个成员接口 2. 成员接口不能配置任何业务和静态Mac地址 3. 成员接口加入eth-trunk时必须为缺省的hybrid类型接口 4. eth-trunk接口不能嵌套,即成员接口不能是eth-trunk 5. 一个以太网接口只能加入到一个eth-trunk接口,如果需要加入其他的eth-trunk接口,必须先退出原来的eth-trunk接口 6. 一个eth-trunk接口中的成员必须是同一类型。例:FE口和GE口不能加入同一个eth-trunk接口中 7. 可以将不同接口板上的以太网接口接入到同一个eth-trunk 8. 如果本地设备使用了eth-trunk,与成员直接连接的对端接口也必须捆绑为eth-trunk接口,两端才能正常通信 9. 当成员接口速率不一致时,实际使用速率小的接口可能会出现拥塞,导致丢包 10. 当成员接口加入eth-trunk后,学习Mac地址时是按照eth-trunk来学习的,而不是按照成员接口来学习的 > 现实工作环境中一般不用10M接口做链路聚合 华为接口速率: Ethernet接口--接口速率10M Fastethernet接口---接口速率100M Gethernet接口---接口速率1000M # 3.链路聚合划分 链路聚合分为二层和三层 - 二层链路聚合针对二层交换机形成的链路不带ip功能 - 三层链路聚合针对三层交换机,形成的链路带ip功能 - 二层交换机接口成员只能是二层性质,接口链路类型可以是access和trunk - 三层交换机接口性质必须是二层性质和三层性质的二选一,若交换机接口性质是三层,那将不能设置链路类型为access和trunk ## Eth-Trunk(同设备链路聚合) 一台交换机将这多个接口捆绑,形成一个Eth-Trunk接口,从而实现了增加带宽和提高可靠性的目的。 Trunk接口连接的链路可以看成是一条点到点的直连链路。  Trunk的优势在于: - 负载分担 通过Trunk接口可以实现负载分担。在一个Eth-Trunk接口内,可以实现流量负载分担。 - 提高可靠性 当某个成员接口连接的物理链路出现故障时,流量会切换到其他可用的链路上,从而提高整个Trunk链路的可靠性。 - 增加带宽 Trunk接口的总带宽是各成员接口带宽之和。 ## E-Trunk(跨设备链路聚合) E-Trunk(Enhanced Trunk)是一种实现跨设备链路聚合的机制,基于LACP(单台设备链路聚合的标准)进行了扩展,能够实现多台设备间的链路聚合。从而把链路可靠性从单板级提高到了设备级。 E-Trunk机制主要应用于CE双归接入VPLS、VLL、PWE3网络时,CE与PE间的链路保护以及对PE设备节点故障的保护。在没有使用E-Trunk前,CE通过Eth-Trunk链路只能单归到一个PE设备。如果Eth-Trunk出现故障或者PE设备故障,CE将无法与PE设备继续进行通信。使用E-Trunk后,CE可以双归到PE上,从而实现设备间保护。  如果两台设备做的CSS集群,那么两台设备可以看作是一台设备,这两台物理设备之间的链路聚合是通过Eth-trunk实现的,相当于同一台设备的链路聚合,而非跨设备的链路聚合。 # 4.Eth-Trunk 配置 ## 4.1.二层链路捆绑  交换机 1 配置命令 ``` <Huawei>u t m 关闭弹出信息 Info: Current terminal monitor is off. <Huawei>system-view Enter system view, return user view with Ctrl+Z. [Huawei]sysname SW1 重命名 [SW1]user-interface console 0 [SW1-ui-console0]idle-timeout 0 0 永不超时 [SW1-ui-console0]q [SW1]int Eth-Trunk 1 创建eth-trunk1 [SW1-Eth-Trunk1]int e0/0/1 进入接口e0/0/1 [SW1-Ethernet0/0/1]eth-trunk 1 接口加入eth-trunk1 Info: This operation may take a few seconds. Please wait for a moment...done. [SW1-Ethernet0/0/1]int e0/0/2 进入接口e0/0/2 [SW1-Ethernet0/0/2]eth-trunk 1 接口加入eth-trunk1 Info: This operation may take a few seconds. Please wait for a moment...done. [SW1-Ethernet0/0/2]int e0/0/3 进入接口e0/0/3 [SW1-Ethernet0/0/3]eth-trunk 1 接口加入eth-trunk1 Info: This operation may take a few seconds. Please wait for a moment...done. [SW1-Ethernet0/0/3]q [SW1]vlan 2 创建vlan2 [SW1-vlan2]int e0/0/4 进入接口e0/0/4 [SW1-Ethernet0/0/4]port link-type access 接口链路类型access [SW1-Ethernet0/0/4]port default vlan 2 接口划分进vlan2 [SW1-Ethernet0/0/4]q [SW1]int Eth-Trunk 1 进入eth-trunk1 [SW1-Eth-Trunk1]port link-type trunk 接口链路类型trunk [SW1-Eth-Trunk1]port trunk allow-pass vlan 2 放行vlan2 [SW1]dis eth-trunk1 查看eth-trunk1配置是否成功 ``` 交换机2同样设置 ``` <Huawei>u t m 关闭弹出信息 Info: Current terminal monitor is off. <Huawei>system-view Enter system view, return user view with Ctrl+Z. [Huawei]sysname SW2 重命名 [SW2]user-interface console 0 [SW2-ui-console0]idle-timeout 0 0 永不超时 [SW2-ui-console0]q [SW2]int Eth-Trunk 1 创建eth-trunk1 [SW2-Eth-Trunk1]int e0/0/1 进入接口e0/0/1 [SW2-Ethernet0/0/1]eth-trunk 1 接口加入eth-trunk1 Info: This operation may take a few seconds. Please wait for a moment...done. [SW2-Ethernet0/0/1]int e0/0/2 进入接口e0/0/2 [SW2-Ethernet0/0/2]eth-trunk 1 接口加入eth-trunk1 Info: This operation may take a few seconds. Please wait for a moment...done. [SW2-Ethernet0/0/2]int e0/0/3 进入接口e0/0/3 [SW2-Ethernet0/0/3]eth-trunk 1 接口加入eth-trunk1 Info: This operation may take a few seconds. Please wait for a moment...done. [SW2-Ethernet0/0/3]q [SW2]vlan 2 创建vlan2 [SW2-vlan2]int e0/0/4 进入接口e0/0/4 [SW2-Ethernet0/0/4]port link-type access 接口链路类型access [SW2-Ethernet0/0/4]port default vlan 2 接口划分进vlan2 [SW2-Ethernet0/0/4]q [SW2]int Eth-Trunk 1 进入接口Eth-Trunk 1 [SW2-Eth-Trunk1]port link-type trunk 接口链路类型设为trunk [SW2-Eth-Trunk1]port trunk allow-pass vlan 2 白名单放行vlan2 [SW2]dis eth-trunk1 查看eth-trunk1设置 ``` PC机设置: - PC1: 192.168.2.5/24 设置PC1 ip子网掩码长度 - PC2: 192.168.2.10/24 设置pc2ip 子网掩码长度 ## 4.2.三层链路聚合配置 三层链路聚合实现的功能:PC之间不同网段的数据通信 eth-trunk接口一旦选择工作在三层竟不能设置access/trunk功能 交换机L1配置 ``` <HUAWEI>u t m 关闭弹出信息 Info: Current terminal monitor is off. <HUAWEI>system-view Enter system view, return user view with return command. [~HUAWEI]sysname L1 重命名L1 [*HUAWEI]user-int console 0 [*HUAWEI-ui-console0]idle-timeout 1440 超时命令1440 [*HUAWEI-ui-console0]q [*HUAWEI]int Eth-Trunk 1 创建eth-trunk1 [*HUAWEI-Eth-Trunk1]undo portswitch 接口开启三层功能 [*HUAWEI-Eth-Trunk1]ip add 10.1.1.1 24 给eth-trunk1设置ip和子网掩码长度 [*HUAWEI-Eth-Trunk1]int g1/0/0 进入接口 [*HUAWEI-GE1/0/0]undo shut 开启接口 [*HUAWEI-GE1/0/0]eth-trunk 1 接口加入eth-trunk1 [*HUAWEI-GE1/0/0]int g1/0/1 进入接口 [*HUAWEI-GE1/0/1]undo shut 开启接口 [*HUAWEI-GE1/0/1]eth-trunk 1 接口加入eth-trunk1 [*HUAWEI-GE1/0/1]int g1/0/2 进入接口 [*HUAWEI-GE1/0/2]undo shut 开启接口 [*HUAWEI-GE1/0/2]eth-trunk 1 接口加入eth-trunk1 [*HUAWEI-GE1/0/2]int g1/0/3 进入接口 [*HUAWEI-GE1/0/3]undo portswitch 接口开启三层功能 [*HUAWEI-GE1/0/3]undo shut 开启接口 [*HUAWEI-GE1/0/3]ip add 192.168.1.1 24 给接口设置ip和子网掩码长度 [*HUAWEI-GE1/0/3]q [*HUAWEI]ip route-static 192.168.2.0 24 10.1.1.2 配置静态路由 [*HUAWEI]q Warning: Uncommitted configurations found. Are you sure to commit them before ex iting? [Y(yes)/N(no)/C(cancel)]:y <L1>save 保存 Warning: The current configuration will be written to the device. Continue? [Y/N ]:y Now saving the current configuration to the slot 17 Info: Save the configuration successfully. 保存成功 ``` 交换机L2配置 ``` <HUAWEI>u t m 关闭弹出信息 Info: Current terminal monitor is off. <HUAWEI>system-view Enter system view, return user view with return command. [~HUAWEI]sysname L2 重命名L2 [*HUAWEI]user-int console 0 [*HUAWEI-ui-console0]idle-timeout 1440 超时命令1440 [*HUAWEI-ui-console0]q [*HUAWEI]int Eth-Trunk 1 创建eth-trunk1 [*HUAWEI-Eth-Trunk1]undo portswitch 接口开启三层功能 [*HUAWEI-Eth-Trunk1]ip add 10.1.1.2 24 给eth-trunk1设置ip和子网掩码长度 [*HUAWEI-Eth-Trunk1]int g1/0/0 进入接口 [*HUAWEI-GE1/0/0]undo shut 开启接口 [*HUAWEI-GE1/0/0]eth-trunk 1 接口加入eth-trunk1 [*HUAWEI-GE1/0/0]int g1/0/1 进入接口 [*HUAWEI-GE1/0/1]undo shut 开启接口 [*HUAWEI-GE1/0/1]eth-trunk 1 接口加入eth-trunk1 [*HUAWEI-GE1/0/1]int g1/0/2 进入接口 [*HUAWEI-GE1/0/2]undo shut 开启接口 [*HUAWEI-GE1/0/2]eth-trunk 1 接口加入eth-trunk1 [*HUAWEI-GE1/0/2]int g1/0/3 进入接口 [*HUAWEI-GE1/0/3]undo portswitch 接口开启三层功能 [*HUAWEI-GE1/0/3]ip add 192.168.2.2 24 给接口设置ip和子网掩码长度 [*HUAWEI-GE1/0/3]q [*HUAWEI]ip route-static 192.168.1.0 24 10.1.1.1 配置静态路由 [*HUAWEI]q Warning: Uncommitted configurations found. Are you sure to commit them before ex iting? [Y(yes)/N(no)/C(cancel)]:y <L2>save 保存 Warning: The current configuration will be written to the device. Continue? [Y/N ]:y Now saving the current configuration to the slot 17 Info: Save the configuration successfully. 保存成功 ``` PC机设置 - PC1 192.168.1.10/24 192.168.1.1 PC1设置ip子网掩码长度网关指向192.168.1.1 - PC2 192.168.2.10/24 192.168.2.2 PC2设置ip子网掩码长度网关指向192.168.2.2 L1 ping10.1.1.2 测试eth-trunk1 PC1 ping192.168.2.10 测试通信 链路聚合在实际工作环境中有着重大的作用,链路聚合的功能要清晰的知道,才能知道在什么样需求下需要使用链路聚合。链路聚合的10个条件要理解,才能知道怎么样来使用链路聚合技术。三层链路聚合,交换机使用三层功能就不能使用二层的access和trunk。 # 5.E-Trunk E-Trunk(Enhanced Trunk)是一种实现跨设备链路聚合的机制,基于LACP(单台设备链路聚合的标准)进行了扩展,能够实现多台设备间的链路聚合,从而把链路可靠性从单板级提高到了设备级。 E-Trunk机制主要应用于CE双归接入网络时,CE与PE间的链路保护以及对PE设备节点故障的保护。  在没有使用E-Trunk前,CE通过Eth-Trunk链路只能单归到一个PE设备。如果Eth-Trunk出现故障或者PE设备故障,CE将无法与PE设备继续进行通信。使用E-Trunk后,CE可以双归到PE上,从而实现设备间保护。 如图3-13所示,CE分别与PE1和PE2直连,PE1和PE2之间运行E-Trunk。  在PE侧:PE1和PE2设备上分别创建ID相同的E-Trunk和Eth-Trunk,并且Eth-Trunk加入到E-Trunk。 在CE侧:CE设备上配置LACP模式的Eth-Trunk,此Eth-Trunk分别与PE1和PE2设备相连。对CE设备而言,E- Trunk不可见。 PE两台交换机要三层可达,两台交换机使用E-trunk连接,都划分到VLAN1里面 设备CE:Eth-reunk 10 设备PE1:Eth-trunk 20 设备PE3:Eth-trunk 30  ## 配置PE1和PE2三层IP可达 PE1配置接口和VLANIF ``` <Huawei>system-view 进入全局配置模式 [Huawei]undo info-center enable 关闭信息告警提示 [Huawei]sysname PE1 改名 [PE1]interface g0/0/1 进入接口 [PE1-GigabitEthernet0/0/1]port link-type access 配置为access链路,VLAN1默认为本征VLAN [PE1-GigabitEthernet0/0/1]quit 退出 [PE1]interface vlanif1 配置VLANIF1 [PE1-Vlanif1]ip address 10.1.1.1 255.255.255.0 设置IP地址 [PE1-Vlanif1]quit 退出 [PE1] ``` PE2配置接口和VLANIF ``` <Huawei>system-view 进入全局配置模式 [Huawei]undo info-center enable 关闭信息告警提示 [Huawei]sysname PE2 改名 [PE2]interface g0/0/1 进入接口 [PE2-GigabitEthernet0/0/1]port link-type access 配置为access链路,VLAN1默认为本征VLAN [PE2-GigabitEthernet0/0/1]quit 退出 [PE2]interface vlanif [PE2-Vlanif1]ip address 10.1.1.2 255.255.255.0 设置IP地址 [PE2-Vlanif1]quit 退出 [PE2] ``` PE1测试是否可以ping通PE 2设备 ``` [PE1]ping 10.1.1.2 //测试ping PE2设备 PING 10.1.1.2: 56 data bytes, press CTRL_C to break Reply from 10.1.1.2: bytes=56 Sequence=1 ttl=255 time=80 ms Reply from 10.1.1.2: bytes=56 Sequence=2 ttl=255 time=90 ms Reply from 10.1.1.2: bytes=56 Sequence=3 ttl=255 time=80 ms Reply from 10.1.1.2: bytes=56 Sequence=4 ttl=255 time=60 ms Reply from 10.1.1.2: bytes=56 Sequence=5 ttl=255 time=30 ms //ping 通 --- 10.1.1.2 ping statistics --- 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 30/68/90 ms [PE1] ``` ## CE配置Eth-trunk ``` <Huawei>system-view 进入全局配置模式 [Huawei]undo info-center enable 关闭信息告警提示 [Huawei]sysname CE 改名 [CE]interface Eth-Trunk 10 配置Eth-trunk10 [CE-Eth-Trunk10]mode lacp-static 必须配置静态 [CE-Eth-Trunk10]trunkport GigabitEthernet 0/0/2 to 0/0/5 将上面两个设备当成一个设备,配置4条链路的捆绑 [CE-Eth-Trunk10]quit 退出 [CE] ``` PE1和PE2同时配置:虚拟一个ID和优先级,让下面设备(CE)认为是一个设备 PE1配置MAC地址和优先级 ``` [PE1]lacp e-trunk system-id 0000-0102-0304 配置MAC地址 [PE1]lacp e-trunk priority 32768 配置优先级 ``` PE2配置MAC地址和优先级 ``` [PE2]lacp e-trunk system-id 0000-0102-0304 配置MAC地址 [PE2]lacp e-trunk priority 32768 配置优先级 ``` 注:两台设备的MAC地址和优先级要一致 ## 配置两台设备的主备 PE1配置E-trunk为主设备 ``` [PE1]e-trunk 1 配置E-trunk 1 [PE1-e-trunk-1]priority 99 越小越优先,默认100,用来在PE1和PE2之间竞争主备,备设备要down接口 [PE1-e-trunk-1]peer-address 10.1.1.2 source-address 10.1.1.1 指定对端IP地址和自己的IP地址 [PE1-e-trunk-1]quit 退出 [PE1] ``` PE2配置E-trunk为备设备 ``` [PE2]e-trunk 1 配置E-trunk 1 [PE2-e-trunk-1]peer-address 10.1.1.1 source-address 10.1.1.2 指定对端IP地址和自己的IP地址 [PE2-e-trunk-1]quit 退出 [PE2] ``` ## 配置两台设备的E-trunk连接 PE1配置连接对端PE2设备 ``` [PE1]interface Eth-Trunk 20 本端20,对端30,也可以都一样 [PE1-Eth-Trunk20]mode lacp-static 必须配置静态 [PE1-Eth-Trunk20]trunkport g0/0/2 捆绑G0/0/2链路 [PE1-Eth-Trunk20]trunkport g0/0/3 捆绑G0/0/3链路 [PE1-Eth-Trunk20]e-trunk 1 remote-eth-trunk 30 关联E-trunk 1,remote-eth-trunk 30是对端Eth-trunk30 [PE1-Eth-Trunk20]quit 退出 [PE1] ``` PE2配置连接对端PE1设备 ``` [PE2]interface Eth-Trunk 30 本端30,对端20,也可以都一样 [PE2-Eth-Trunk30]mode lacp-static 必须配置静态 [PE2-Eth-Trunk30]trunkport g0/0/4 捆绑G0/0/4链路 [PE2-Eth-Trunk30]trunkport g0/0/5 捆绑G0/0/5链路 [PE2-Eth-Trunk30]e-trunk 1 remote-eth-trunk 20 关联E-trunk 1,remote-eth-trunk 30是对端Eth-trunk20 [PE2-Eth-Trunk30]quit 退出 [PE2] ``` 注:如果对端的Eth-trunk一样的话,不用配置trmote-eth-trunk X ## 调试命令 CE查看Eth-trunk信息 ``` [CE]dis eth-trunk 10 查看Eth-trunk 10 Eth-Trunk10's state information is: Local: LAG ID: 10 WorkingMode: STATIC Preempt Delay: Disabled Hash arithmetic: According to SIP-XOR-DIP System Priority: 32768 System ID: 4c1f-cc3f-504d Least Active-linknumber: 1 Max Active-linknumber: 8 Operate status: up Number Of Up Port In Trunk: 2 -------------------------------------------------------------------------------- ActorPortName Status PortType PortPri PortNo PortKey PortState Weight GigabitEthernet0/0/2 Selected 1GE 32768 3 2609 10111100 1 数据正常通信 GigabitEthernet0/0/3 Selected 1GE 32768 4 2609 10111100 1 数据正常通信 GigabitEthernet0/0/4 Unselect 1GE 32768 5 2609 10100000 1 数据不能通过 GigabitEthernet0/0/5 Unselect 1GE 32768 6 2609 10100000 1 数据不能通过 Partner: -------------------------------------------------------------------------------- ActorPortName SysPri SystemID PortPri PortNo PortKey PortState GigabitEthernet0/0/2 32768 0000-0102-0304 32768 3 5169 10111100 对端设备的优先级和MAC地址都是一样的 GigabitEthernet0/0/3 32768 0000-0102-0304 32768 4 5169 10111100 GigabitEthernet0/0/4 32768 0000-0102-0304 32768 32773 33073 10100000 GigabitEthernet0/0/5 32768 0000-0102-0304 32768 32774 33073 10100000 [CE] ``` PE1查看E-trunk ```` [PE1]dis e-trunk 1 查看E-trunk The E-Trunk information E-TRUNK-ID : 1 Revert-Delay-Time (s) : 120 Priority : 99 System-ID : 4c1f-cc58-622b Peer-IP : 10.1.1.2 Source-IP : 10.1.1.1 State : Master Causation : PRI Send-Period (100ms) : 10 Fail-Time (100ms) : 200 Receive : 2293 Send : 2336 RecDrop : 0 SndDrop : 1 Peer-Priority : 100 Peer-System-ID : 4c1f-ccf8-354f Peer-Fail-Time (100ms) : 200 BFD-Session : - Description : - -------------------------------------------------------------------------------- The Member information Type ID LocalPhyState Work-Mode State Causation Remote-ID Eth-Trunk 20 Up auto Master ETRUNK_MASTER 20 //主设备 [PE1] ``` PE2查看E-trunk ``` [PE2]dis e-trunk 1 The E-Trunk information E-TRUNK-ID : 1 Revert-Delay-Time (s) : 120 Priority : 100 System-ID : 4c1f-ccf8-354f Peer-IP : 10.1.1.1 Source-IP : 10.1.1.2 State : Backup Causation : PRI Send-Period (100ms) : 10 Fail-Time (100ms) : 200 Receive : 3639 Send : 3631 RecDrop : 8 SndDrop : 0 Peer-Priority : 99 Peer-System-ID : 4c1f-cc58-622b Peer-Fail-Time (100ms) : 200 BFD-Session : - Description : - -------------------------------------------------------------------------------- The Member information Type ID LocalPhyState Work-Mode State Causation Remote-ID Eth-Trunk 30 Down auto Backup ETRUNK_BACKUP 20 //备设备 [PE2] ``` ## 模拟主设备故障(关机) CE查看Eth-trunk ``` [CE]dis eth-trunk 10 查看Eth-trunk10 Eth-Trunk10's state information is: Local: LAG ID: 10 WorkingMode: STATIC Preempt Delay: Disabled Hash arithmetic: According to SIP-XOR-DIP System Priority: 32768 System ID: 4c1f-cc3f-504d Least Active-linknumber: 1 Max Active-linknumber: 8 Operate status: up Number Of Up Port In Trunk: 2 -------------------------------------------------------------------------------- ActorPortName Status PortType PortPri PortNo PortKey PortState Weight GigabitEthernet0/0/2 Unselect 1GE 32768 3 2609 10100010 1 之前可以通信,由于PE1设备关机,现在不能通信 GigabitEthernet0/0/3 Unselect 1GE 32768 4 2609 10100010 1 之前可以通信,由于PE1设备关机,现在不能通信 GigabitEthernet0/0/4 Selected 1GE 32768 5 2609 10111100 1 数据切换过来,可以通信了 GigabitEthernet0/0/5 Selected 1GE 32768 6 2609 10111100 1 数据切换过来,可以通信了 Partner: -------------------------------------------------------------------------------- ActorPortName SysPri SystemID PortPri PortNo PortKey PortState GigabitEthernet0/0/2 0 0000-0000-0000 0 0 0 10100011 GigabitEthernet0/0/3 0 0000-0000-0000 0 0 0 10100011 GigabitEthernet0/0/4 32768 0000-0102-0304 32768 32773 33073 10111100 GigabitEthernet0/0/5 32768 0000-0102-0304 32768 32774 33073 10111100 [CE] ``` PE2查看E-trunk ``` [PE2]dis e-trunk 1 查看E-trunk 1 The E-Trunk information E-TRUNK-ID : 1 Revert-Delay-Time (s) : 120 Priority : 100 System-ID : 4c1f-ccf8-354f Peer-IP : 10.1.1.1 Source-IP : 10.1.1.2 State : Master Causation : TIMEOUT Send-Period (100ms) : 10 Fail-Time (100ms) : 200 Receive : 3703 Send : 3732 RecDrop : 8 SndDrop : 19 Peer-Priority : - Peer-System-ID : - Peer-Fail-Time (100ms) : - BFD-Session : - Description : - -------------------------------------------------------------------------------- The Member information Type ID LocalPhyState Work-Mode State Causation Remote-ID Eth-Trunk 30 Up auto Master ETRUNK_MASTER 20 //切换为主设备 [PE2] ```
Seven
Aug. 30, 2022, 3:59 p.m.
转发文档
Collection documents
Last
Next
手机扫码
Copy link
手机扫一扫转发分享
Copy link
Markdown文件
share
link
type
password
Update password