Cisco交換機基本使用命令


一、進入命令行

switch>                                                                  用戶模式

switch> enable                                                       進入特權模式

switch#                                                                  特權模式

switch# config terminal                                 進入全局配置模式

switch# conf t                                                         簡寫

switch(config)#                                              全局配置模式

switch(config)# interface fastethernet 0/1  進入接口模式

switch(config)# int f0/1                          簡寫

switch(config-if)#                                            接口模式

switch(config-if)# exit                            回到上一層模式

switch(config)# end                                        快速退到特權模式

switch# disable                                        從特權模式回到用戶模式

switch>

二、命令行基本配置

switch(config)# hostname ws1                             更改主機名為“sw1”

switch(config)# host ws1                               簡寫

switch# show version                      顯示系統“IOS”名稱及版本信息

switch# sh ver                                                                簡寫

switch# show mac-address-table [dynamic]       查看MAC地址表

 

三、配置交換機速率

switch(config-if)# duplex { full | half | auto }                     指定接口的雙工模式

full:全雙工

half:半雙工

auto:自動協商

 

指定接口的通信速率:

switch(config-if)# speed { 10 | 100 | 1000 | auto }

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM