路由器以太网口静态链路聚合

路由器配置静态以太链路聚合组
网络需求

 R1和Device2之间配置静态聚合组,以实现增加带宽、负载均衡和业务备份。

网络拓扑

配置步骤

步骤1:
 创建静态以太链路聚合组。
 

#在R1上创建静态聚合组0。

R1#configure terminal

R1(config)#interface route-aggregation 0

R1(config-if-route-aggregation0)#ip add 192.168.1.1 24

R1(config-if-route-aggregation0)#exit

#在R2上创建静态聚合组0。

R2#configure terminal

R2(config)#interface route-aggregation 0

R2(config-if-route-aggregation0)#ip add 192.168.1.2 24

R2(config-if-route-aggregation0)#exit

步骤2:
 配置接口加入聚合组。
 

#在R1上分别将接口gigabitethernet 0/3/0、gigabitethernet 0/3/1加入聚合组0中。

R1(config)#interface gigabitethernet 0/3/0

R1(config-if-gigabitethernet0/3/0)#route-aggregation group 0

R1(config-if-gigabitethernet0/3/0)#exit

R1(config)#interface gigabitethernet 0/3/1

R1(config-if-gigabitethernet0/3/1)#route-aggregation group 0

R1(config-if-gigabitethernet0/3/1)#exit

#在R2上分别将接口gigabitethernet 0/4/0、gigabitethernet 0/4/1加入聚合组0中。

R2(config)#interface gigabitethernet 0/4/0

R2(config-if-gigabitethernet0/4/0)#route-aggregation group 0

R2(config-if-gigabitethernet0/4/0)#exit

R2(config)#interface gigabitethernet 0/4/1

R2(config-if-gigabitethernet0/4/1)#route-aggregation group 0

R2(config-if-gigabitethernet0/4/1)#exit

#配置完成后,在设备上查看聚合组0和成员口的信息。

以R1为例:

R1#show interface route-aggregation 0

route-aggregation0:

     line protocol is up

     Flags: (0xc008063) BROADCAST MULTICAST ARP RUNNING 

     Type: ETHERNET_CSMACD

     Internet address: 192.168.1.1/24

     Broadcast address: 192.168.1.255

     Metric: 0, MTU: 1500, BW: 2000000 Kbps, DLY: 100 usec, VRF: global

     Reliability 255/255, Txload 1/255, Rxload 1/255

     Ethernet address is 5002.cdd5.ce2a

     Last clearing of "show interface" counters never

     input peak rate 48 bits/sec,  0 hour 5 minutes 27 seconds ago

     output peak rate 67 bits/sec,  0 hour 10 minutes 7 seconds ago

     5 minutes input rate 0 bit/sec, 0 packet/sec, bandwidth utilization -

     5 minutes output rate 0 bit/sec, 0 packet/sec, bandwidth utilization -

     2 packets received; 2 packets sent

     120 bytes received; 84 bytes sent

     0 multicast packets received

     0 multicast packets sent

     0 input errors; 0 output errors

     0 collisions; 0 dropped

     Unknown protocol 0

Members(counts:2):

 gi0/3/1(up)  

 gi0/3/0(up)   

R1#show route-aggregation member summary 

 IfIndex    Slot Agg Flag     State Sync location   Ifname

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

 50331698   0    0   1        UP    F    50  |333   gigabitethernet0/3/0

 50331699   0    0   1        UP    F    51  |334   gigabitethernet0/3/1 

可以看到,R1上的接口gigabitethernet0/3/0、gigabitethernet0/3/1已成功加入聚合组0且为up状态,聚合组0链路总带宽为2000Mbps。

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值