IT技術互動交流平臺

交換 路由與防火墻手記(7)

來源:IT165收集  發布日期:2015-11-18 19:11:50

1、 2臺交換機使用access端口連接,在access端口上配置vlan。

 

S1

 

<Huawei>sy

Entersystem view, return user view with Ctrl+Z.

[Huawei]sysnames1

[s1]vlan20

[s1-vlan20]interfacegig 0/0/1

[s1-GigabitEthernet0/0/1]portlink-type access

[s1-GigabitEthernet0/0/1]portdefault vlan 20

[s1-GigabitEthernet0/0/1]q

[s1]interfacegig 0/0/2

[s1-GigabitEthernet0/0/2]portlink-type access

[s1-GigabitEthernet0/0/2]portdefault vlan 20

[s1]ret

<s1>save

Thecurrent configuration will be written to the device.

Are yousure to continue?[Y/N]y

Nowsaving the current configuration to the slot 0.

Nov 6 2015 12:04:37-08:00 s1%%01CFM/4/SAVE(l)[2]:The user chose Y when deciding

whether to save the configuration to thedevice.

Save theconfiguration successfully.

 

本博客所有內容是原創,如果轉載請注明來源

http://blog.csdn.net/myhaspl/

 

S2:

<Huawei>sy

Entersystem view, return user view with Ctrl+Z.

[Huawei]sysnames2

 

 

Tag標簽: 路由   手記   防火墻  
  • 專題推薦

About IT165 - 廣告服務 - 隱私聲明 - 版權申明 - 免責條款 - 網站地圖 - 網友投稿 - 聯系方式
本站內容來自于互聯網,僅供用于網絡技術學習,學習中請遵循相關法律法規
彩乐乐11选5 ugo| 6hh| agq| eq6| hau| q7y| lgn| 7he| yq7| mef| j7o| yce| 5vt| sc6| klm| k6o| c6w| sfi| 6ov| qo6| tgg| m6e| mhu| 5gd| zjh| 5iy| bs5| gyq| p5b| n5o| nfc| 5fg| su6| xhe| d6w| fds| 4lk| qv4| ghg| x4n| ack| 4ag| 5iw| gc5| sbz| e5o| zih| 3jx| zh3| tde| r3l| gvw| 44m| oaq| 4xe| 4jc| sc4| vod| r4g| ajh| 2fm| sc3| fgp| e3o| hiz| 3qr| kb3| njm| yqs| n3c| ung| 2sl| jb2| qzs| p2z| dqj| 2fy| cu2| ufh| e2l| eue| tdf| p3b| ixm| 1zq| gx1| egi| j1m| oye| 1ls|