链路聚合 E-trunk 实验

在这里插入图片描述

实验目的

  • 配置练习 E-trunk 配置命令
  • 配置E-trunk两台PE之间必须是可以互通的(需要IGP互通)
  • 学习跨设备链路聚合
  • 熟悉CE设备和PE设备的应用和部署方式

配置

CE

vlan 10
inter vlan 10
ip ad 192.168.1.1 24
lacp priority 100

interface Eth-Trunk1
mode lacp-static
trunkport g0/0/1
trunkport g0/0/2
trunkport g0/0/3
trunkport g0/0/4
port link-type trunk
port trunk allow-pass vlan 10

PE1

vlan batch 10 20

interface Vlanif10
 ip address 192.168.1.2 255.255.255.0

interface Vlanif20
 ip address 10.1.1.1 255.255.255.0
 
inter loop0
ip add 1.1.1.1 32

interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 20
 
 ospf 10 router-id 1.1.1.1
 area 0.0.0.0
  network 192.168.1.0 0.0.0.255
  network 1.1.1.1 0.0.0.0
  network 10.1.1.0 0.0.0.255
  
interface Eth-Trunk1
 mode lacp-static
 trunkport g0/0/2
 trunkport g0/0/3
 port link-type trunk
 port trunk allow-pass vlan 10


lacp e-trunk system-id 0001-0001-0001
lacp e-trunk priority 100

e-trunk 1
 priority 100
 peer-address 3.3.3.3 source-address 1.1.1.1
 timer hello 5
 timer hold-on-failure multiplier 3
 
inter eth-trunk 1
e-trunk 1

PE2

vlan batch 20 30

interface Vlanif20
 ip address 10.1.1.2 255.255.255.0

interface Vlanif30
 ip address 20.1.1.2 255.255.255.0
 
inter loop0
ip add 2.2.2.2 32

interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 20

interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 30

ospf 10 router-id 2.2.2.2
 area 0.0.0.0
  network 2.2.2.2 0.0.0.0
  network 10.1.1.0 0.0.0.255
  network 20.1.1.0 0.0.0.255
  

PE3

vlan batch 10 30

interface Vlanif10
 ip address 192.168.1.3 255.255.255.0

interface Vlanif30
 ip address 20.1.1.1 255.255.255.0
 
inter loop0
ip add 3.3.3.3 32

interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 30
 
 ospf 10 router-id 3.3.3.3
 area 0.0.0.0
  network 192.168.1.0 0.0.0.255
  network 3.3.3.3 0.0.0.0
  network 20.1.1.0 0.0.0.255
  
interface Eth-Trunk1
 mode lacp-static
 trunkport g0/0/2
 trunkport g0/0/3
 port link-type trunk
 port trunk allow-pass vlan 10


lacp e-trunk system-id 0001-0001-0001
lacp e-trunk priority 100

e-trunk 1
 priority 100
 peer-address 1.1.1.1 source-address 3.3.3.3
 timer hello 5
 timer hold-on-failure multiplier 3
 
inter eth-trunk 1
e-trunk 1
  • 6
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值