码迷,mamicode.com
首页 > 其他好文 > 详细

链路汇聚代码

时间:2019-11-06 13:02:00      阅读:92      评论:0      收藏:0      [点我收藏+]

标签:汇聚   代码   abi   ip add   port   alt   default   static   stat   

LSW1:
system-view
vlan batch 30 40
interface Ethernet 0/0/1
port link-type access
port default vlan 30
interface Ethernet 0/0/2
port link-type access
port default vlan 30
interface Ethernet 0/0/3
port link-type access
port default vlan 40
interface Ethernet 0/0/4
port link-type access
port default vlan 40
interface GigabitEthernet 0/0/2
port link-type trunk
port trunk allow-pass vlan 30 40
LSW2:
system-view
vlan batch 30 40
interface GigabitEthernet 0/0/1
port link-type trunk
port trunk allow-pass vlan 30 40
quit
interface Eth-Trunk 1
mode lacp-static
quit
interface GigabitEthernet 0/0/24
eth-trunk 1
interface GigabitEthernet 0/0/23
eth-trunk 1
interface GigabitEthernet 0/0/22
eth-trunk 1
quit
interface Eth-Trunk 1
port link-type trunk
port trunk allow-pass vlan 30 40
LSW3:
system-view
vlan batch 30 40
interface Vlanif 30
ip address 192.168.30.254 24
quit
interface Vlanif 40
ip address 192.168.40.254 24
quit
interface Eth-Trunk 1
mode lacp-static
quit
interface GigabitEthernet 0/0/1
eth-trunk 1
interface GigabitEthernet 0/0/2
eth-trunk 1
interface GigabitEthernet 0/0/3
eth-trunk 1
quit
interface Eth-Trunk 1
port link-type trunk
port trunk allow-pass vlan 30 40技术图片

链路汇聚代码

标签:汇聚   代码   abi   ip add   port   alt   default   static   stat   

原文地址:https://www.cnblogs.com/YoLenLy/p/11804459.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!