欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

交換機(jī)基本配置

配置前的連接

瑪曲網(wǎng)站制作公司哪家好,找成都創(chuàng)新互聯(lián)公司!從網(wǎng)頁(yè)設(shè)計(jì)、網(wǎng)站建設(shè)、微信開(kāi)發(fā)、APP開(kāi)發(fā)、成都響應(yīng)式網(wǎng)站建設(shè)公司等網(wǎng)站項(xiàng)目制作,到程序開(kāi)發(fā),運(yùn)營(yíng)維護(hù)。成都創(chuàng)新互聯(lián)公司成立于2013年到現(xiàn)在10年的時(shí)間,我們擁有了豐富的建站經(jīng)驗(yàn)和運(yùn)維經(jīng)驗(yàn),來(lái)保證我們的工作的順利進(jìn)行。專注于網(wǎng)站建設(shè)就選成都創(chuàng)新互聯(lián)公司

交換機(jī)基本配置

交換機(jī)配置命令基礎(chǔ)
用戶模式hostname# ;
特權(quán)模式hostname(config)# ;
全局配置模式hostname(config-if)# ;
交換機(jī)口令設(shè)置:
switch>enable ;進(jìn)入特權(quán)模式
switch#config terminal ;進(jìn)入全局配置模式
switch(config)#hostname csico ;設(shè)置交換機(jī)的主機(jī)名
switch(config)#enable secret csico1 ;設(shè)置特權(quán)加密口令
switch(config)#enable password csico8 ;設(shè)置特權(quán)非密口令
switch(config)#line console 0 ;進(jìn)入控制臺(tái)口
switch(config-line)#line vty 0 4 ;進(jìn)入虛擬終端
switch(config-line)#login ;虛擬終端允許登錄
switch(config-line)#password csico6 ;設(shè)置虛擬終端登錄口令csico6
switch#exit ;返回命令

包括VLAN創(chuàng)建,刪除,端口屬性的設(shè)置,配置trunk端口,將某端口加入vlan中,配置VTP:

switch#vlan database ;進(jìn)入VLAN設(shè)置
switch(vlan)#vlan 2 ;建VLAN 2
switch(vlan)#vlan 3 name vlan3 ;建VLAN 3并命名為vlan3
switch(vlan)#no vlan 2 ;刪vlan 2
switch(config)#int f0/1 ;進(jìn)入端口1
switch(config)#speed ? 查看speed命令的子命令
switch(config)#speed 100 設(shè)置該端口速率為100mb/s (10/auto)
switch(config)#duplex ? 查看duplex的子命令
switch(config)#duplex full 設(shè)置該端口為全雙工(auto/half)
switch(config)#description TO_PC1 這是該端口描述為TO_PC1
switch(config-if)#switchport access vlan 2 ;當(dāng)前端口加入vlan 2
switch(config-if)#switchport mode trunk ;設(shè)置為trunk模式(access模式)
switch(config-if)#switchport trunk allowed vlan 1,2 ;設(shè)置允許的vlan
switch(config-if)#switchport trunk encap dot1q ;設(shè)置vlan 中繼
switch(config)#vtp domain vtpserver ;設(shè)置vtp域名相同
switch(config)#vtp password ;設(shè)置發(fā)vtp密碼
switch(config)#vtp server ;設(shè)置vtp服務(wù)器模式
switch(config)#vtp client ;設(shè)置vtp客戶機(jī)模式

當(dāng)前文章:交換機(jī)基本配置
文章位置:http://chinadenli.net/article2/pgjhoc.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站策劃建站公司云服務(wù)器網(wǎng)站維護(hù)網(wǎng)站導(dǎo)航定制網(wǎng)站

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

成都網(wǎng)頁(yè)設(shè)計(jì)公司