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

华为-两层架构的SVI配置

时间:2018-02-26 14:58:58      阅读:642      评论:0      收藏:0      [点我收藏+]

标签:华为   SVI   两层架构   

技术分享图片

sw2:

vlan batch  10 30 
interface Ethernet0/0/1  
port link-type trunk  
port trunk allow-pass vlan 2 to 4094
interface Ethernet0/0/2  
port link-type access 
port default vlan 10
interface Ethernet0/0/3  
port link-type access  
port default vlan 30

sw3:

vlan  20 interface Ethernet0/0/1  
port link-type trunk  
port trunk allow-pass vlan 2 to 4094
interface Ethernet0/0/2  
port link-type access  
port default vlan 20

核心交换机:sw1

vlan batch 10 20 30 
interface Vlanif10 
ip address 192.168.10.1 255.255.255.0
interface Vlanif20
ip address 192.168.20.1 255.255.255.0
interface Vlanif30  
ip address 192.168.30.1 255.255.255.0
interface GigabitEthernet0/0/1  
port link-type trunk  
port trunk allow-pass vlan 2 to 4094
interface GigabitEthernet0/0/2  
port link-type trunk  
port trunk allow-pass vlan 2 to 4094

华为-两层架构的SVI配置

标签:华为   SVI   两层架构   

原文地址:http://blog.51cto.com/12843522/2073085

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