• <sub id="h4knl"><ol id="h4knl"></ol></sub>
    <sup id="h4knl"></sup>
      <sub id="h4knl"></sub>

      <sub id="h4knl"><ol id="h4knl"><em id="h4knl"></em></ol></sub><s id="h4knl"></s>
      1. <strong id="h4knl"></strong>

      2. 思科交換機(jī)的基本配置命令

        時(shí)間:2024-07-06 08:03:37 網(wǎng)絡(luò)技術(shù) 我要投稿
        • 相關(guān)推薦

        思科交換機(jī)的基本配置命令

          網(wǎng)絡(luò)技術(shù)知識(shí)其實(shí)也是弱電里面的一個(gè)難點(diǎn),這個(gè)一般是在大學(xué)課程里面才能詳細(xì)的學(xué)習(xí),今天小編帶來的是交換機(jī)的基本配置命令。

          一、基本配置命令

          switch> 用戶模式

          1:進(jìn)入特權(quán)模式 enable

          switch> enable

          switch#

          2:進(jìn)入全局配置模式 configure terminal

          switch> enable

          switch#c onfigure terminal

          switch(conf)#

          3:交換機(jī)命名 hostname aptech2950 以 aptech2950 為例

          switch> enable

          switch#c onfigure terminal

          switch(conf)#hostname aptch-2950

          aptech2950(conf)#

          4:配置使能口令 enable password cisco 以 cisco 為例

          switch> enable

          switch#c onfigure terminal

          switch(conf)#hostname aptch2950

          aptech2950(conf)# enable password cisco

          5:配置使能密碼 enable secret ciscolab 以 cicsolab 為例

          switch> enable

          switch#c onfigure terminal

          switch(conf)#hostname aptch2950

          aptech2950(conf)# enable secret ciscolab

          6:設(shè)置虛擬局域網(wǎng) vlan 1 interface vlan 1

          switch> enable

          switch#c onfigure terminal

          switch(conf)#hostname aptch2950

          aptech2950(conf)# interface vlan 1

          aptech2950(conf-if)#ip address 192.168.1.1 255.255.255.0 配置交換機(jī)端口 ip 和子網(wǎng)掩碼

          aptech2950(conf-if)#no shut 是配置處于運(yùn)行中

          aptech2950(conf-if)#exit

          aptech2950(conf)#ip default-gateway 192.168.254 設(shè)置網(wǎng)關(guān)地址

          7:進(jìn)入交換機(jī)某一端口 interface fastehernet 0/17 以 17 端口為例

          switch> enable

          switch#c onfigure terminal

          switch(conf)#hostname aptch2950

          aptech2950(conf)# interface fastehernet 0/17

          aptech2950(conf-if)#

          8:查看命令 show

          switch> enable

          switch# show version 察看系統(tǒng)中的所有版本信息

          show interface vlan 1 查看交換機(jī)有關(guān) ip 協(xié)議的配置信息

          show running-configure 查看交換機(jī)當(dāng)前起作用的配置信息

          show interface fastethernet 0/1 察看交換機(jī) 1 接口具體配置和統(tǒng)計(jì)信息

          show mac-address-table 查看 mac 地址表

          show mac-address-table aging-time 查看 mac 地址表自動(dòng)老化時(shí)間

          9:交換機(jī)恢復(fù)出廠默認(rèn)恢復(fù)命令

          switch> enable

          switch# erase startup-configure

          switch# reload

          10:雙工模式設(shè)置

          switch> enable

          switch#c onfigure terminal

          switch2950(conf)#hostname aptch-2950

          aptech2950(conf)# interface fastehernet 0/17 以 17 端口為例

          aptech2950(conf-if)#duplex full/half/auto 有 full , half, auto 三個(gè)可選

          項(xiàng)

          11:cdp 相關(guān)命令

          switch> enable

          switch# show cdp 查看設(shè)備的 cdp 全局配置信息

          show cdp interface fastethernet 0/17 查看 17 端口的 cdp 配置信息

          show cdp traffic 查看有關(guān) cdp 包的統(tǒng)計(jì)信息

          show cdp nerghbors 列出與設(shè)備相連的 cisco 設(shè)備

          12:csico2950 的密碼恢復(fù)

          拔下交換機(jī)電源線。

          用手按著交換機(jī)的 MODE 鍵,插上電源線

          在 switch:后執(zhí)行 flash_ini 命令:switch: flash_ini

          查看 flash 中的文件: switch: dir flash:

          把“config.text”文件改名為“config.old”: switch: rename flash: config.text flash: config.old

          執(zhí)行 boot: switch: boot

          交換機(jī)進(jìn)入是否進(jìn)入配置的對話,執(zhí)行 no :

          進(jìn)入特權(quán)模式察看 flash 里的文件: show flash :

          把“config.old”文件改名為“config.text”: switch: rename flash: config.old flash: config.text

          把 “ config.text ” 拷 入 系 統(tǒng) 的 “ running-configure ”: copy flash: config.text system :

          running-configure

          把配置模式重新設(shè)置密碼存盤,密碼恢復(fù)成功。

          13:交換機(jī) telnet 遠(yuǎn)程登錄設(shè)置:

          switch>en

          switch#c onfigure terminal

          switch(conf)#hostname aptech-2950

          aptech2950(conf)#enable password cisco 以 cisco 為特權(quán)模式密碼

          aptech2950(conf)#interface fastethernet 0/1 以 17 端口為 telnet 遠(yuǎn)程登錄端口

          aptech2950(conf-if)#ip address 192.168.1.1 255.255.255.0

          aptech2950(conf-if)#no shut

          aptech2950(conf-if)#exit

          aptech2950(conf)line vty 0 4 設(shè)置 0-4 個(gè)用戶可以 telnet 遠(yuǎn)程登陸

          aptech2950(conf-line)#login

          aptech2950(conf-line)#password edge 以 edge 為遠(yuǎn)程登錄的用戶密碼

          主機(jī)設(shè)置:

          ip 192.168.1.2 主機(jī)的 ip 必須和交換機(jī)端口的地址在同一網(wǎng)絡(luò)

          段

          netmask 255.255.255.0

          gate-way 192.168.1.1 網(wǎng)關(guān)地址是交換機(jī)端口地址

          運(yùn)行:

          telnet 192.168.1.1

          進(jìn)入 telnet 遠(yuǎn)程登錄界面

          password : edge

          aptech2950>en

          password: cisco

          aptech#

          14:交換機(jī)配置的重新載入和保存

          設(shè)置完成交換機(jī)的配置后:

          aptech2950(conf)#reload

          是否保存(y/n) y: 保存設(shè)置信息 n:不保存設(shè)置信息

        【思科交換機(jī)的基本配置命令】相關(guān)文章:

        思科交換機(jī)基本配置命令大全06-10

        思科交換機(jī)的基本配置09-10

        交換機(jī)基本配置命令大全02-26

        華為交換機(jī)基本配置命令01-21

        思科三層交換機(jī)配置命令大全09-25

        思科三層交換機(jī)配置實(shí)例及命令10-24

        華為交換機(jī)基本配置命令大全01-21

        華為交換機(jī)基本配置命令匯總02-25

        思科配置命令詳細(xì)介紹01-23

        華為交換機(jī)基本配置命令明細(xì)盤點(diǎn)09-20

        国产高潮无套免费视频_久久九九兔免费精品6_99精品热6080YY久久_国产91久久久久久无码
      3. <sub id="h4knl"><ol id="h4knl"></ol></sub>
        <sup id="h4knl"></sup>
          <sub id="h4knl"></sub>

          <sub id="h4knl"><ol id="h4knl"><em id="h4knl"></em></ol></sub><s id="h4knl"></s>
          1. <strong id="h4knl"></strong>

          2. 亚洲日韩福利在线 | 日韩精品亚洲专区第一页 | 婷婷丁香亚洲综合国产 | 日韩全裸美女1区2区在线免费观看 | 亚洲欧美日韩在线综合 | 制服亚洲中文字幕 |