亚洲欧美精品沙发,日韩在线精品视频,亚洲Av每日更新在线观看,亚洲国产另类一区在线5

<pre id="hdphd"></pre>

  • <div id="hdphd"><small id="hdphd"></small></div>
      學(xué)習(xí)啦>學(xué)習(xí)電腦>網(wǎng)絡(luò)知識(shí)>路由器>路由器設(shè)置>cisco思科>

      怎么配置配置思科WS-C2950T-24

      時(shí)間: 權(quán)威724 分享

        cisco生產(chǎn)的路由器、交換機(jī)設(shè)備和其他設(shè)備承載了全世界80%的互聯(lián)網(wǎng)通信,成為硅谷中新經(jīng)濟(jì)的傳奇,那么你知道怎么配置配置思科WS-C2950T-24嗎?下面是學(xué)習(xí)啦小編整理的一些關(guān)于怎么配置配置思科WS-C2950T-24的相關(guān)資料,供你參考。

        使用序列號(hào)簡(jiǎn)化思科IOS的ACL修改操作的方法

        Would you like to enter the initial configuration dialog? [yes/no]: 是否按提示步驟操作

        % Please answer 'yes' or 'no'.

        Would you like to enter the initial configuration dialog? [yes/no]: n 輸入n(自己手工一點(diǎn)點(diǎn)的設(shè)置)

        Press RETURN to get started!

        Switch> 首先看到的是用戶模式

        Switch>en 輸入en(即enable)進(jìn)入特權(quán)模式

        1y13w: %LINK-5-CHANGED: Interface Vlan1, changed state to administratively down

        1y13w: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down

        Switch#conf t 進(jìn)入配置模式

        Enter configuration commands, one per line. End with CNTL/Z.

        Switch(config)#hostname xy_c2950t24_e0201 給交換機(jī)命名

        xy_c2950t24_e0201(config)#enable password Cisco 給交換機(jī)配置管理口令(明碼的)

        xy_c2950t24_e0201(config)#line vty 0 4 給交換機(jī)開啟遠(yuǎn)程管理

        xy_c2950t24_e020(config-line)#pass Cisco! 設(shè)置遠(yuǎn)程管理口令

        xy_c2950t24_e020(config-line)#login 允許遠(yuǎn)程登陸

        xy_c2950t24_e020(config-line)#exit 退出到上級(jí)目錄

        xy_c2950t24_e0201(config)#int vlan 1 進(jìn)入vlan1 接口

        xy_c2950t24_e0201(config-if)#no shut 開啟此接口

        1y13w: %LINK-3-UPDOWN: Interface Vlan1, changed state to up

        1y13w: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up

        xy_c2950t24_e0201(config-if)#ip add 172.25.161.22 255.255.255.0 設(shè)置此接口地址

        xy_c2950t24_e0201(config-if)#exit 退出到上一層

        xy_c2950t24_e0201(config)#ip default-gateway 172.25.161.16 將交換機(jī)的網(wǎng)關(guān)指向上聯(lián)交換機(jī)

        xy_c2950t24_e0201(config)#int ran gi 0/1 - 2 配置上連下連端口

        xy_c2950t24_(config-if-range)#sw mo tr 將此端口設(shè)置成trunk

        xy_c2950t24_(config-if-range)#no shut 開啟此端口

        xy_c2950t24_(config-if-range)#exit 退出到上一級(jí)目錄

        xy_c2950t24_e0201(config)#int ran fa 0/1 - 24 進(jìn)入一段接口range一段范圍,接電腦用戶

        xy_c2950t24_(config-if-range)#no shut 開啟此段端口

        xy_c2950t24_(config-if-range)#sw mo acc 將此段端口設(shè)置成問接入access模式

        xy_c2950t24_(config-if-range)#exit 退出到上一級(jí)目錄

        (公司內(nèi)部沒有設(shè)置VLAN,所以沒有用到將此段端口劃分到某個(gè)vlan里的命令:sw acc vlan 2 )

        xy_c2950t24_e0201(config)#vtp mo cl 設(shè)置vtp(vlan transport portocol)模式為client(一般來講,匯聚和接入交換機(jī)都配置成client)

        Setting device to VTP CLIENT mode.

        xy_c2950t24_e0201(config)#vtp domain xyass 設(shè)置vtp域名(只有域名相同的情況下,vlan信息才能透?jìng)鬟^來)

        Domain name already set to xyass.

        xy_c2950t24_e0201(config)#end 退到根目錄

        xy_c2950t24_e0201#wr 保存配置

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

        Building configuration...

        [OK] (保存好了,已經(jīng)生效)

        以上就是全部設(shè)置過程。

        以下是查看當(dāng)前設(shè)備的配置:

        xy_c2950t24_e0201#show run 查看當(dāng)前設(shè)備的配置(show running-config )

        Building configuration...

        Current configuration : 1880 bytes

        !

        version 12.1

        no service pad

        service timestamps debug uptime

        service timestamps log uptime

        no service password-encryption

        !

        hostname xy_c2950t24_e0201

        !

        enable password Cisco

        !

        ip subnet-zero

        !

        !

      565597