h3c 5130s hi 和7503通过两个物理口做聚合绑定,并设置为trunk,允许一部分vlan通过,如何实现
(0)
最佳答案
您好,请知:
在部署trunk时,仅trunk相应的VLAN即可,不使用trunk all就可以了。以下是参考命令:
<H3C>sys
[H3C]sysname SW1
[SW1]vlan 10
[SW1-vlan10]quit
[SW1]int gi 1/0/3
[SW1-GigabitEthernet1/0/3]port link-type access
[SW1-GigabitEthernet1/0/3]port access vlan 10
[SW1-GigabitEthernet1/0/3]description <connect to PC>
[SW1-GigabitEthernet1/0/3]quit
[SW1]int Bridge-Aggregation 1 //创建链路聚合组1
[SW1-Bridge-Aggregation1]quit
[SW1]int range gi 1/0/1 to gi 1/0/2
[SW1-if-range]port link-aggregation group 1 //将链路聚合组应用到接口
[SW1-if-range]quit
[SW1]int Bridge-Aggregation 1 //继续配置链路聚合组1
[SW1-Bridge-Aggregation1]port link-type trunk
Configuring GigabitEthernet1/0/1 done.
Configuring GigabitEthernet1/0/2 done.
[SW1-Bridge-Aggregation1]undo port trunk permit vlan 1
Configuring GigabitEthernet1/0/1 done.
Configuring GigabitEthernet1/0/2 done.
[SW1-Bridge-Aggregation1]port trunk permit vlan 10
Configuring GigabitEthernet1/0/1 done.
Configuring GigabitEthernet1/0/2 done.
[SW1-Bridge-Aggregation1]quit
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论