以太网链路聚合配置2(静态LACP模式的链路聚合)

[s1]inte

[s1]interface gi

[s1]interface GigabitEthernet 0/0/1

[s1-GigabitEthernet0/0/1]und

[s1-GigabitEthernet0/0/1]undo et

[s1-GigabitEthernet0/0/1]undo eth-trunk

Info: This operation may take a few seconds. Please wait for a moment...done.

[s1-GigabitEthernet0/0/1]q

[s1]in

[s1]int

[s1]interface gi

[s1]interface GigabitEthernet 0/0

Aug 25 2015 09:41:17-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 13, the cha

nge loop count is 0, and the maximum number of records is 4095./

^

Error: Wrong parameter found at ‘^‘ position.

[s1]interface GigabitEthernet 0/0/2

[s1-GigabitEthernet0/0/2]et

[s1-GigabitEthernet0/0/2]un

[s1-GigabitEthernet0/0/2]undo et

[s1-GigabitEthernet0/0/2]undo eth-trunk

Info: This operation may take a few seconds. Please wait for a moment...done.

[s1-GigabitEthernet0/0/2]

Aug 25 2015 09:41:33-08:00 s1 %%01IFNET/4/IF_STATE(l)[4]:Interface Eth-Trunk1 has

turned into DOWN state.

[s1-GigabitEthernet0/0/2]q

[s1]dis

Aug 25 2015 09:41:37-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 14, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s1]display eth

[s1]display eth-trunk

Eth-Trunk1‘s state information is:

WorkingMode: NORMAL         Hash arithmetic: According to SIP-XOR-DIP

Least Active-linknumber: 1  Max Bandwidth-affected-linknumber: 8

Operate status: down        Number Of Up Port In Trunk: 0

--------------------------------------------------------------------------------

PortName                      Status      Weight

[s1]int

[s1]interface et

[s1]interface Eth-Trunk 1

[s1-Eth-Trunk1]mo

[s1-Eth-Trunk1]mode la

[s1-Eth-Trunk1]mode lacp-static

[s1-Eth-Trunk1]q

[s1]int

[s1]interface gi

[s1]interface GigabitEthernet 0/

Aug 25 2015 09:42:57-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 15, the cha

nge loop count is 0, and the maximum number of records is 4095

^

Error: Wrong parameter found at ‘^‘ position.

[s1]int

[s1]interface gi

[s1]interface GigabitEthernet 0/0/1

[s1-GigabitEthernet0/0/1]et

[s1-GigabitEthernet0/0/1]eth-trunk 1

Info: This operation may take a few seconds. Please wait for a moment...done.

[s1-GigabitEthernet0/0/1]q

[s1]int

[s1]interface gi

[s1]interface GigabitEthernet

Aug 25 2015 09:43:17-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 16, the cha

nge loop count is 0, and the maximum number of records is 4095.0/0/2

[s1-GigabitEthernet0/0/2]et

[s1-GigabitEthernet0/0/2]eth-trunk 1

Info: This operation may take a few seconds. Please wait for a moment...

Aug 25 2015 09:43:30-08:00 s1 %%01IFNET/4/IF_STATE(l)[5]:Interface Vlanif1 has tu

rned into DOWN state.done.

[s1-GigabitEthernet0/0/2]q

[s1]

Aug 25 2015 09:43:37-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 17, the cha

nge loop count is 0, and the maximum number of records is 4095.

Aug 25 2015 09:44:05-08:00 s1 %%01IFNET/4/IF_STATE(l)[6]:Interface Vlanif1 has tu

rned into UP state.

Aug 25 2015 09:44:05-08:00 s1 %%01IFNET/4/IF_STATE(l)[7]:Interface Eth-Trunk1 has

turned into UP state.

[s1]di

[s1]display et

[s1]display eth-trunk

Eth-Trunk1‘s state information is:

Local:

LAG ID: 1                   WorkingMode: STATIC

Preempt Delay: Disabled     Hash arithmetic: According to SIP-XOR-DIP

