精品丰满熟女一区二区三区_五月天亚洲欧美综合网_亚洲青青青在线观看_国产一区二区精选

  • <menu id="29e66"></menu>

    <bdo id="29e66"><mark id="29e66"><legend id="29e66"></legend></mark></bdo>

  • <pre id="29e66"><tt id="29e66"><rt id="29e66"></rt></tt></pre>

      <label id="29e66"></label><address id="29e66"><mark id="29e66"><strike id="29e66"></strike></mark></address>
      學(xué)習(xí)啦>學(xué)習(xí)電腦>電腦入門>

      如何配置Cisco交換機(jī)的IP地址

      時(shí)間: 志藝942 分享

        大家知道如何配置Cisco交換機(jī)的IP地址的方法么?接下來(lái)是小編為大家收集的如何配置Cisco交換機(jī)的IP地址方法,希望能幫到大家。

        如何配置Cisco交換機(jī)的IP地址的方法

        1. 計(jì)算機(jī)命令:

        PCA login: root ;使用root用戶

        password: linux ;口令是linux

        # shutdown -h now ;同init 0 關(guān)機(jī)

        # logout

        # login

        # ifconfig ;顯示IP地址

        # ifconfig eth0 netmask ;設(shè)置IP地址

        # ifconfig eht0 netmask down ; 刪除IP地址

        # route add 0.0.0.0 gw

        # route del 0.0.0.0 gw

        # route add default gw ;設(shè)置網(wǎng)關(guān)

        # route del default gw ;刪除網(wǎng)關(guān)

        # route ;顯示網(wǎng)關(guān)

        # ping

        # telnet

        2. 交換機(jī)支持的命令:

        交換機(jī)基本狀態(tài):

        switch: ;交換機(jī)的ROM狀態(tài)

        rommon> ;路由器的ROM狀態(tài)

        hostname> ;用戶模式

        hostname# ;特權(quán)模式

        hostname(config)# ;全局配置模式

        hostname(config-if)# ;接口狀態(tài)

        交換機(jī)口令設(shè)置:

        switch>enable ;進(jìn)入特權(quán)模式

        switch#config terminal ;進(jìn)入全局配置模式

        switch(config)#hostname ;設(shè)置交換機(jī)的主機(jī)名

        switch(config)#enable secret xxx ;設(shè)置特權(quán)加密口令

        switch(config)#enable password xxa ;設(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 xx ;設(shè)置登錄口令xx

        switch#exit ;返回命令

        交換機(jī)VLAN設(shè)置:

        switch#vlan database ;進(jìn)入VLAN設(shè)置

        switch(vlan)#vlan 2 ;建VLAN 2

        switch(vlan)#no vlan 2 ;刪vlan 2

        switch(config)#int f0/1 ;進(jìn)入端口1

        switch(config-if)#switchport access vlan 2 ;當(dāng)前端口加入vlan 2

        switch(config-if)#switchport mode trunk ;設(shè)置為干線

        switch(config-if)#switchport trunk allowed vlan 1,2 ;設(shè)置允許的vlan

        switch(config-if)#switchport trunk encap dot1q ;設(shè)置vlan 中繼

        switch(config)#vtp domain ;設(shè)置發(fā)vtp域名

        switch(config)#vtp password ;設(shè)置發(fā)vtp密碼

        switch(config)#vtp mode server ;設(shè)置發(fā)vtp模式

        switch(config)#vtp mode client ;設(shè)置發(fā)vtp模式

        交換機(jī)設(shè)置IP地址:

        switch(config)#interface vlan 1 ;進(jìn)入vlan 1

        switch(config-if)#ip address ;設(shè)置IP地址

        switch(config)#ip default-gateway ;設(shè)置默認(rèn)網(wǎng)關(guān)

        switch(config)#no shutdown

        switch#dir flash: ;查看閃存

        交換機(jī)顯示命令:

        switch#write ;保存配置信息

        switch#show vtp ;查看vtp配置信息

        switch#show run ;查看當(dāng)前配置信息

        switch#show vlan ;查看vlan配置信息

        switch#show interface ;查看端口信息

        switch#show int f0/0 ;查看指定端口信息

        3. 路由器支持的命令:

        路由器顯示命令:

        router#show run ;顯示配置信息

        router#show interface ;顯示接口信息

        router#show ip route ;顯示路由信息

        router#show cdp nei ;顯示鄰居信息

        router#reload     ;重新起動(dòng)

        路由器口令設(shè)置:

        router>enable ;進(jìn)入特權(quán)模式

        router#config terminal ;進(jìn)入全局配置模式

        router(config)#hostname ;設(shè)置交換機(jī)的主機(jī)名

        router(config)#enable secret xxx ;設(shè)置特權(quán)加密口令

        router(config)#enable password xxb ;設(shè)置特權(quán)非密口令

        router(config)#line console 0 ;進(jìn)入控制臺(tái)口

        router(config-line)#line vty 0 4 ;進(jìn)入虛擬終端

        router(config-line)#login ;要求口令驗(yàn)證

        router(config-line)#password xx ;設(shè)置登錄口令xx

        router(config)#(Ctrl+z) ; 返回特權(quán)模式

        router#exit ;返回命令

        路由器配置:

        router(config)#int s0/0 ;進(jìn)入Serail接口

        router(config-if)#no shutdown ;激活當(dāng)前接口

        router(config-if)#clock rate 64000 ;設(shè)置同步時(shí)鐘

        router(config-if)#ip address ;設(shè)置IP地址

        router(config-if)#ip address second ;設(shè)置第二個(gè)IP

        router(config-if)#int f0/0.1 ;進(jìn)入子接口

        router(config-***if.1)#ip address ;設(shè)置子接口IP

        router(config-***if.1)#encapsulation dot1q ;綁定vlan中繼協(xié)議

        router(config)#config-register 0x2142 ;跳過配置文件

        router(config)#config-register 0x2102 ;正常使用配置文件

        router#reload ;重新引導(dǎo)

        路由器文件操作:

        router#copy running-config startup-config ;保存配置

        router#copy running-config tftp ;保存配置到tftp

        router#copy startup-config tftp ;開機(jī)配置存到tftp

        router#copy tftp flash: ;下傳文件到flash

        router#copy tftp startup-config ;下載配置文件

        ROM狀態(tài):

        Ctrl+Break ;進(jìn)入ROM監(jiān)控狀態(tài)

        rommon>confreg 0x2142 ;跳過配置文件

        rommon>confreg 0x2102 ;恢復(fù)配置文件

        rommon>reset ;重新引導(dǎo)

        rommon>copy xmodem: flash: ;從console傳輸文件

      看了“如何配置Cisco交換機(jī)的IP地址”還想看:

      1.思科cisco怎么配置WEB網(wǎng)管

      2.cisco交換機(jī)設(shè)置

      3.思科IP-MAC地址綁定怎么配置

      4.交換機(jī)如何配置telnet

      5.cisco交換機(jī)怎么配置vlan

      如何配置Cisco交換機(jī)的IP地址

      大家知道如何配置Cisco交換機(jī)的IP地址的方法么?接下來(lái)是小編為大家收集的如何配置Cisco交換機(jī)的IP地址方法,希望能幫到大家。 如何配置Cisco交換機(jī)的IP地址的方法 1. 計(jì)算機(jī)命令: PCA login: root ;使用root用戶 password: linux ;口令
      推薦度:
      點(diǎn)擊下載文檔文檔為doc格式

      精選文章

      • cisco交換機(jī)設(shè)置同步日志本地時(shí)間的方法
        cisco交換機(jī)設(shè)置同步日志本地時(shí)間的方法

        你還在為不知道cisco交換機(jī)設(shè)置同步日志本地時(shí)間的方法而煩惱么?接下來(lái)是小編為大家收集的cisco交換機(jī)設(shè)置同步日志本地時(shí)間的方法教程,希望能幫到大

      • Cisco交換機(jī)初始化配置的教程
        Cisco交換機(jī)初始化配置的教程

        你還在為Cisco交換機(jī)初始化配置的教程而煩惱么?不用擔(dān)心,接下來(lái)是學(xué)習(xí)啦小編為大家收集的Cisco交換機(jī)初始化配置的教程,歡迎大家閱讀: Cisco交換機(jī)初

      • Cisco交換機(jī)恢復(fù)默認(rèn)設(shè)置方法
        Cisco交換機(jī)恢復(fù)默認(rèn)設(shè)置方法

        你還在為不知道Cisco交換機(jī)恢復(fù)默認(rèn)設(shè)置方法而煩惱么?接下來(lái)是小編為大家收集的Cisco交換機(jī)恢復(fù)默認(rèn)設(shè)置方法教程,希望能幫到大家。 Cisco交換機(jī)恢復(fù)默

      • ciscoap配置手冊(cè)詳解
        ciscoap配置手冊(cè)詳解

        你還在為不知道ciscoap配置手冊(cè)詳解而煩惱么?接下來(lái)是小編為大家收集的ciscoap配置手冊(cè)詳解教程,希望能幫到大家。 ciscoap配置手冊(cè)詳解的方法 cisco ap配置

      2741463