• <nav id="cwumo"><code id="cwumo"></code></nav>
  • <menu id="cwumo"><strong id="cwumo"></strong></menu>

    最新思科常用學習命令

    時間:2024-09-14 00:43:49 思科認證 我要投稿
    • 相關推薦

    2016最新思科常用學習命令

      本文為正在備考思科認證的考生們準備的是思科交換機的常用操作項基本命令,希望以下命令內容能幫助大家更好通過考試!

    2016最新思科常用學習命令

      1、 更改主機名

      switch(config)#hostname sw1

      2、 設置進入特權模式的密碼

      switch(config)#enable password 1234

      switch(config)#enable secret cisco

      3、 設置console口密碼

      switch(config)#line console 0

      switch(config-line)#password 123

      switch(config-line)#login

      4、 查看mac地址列表

      switch#show mac-address-table

      5、 查看mac地址列表刷新時間

      switch#show mac-address-table aging-time

      6、 更改mac地址列表刷新時間

      switch(config)#mac-address-table aging-time 200

      7、 查看當前配置(RAM)

      switch#show running-config

      8、 查看交換機的配置(NVRAM)

      switch#show startup-config

      9、 保存配置

      switch#copy running-config startup-config

      switch#write

      10、恢復出廠默認設置

      switch#erase startup-config

      switch#reload

      11、查看cdp的全局信息

      switch#show cdp

      12、查看接口的cdp配置信息

      switch#show cdp interface f0/2

      13、查看有關cdp包的統計信息

      switch#show cdp traffic

      14、查看鄰居信息

      switch#show cdp neighbors

      15、查看所有入口項的詳細信息

      switch#show cdp neighbors detail

      switch#show cdp entry *

      16、添加接口的描述信息

      switch(config-if)# description connection to routerA

      17、設置交換機的網關

      switch(config)#ip default-gateway 192.168.1.1

      18、關掉DNS解析

      switch(config)# no ip domain-lookup

      19、實現交換機的遠程管理

      switch(config)#enable secret cisco

      switch(config)#interface vlan 1

      switch(config-if)#ip address 192.168.1.100255.255.255.0

      switch(config-if)#no shutdown

      switch(config)#line vty 0 4

      switch(config-line)#password 123

      switch(config-line)#login

      c:\>telnet 192.168.1.100

      20、交換機的密碼恢復

      (1)將交換機的電源拔下

      (2)按mode鍵將電源插上,當出現switch:時將手松開

      (3)switch:flash_init //加載到flash中

      (4)switch:dir flash: //查看flash中的文件

      (5)rename flash:config.text flash:config.old //更改文件名

      (6)boot //重新啟動交換機

      (7)rename flash:config.old flash:config.text //將文件名改回

      (8)copy flash:config.text running-config

      (9)enable password cisco //重新設置密碼

      (10)write //保存

      21、創建vlan方法一

      switch#vlan database

      switch(vlan)#vlan 10 name sc

      switch(vlan)#exit

      22、創建vlan方法二

      switch(config)#vlan 10

      switch(config-vlan)#name sc

      23、刪除vlan方法一

      switch(vlan)#no vlan 10

      switch(vlan)#exit

      24、刪除vlan方法二

      switch(config)#no vlan 10

      25、刪除vlan方法三

      switch#delete vlan.dat

      26、將端口加入到vlan中

      switch(config-if)#switchport access vlan 10

      27、將一組連續的端口加入到vlan中

      switch(config)# interface range f0/1 – 5 端口范圍管理

      switch(config-if-range)#switchport access vlan 10 端口范圍管理模式

    【最新思科常用學習命令】相關文章:

    思科交換機常用的100個命令03-11

    思科配置命令詳細介紹01-23

    思科IPSec基本命令匯總03-05

    思科認證基礎:Switching命令大全03-05

    思科最實用的技術命令大全03-11

    思科與H3C配置命令對比03-03

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

    思科、華為、H3C常用命令對比大全01-06

    2016年思科認證基礎:解決網吧故障DOS命令03-30

    日韩激情