System Priority: 32768      System ID: 4c1f-cc9c-08f2

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/1   Selected 1000TG   32768   2      401     10111100  1

GigabitEthernet0/0/2   Selected 1000TG   32768   3      401     10111100  1

Partner:

--------------------------------------------------------------------------------

ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState

GigabitEthernet0/0/1   32768    4c1f-cc57-364d  32768   2      401     10111100

GigabitEthernet0/0/2   32768    4c1f-cc57-364d  32768   3      401     10111100

[s1]

Aug 25 2015 09:44:54-08:00 s1 %%01PHY/1/PHY(l)[8]:    GigabitEthernet0/0/2: chang

e status to down

Aug 25 2015 09:44:55-08:00 s1 %%01PHY/1/PHY(l)[9]:    GigabitEthernet0/0/2: chang

e status to up

[s1]la

[s1]lacp pr

[s1]lacp priority 100

[s1]

Aug 25 2015 09:45:03-08:00 s1 %%01IFNET/4/IF_STATE(l)[10]:Interface Vlanif1 has t

urned into DOWN state.

Aug 25 2015 09:45:03-08:00 s1 %%01IFNET/4/IF_STATE(l)[11]:Interface Eth-Trunk1 ha

s turned into DOWN state.

Aug 25 2015 09:45:03-08:00 s1 %%01IFNET/4/IF_STATE(l)[12]:Interface Vlanif1 has t

urned into UP state.

Aug 25 2015 09:45:03-08:00 s1 %%01IFNET/4/IF_STATE(l)[13]:Interface Eth-Trunk1 ha

s turned into UP state.

[s1]int

[s1]interface g

Aug 25 2015 09:45:07-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 18, the cha

nge loop count is 0, and the maximum number of records is 4095.i

[s1]interface GigabitEthernet 0/0/1

[s1-GigabitEthernet0/0/1]la

[s1-GigabitEthernet0/0/1]lacp pr

[s1-GigabitEthernet0/0/1]lacp priority 100

[s1-GigabitEthernet0/0/1]q

[s1]int

[s1]interface gi

[s1]interface GigabitEthernet 0/0/2

[s1-GigabitEthernet0/0/2]la

[s1-GigabitEthernet0/0/2]lacp p

Aug 25 2015 09:45:27-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 19, the cha

nge loop count is 0, and the maximum number of records is 4095.r

[s1-GigabitEthernet0/0/2]lacp priority 100

[s1-GigabitEthernet0/0/2]q

[s1]

Aug 25 2015 09:45:37-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 20, the cha

nge loop count is 0, and the maximum number of records is 4095.

Aug 25 2015 09:45:45-08:00 s1 %%01IFNET/4/IF_STATE(l)[14]:Interface Vlanif1 has t

urned into DOWN state.

Aug 25 2015 09:45:45-08:00 s1 %%01IFNET/4/IF_STATE(l)[15]:Interface Eth-Trunk1 ha

s turned into DOWN state.

Aug 25 2015 09:45:45-08:00 s1 %%01IFNET/4/IF_STATE(l)[16]:Interface Vlanif1 has t

urned into UP state.

Aug 25 2015 09:45:45-08:00 s1 %%01IFNET/4/IF_STATE(l)[17]:Interface Eth-Trunk1 ha

s turned into UP state.

[s1]

[s1]

[s1]dis

[s1]display et

[s1]display eth-trunk

Eth-Trunk1‘s state information is:

Local:

LAG ID: 1                   WorkingMode: STATIC

Preempt Delay: Disabled     Hash arithmetic: According to SIP-XOR-DIP

System Priority: 100        System ID: 4c1f-cc9c-08f2

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/1   Selected 1000TG   100     2      401     10111100  1

GigabitEthernet0/0/2   Selected 1000TG   100     3      401     10111100  1

Partner:

--------------------------------------------------------------------------------

ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState

GigabitEthernet0/0/1   100      4c1f-cc57-364d  100     2      401     10111100

