路由器(Router)是連接兩個或多個網(wǎng)絡(luò)的硬件設(shè)備,在網(wǎng)絡(luò)間起網(wǎng)關(guān)的作用,是讀取每一個數(shù)據(jù)包中的地址然后決定如何傳送的專用智能性的網(wǎng)絡(luò)設(shè)備,路由器最主要的功能為實現(xiàn)信息的轉(zhuǎn)送。 華為、華三H3C交換機如何將端口、接口多個批量加入Vlan?可能很多新手不知道在哪個配置模式視圖下去操作,下面小編就給大家分享H3C交換機批量配置端口Vlan命令,幫助各位同學(xué)快速學(xué)習(xí)交換機入門。
方法步驟:
進入對應(yīng)的Vlan 視圖,輸入以下命令:
- <H3C>system-view
- [H3C]vlan 88
- [H3C-vlan88]port GigabitEthernet 1/0/1 to GigabitEthernet 1/0/10
- [H3C-vlan88]save
命令解析:
system-view:進入 系統(tǒng)視圖 才有權(quán)限配置交換機,發(fā)生的變化和辨別方法就是:<H3C>由尖括號變?yōu)椋篬H3C] 中括號
vlan 88:進入Vlan 配置模式,進入Vlan 88,沒有該Vlan 將自動創(chuàng)建Vlan 88
port GigabitEthernet 1/0/1 to GigabitEthernet 1/0/10:將交換機 千兆口1口至10口 加入批量加入 Vlan 88
save:保存配置,根據(jù)以下提示回答:Y
- The current configuration will be written to the device. Are you sure? [Y/N]:y
- Please input the file name(*.cfg)[flash:/startup.cfg]
- (To leave the existing filename unchanged, press the enter key):
- flash:/startup.cfg exists, overwrite? [Y/N]:y
- Validating file. Please wait.......................
- The current configuration is saved to the active main board successfully.
- Configuration is saved to device successfully.
配置過程如下圖所示:

查看并驗證我們交換機的:千兆口1至10口是否被加入Vlan 88,輸入以下命令查看 Vlan下的接口
如下圖所示:

默認這些被批量加入Vlan 88 的端口/接口 為:access 類型,可以直接接:電腦這類網(wǎng)絡(luò)終端設(shè)備。
本文可以幫助您基本地設(shè)置和管理您的路由器。
|