Router> ping、show、enable 等Router# 所有使用者命令、debug 命令、reload、configure 等Router(config)# hostname、enable secret、ip route、interface 等
Router(config-if)# ip address、ipv6 address、shutdown 等Router(config-router)# network、version、auto summary 等Router(config-line)# password、login、modem 命令等進入特權模式
Switch> enable 可簡寫 en
Switch#
進入存取全域設定模式
Switch# configurre terminal 可簡寫 conf t
Switch(config)#
進入 Config Line 線路存取模式
Switch(config)# line console 0 可簡寫 line c 0
Switch(config-line)#
設定主機名稱
Switch# hostname {Name}
Name#
限制裝置存取 - MOTD 標語(進入 Switch 後的標語)
Switch# banner motd # This is a secure system. Authorized Access ONLY!!! #
恢復原廠設定
Switch# delete vlan.dat
Switch# erase startup-conf
檢查目前的交換器設定
Switch# show running-config 可簡寫 show run
將目前控制階層的設定複製到上個控制階層
Switch# do copy run start
要求進入控制階層時需要執行登入的動作
Switch# login
設定密碼可保護對主控台線路的存取
Switch(config-line)# password
設定密碼可保護對特權模式的存取
Swtich# enable password {password}
設定加密密碼可保護對特權模式的存取
Switch# enable secret {password}