GigabitEthernet0/0/2   100      4c1f-cc57-364d  100     3      401     10111100

[s1]display eth-trunk 1

Eth-Trunk1‘s state information is:

Local:

LAG ID: 1                   WorkingMode: STATIC

Preempt Delay: Disabled     Hash arithmetic: According to SIP-XOR-DIP

System Priority: 100        System ID: 4c1f-cc9c-08f2

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/1   Selected 1000TG   100     2      401     10111100  1

GigabitEthernet0/0/2   Selected 1000TG   100     3      401     10111100  1

Partner:

--------------------------------------------------------------------------------

ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState

GigabitEthernet0/0/1   100      4c1f-cc57-364d  100     2      401     10111100

GigabitEthernet0/0/2   100      4c1f-cc57-364d  100     3      401     10111100

[s1]dis

[s1]display cu

[s1]display current-configuration

#

sysname s1

#

lacp priority 100

#

cluster enable

ntdp enable

ndp enable

#

drop illegal-mac alarm

#

diffserv domain default

#

drop-profile default

#

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user admin password simple admin

local-user admin service-type http

#

interface Vlanif1

#

interface MEth0/0/1

#

interface Eth-Trunk1

mode lacp-static

#

interface GigabitEthernet0/0/1

undo negotiation auto

speed 100

eth-trunk 1

lacp priority 100

#

interface GigabitEthernet0/0/2

undo negotiation auto

speed 100

eth-trunk 1

lacp priority 100

#

interface GigabitEthernet0/0/3

#

interface GigabitEthernet0/0/4

#

interface GigabitEthernet0/0/5

#

interface GigabitEthernet0/0/6

#

interface GigabitEthernet0/0/7

#

interface GigabitEthernet0/0/8

#

interface GigabitEthernet0/0/9

#

interface GigabitEthernet0/0/10

#

interface GigabitEthernet0/0/11

#

interface GigabitEthernet0/0/12

#

interface GigabitEthernet0/0/13

#

interface GigabitEthernet0/0/14

#

interface GigabitEthernet0/0/15

#

interface GigabitEthernet0/0/16

#

interface GigabitEthernet0/0/17

#

interface GigabitEthernet0/0/18

#

interface GigabitEthernet0/0/19

#

interface GigabitEthernet0/0/20

#

interface GigabitEthernet0/0/21

#

interface GigabitEthernet0/0/22

#

interface GigabitEthernet0/0/23

#

interface GigabitEthernet0/0/24

#

interface NULL0

#

user-interface con 0

user-interface vty 0 4

#

return

时间: 2024-11-07 15:36:25

以太网链路聚合配置2(静态LACP模式的链路聚合)的相关文章

HCNA配置静态LACP模式链路聚合

1.静态LACP模式 静态LACP模式是一种利用LACP协议进行聚合参数协商.确定活动接口和非活动接口的链路聚合方式.该模式下,需手工创建Eth-Trunk,手工加入Eth-Trunk成员接口,由LACP协议协商确定活动接口和非活动接口. 静态LACP模式也称为M∶N模式.这种方式同时可以实现链路负载分担和链路冗余备份的双重功能.在链路聚合组中M条链路处于活动状态,这些链路负责转发数据并进行负载分担,另外N条链路处于非活动状态作为备份链路,不转发数据.当M条链路中有链路出现故障时,系统会从N条备

链路聚合配置

二层链路聚合配置 一.手工负载分担模式配置 (1) LSW1: <Huawei>sys Enter system view, return user view with Ctrl+Z. [Huawei]sysn LSW1 [LSW1]int eth-trunk 1   //创建编号为1的eth-trunk端口 [LSW1-Eth-Trunk1]mode ? lacp-static  Static working mode manual       Manual working mode 注意:

手工链路聚合与静态LACP聚合的配置命令(华为)

