亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

思科Cisco交換機(jī)配置—— 結(jié)合以太通道的VLAN配置實(shí)驗(yàn)詳解

  發(fā)布時(shí)間:2020-02-22 14:06:03   作者:Stalk   我要評(píng)論
這篇文章主要介紹了思科Cisco交換機(jī)配置結(jié)合以太通道的VLAN配置實(shí)驗(yàn),結(jié)合具體實(shí)驗(yàn)案例的形式分析了思科Cisco交換機(jī)實(shí)現(xiàn)基于以太通道的VLAN通信配置步驟、操作命令與相關(guān)操作注意事項(xiàng),需要的朋友可以參考下

本文實(shí)例講述了思科Cisco結(jié)合以太通道的VLAN配置實(shí)驗(yàn)。分享給大家供大家參考,具體如下:

 一、實(shí)驗(yàn)?zāi)康?/strong>:建立以太通道使相同VLAN下主機(jī)互通

 二、拓?fù)鋱D如下

三、具體步驟如下

(1)S1三層交換機(jī)配置

Switch>enable
Switch#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S1
S1(config)#interface port-channel 5
S1(config-if)#switchport trunk encapsulation dot1q
S1(config-if)#switchport mode trunk
S1(config-if)#exit
S1(config)#interface range f0/10-11
S1(config-if-range)#channel-group 5 mode on
S1(config-if-range)#exit
S1(config)#vlan 5
S1(config-vlan)#vlan 6
S1(config-vlan)#interface f0/1
S1(config-if)#switchport mode access
S1(config-if)#switchport access vlan 5
S1(config-if)#interface f0/2
S1(config-if)#switchport mode access
S1(config-if)#switchport access vlan 6
S1(config-if)#end
S1#copy running-config startup-config
%LINK-5-CHANGED: Interface Port-channel 5, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel 5, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/10, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/10, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/11, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/11, changed state to up

%SYS-5-CONFIG_I: Configured from console by console

Destination filename [startup-config]? 
Building configuration...
[OK]

(2)S2三層交換機(jī)配置

Switch>enable
Switch#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S2
S2(config)#interface port-channel 5
S2(config-if)#switchport trunk encapsulation dot1q
S2(config-if)#switchport mode trunk
S2(config-if)#exit
S2(config)#interface range f0/10-11
S2(config-if-range)#channel-group 5 mode on
S2(config-if-range)#exit
S2(config)#vlan 5
S2(config-vlan)#vlan 6
S2(config-vlan)#interface f0/1
S2(config-if)#switchport mode access
S2(config-if)#switchport access vlan 5
S2(config-if)#interface f0/2
S2(config-if)#switchport mode access
S2(config-if)#switchport access vlan 6
S2(config-if)#end
%LINK-5-CHANGED: Interface Port-channel 5, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel 5, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/10, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/10, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/11, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/11, changed state to up

S2#
%SYS-5-CONFIG_I: Configured from console by console

四、驗(yàn)證,相同VLAN下的主機(jī)是否互通

(1)vlan 5 下的PC1和PC3

(2)vlan 6 下的PC2和PC4

相關(guān)文章

最新評(píng)論