步骤1 创建Eth-Trunk # 创建Eth-Trunk 1.<Quidway> system-view [Quidway] sysname Switch [Switch] interface eth-trunk 1 [Switch-Eth-Trunk1] quit 步骤2 向Eth-Trunk中加入成员接口 将Eth0/0/3加入Eth-Trunk 1. [Switch] interface ethernet 0/0/3 [Switch-Ethernet0/0/3] eth-trunk 1

配置LACP模式链路聚合

组网需求 在两台Router设备上配置LACP模式链路聚合组,提高两设备之间的带宽与可靠性,具体要求如下: 两条活动链路具有负载分担的能力. 两设备间的链路具有一条冗余备份链路,当活动链路出现故障链路时,备份链路替代故障链路,保持数据传输的可靠性. 配置LACP模式链路聚合组网图 配置思路 采用如下的思路配置LACP模式链路聚合: 1. 在Router设备上创建Eth-Trunk,配置Eth-Trunk为LACP模式,实现链路聚合功能. 2. 将成员接口加入Eth-Trunk. 3. 配置系统优

Eth-Trunk链路聚合配置

Eth-Trunk概述 Eth-Trunk接口能够实现负载分担.增加带宽和提高可靠性 Eth-Trunk接口把多个物理接口捆绑成一个逻辑接口 Eth-Trunk接口的链路聚合模式 链路聚合模式 应用场景 手工负载分担模式Eth-Trunk接口 当Eth-Trunk链路两端设备中有一台设备不支持LACP协议时,可在NE20E设备上创建手工负载分担模式的Eth-Trunk,并加入多个成员接口增加设备间的带宽及可靠性. 静态LACP (Link Aggregation Control Protocol

华为交换机LACP模式链路聚合配置

交换机A和交换机B之间通过3条GE以太网连接,活动链路为2,配置如下: SwitchA配置 <HUAWEI> system-view [HUAWEI] sysname SwitchA [SwitchA] interface eth-trunk 1 # 创建Eth-Trunk1 [SwitchA-Eth-Trunk1] mode lacp # 配置LACP模式 [SwitchA-Eth-Trunk1] trunkport gigabtiethernet 0/0/1 to 0/0/3 # 添加接口

HCNA配置手工负载分担模式链路聚合

一.配置手工负载分担模式链路聚合 1.手工负载分担模式链路聚合配置场景 当需要增加两台设备之间的带宽或可靠性,而两台设备中有一台不支持LACP协议时,可在Switch设备上创建手工负载分担模式的Eth-Trunk,并加入多个成员接口增加设备间的带宽及可靠性 2.步骤 2.1 配置Eth-Trunk工作模式为手工负载分担模式 执行命令system-view,进入系统视图. 执行命令interface eth-trunk trunk-id,进入Eth-Trunk接口视图. 执行命令mode manu

一个实验轻松学习,华为单臂路由、DHCP、LACP模式链路捆绑、二层与三次链路混绑

实验拓扑 实验需求 1.C1与C3属于vlan10,C2与C4属于vlan20 2.SW1与SW2之间使用LACP模式链路捆绑,活动接口为2个 3.SW1与R1之间进行链路混绑 4.VLAN 10 与 VLAN 20 通过DHCP自动获取IP地址 5.在R1上配置单臂路由使全网互通 vlan10 IP:192.168.10.0/24 vlan20 IP:192.168.20.0/24 SW1配置: <SW1>system-view                //进入系统视图 [SW1]vl

配置简单的浮动静态路由,实现链路冗余

网络拓扑如下图. 2.按照上图参数配置各个主机的IP,默认网关一定是连接这个网段的路由器的那个端口的IP地址,要不然只能ping 通本网段的主机,而无法ping通其他网段的主机. 3.在这个实验中交换机是不用配置,没有必要,那么接下来就是配置路由器,还是按照最上面图中的参数设配置路由器.在全局配置模式下 输入interface fastEthernet 0/0 进入接口配置模式,给接口配置ip址,ip address 192.168.1.254 255.255.255.0 接着是no shutd