アットウィキロゴ

<enableパスワード設定>
(config)# enable password[パスワード]…設定ファイルにパスワードが平文のまま保存される
(config)# enable secret[パスワード]…設定ファイルにパスワードが暗号化されて保存される。

<ログインパスワード>
(config)# line[接続ポート]・・・コンソールもしくはVTYの設定モードへ入る
(config-line)#login・・・ログイン時にパスワード入力を必要とする
(config-line)# password[パスワード]・・・コンソール接続でのパスワード設定

<パスワードリカバリ Cisco2500>
BreakキーでROMモードへ移行
>o/r 0x2142 ・・・レジスタの変更
>i・・・ルータの再起動

<パスワードリカバリ Cisco2600>
BreakキーでROMモードへ移行
>confreg 0x2142 ・・・レジスタの変更
>reset・・・ルータの再起動


<IPアドレスの設定(ルータ編)>
(config)# interface VLAN 1
(config-if)# ip address 10.212.166.143 255.255.255.0
(config-if)# exit
(config)# ip default-gateway 10.212.166.254

<IPアドレスの設定(スイッチ編)>
(config)#interfaceVLAN1・・・仮想インターフェイスVLAN1の設定モードに入る
(config)#ip address [IPアドレス][サブネットマスク]


<telnetのパスワード>
(config)#line vty 0 4
(config-line)#login
(config-line)#password


<VLAN名前設定>
(config)#vlan [VLAN番号]・・・VLAN設定モードに入る
(config-vlan)#name[VLAN名]

<VLANにポートを割り当てる>

<起動モードの変更>
(config)#config-register [レジスタ番号]


show mac-address-table

必須コマンド一覧

ここにリストしたコマンドは必ず理解して下さい。
「~をしたいときにどのコマンドを使するか」が問われます。
また、表示される情報も正確に覚えて下さい。


Router#show interfaces serial number
Router#debug serial interfaces
Router#ping
Router#show buffers
Router#show interfaces type
Router#show controllers
Router#show memory
Router#show processes
Router(config)#service timestamps
Router#no debug all
Router#undebug all
Router#debug ip packet detail
Router(config)#logging on
Router(config)#no logging on
Router(config)#logging console
Router(config)#logging ip-address
Router#show stacks
Router#show tech-support
Router(config)#exception dump
Router(config)#exception core-file
Router#show ip interface
Router#show ip route
Router#debug ip routing
Router#ping
 Protocol [ip]:
 Target IP address:
 Repeat count [5]:
 Datagram size [100]:
 Timeout in seconds [2]:
 Extended commands [n]: y
 Source address or interface:
 Type of service [0]:
 Set DF bit in IP header? [no]:
 Validate reply data? [no]:
 Data pattern [0xABCD]:
 Loose, Strict, Record, Timestamp, Verbose[none]:
 Sweep range of sizes [n]:
Router#traceroute
Router#show ip access-list
Router#show ip arp
Router#show ip protocols
Router#show ip traffic
Router#show ip interface brief
Router#debug ip icmp
Router#debug ip packet
Router#show spanning-tree
Router#debug vlan packet
Router#debug span
Router(config-if)#ip route-cache
Router#show ip cache verbose
Router#show ip cache optimum
Router(config-if)#ip route-cache flow
Router#show ip cache flow
Router#show buffers
Router(config-if)#frame-relay lmi-type
Router(config-if)#frame-relay map
Router(config-if)#frame-relay interface-dlci
Router(config-if)#encapsulation frame-relay
Router#show frame-relay lmi interface
Router#clear counters interface
Router#show frame-relay map
Router#show frame-relay pvc
Router#debug frame-relay lmi interface
Router#debug frame-relay events
Router#debug frame-relay packet interface
Router(config-if)#dialer map protocol
Router(config-if)#ppp authentication chap
Router(config-if)#dialer load-threshold load
Router#show interfaces bri
Router#show interfaces pri
Router#clear counters
Router(config-if)#hold-queue length
Router(config-if)#dialer idle-timeout seconds
Router#show isdn status
Router#show dialer
Router#show ppp multilink
Router#debug bri
Router#debug isdn q921
Router#debug ppp negotiation
Router#debug ppp authentication
Router#debug isdn q931
Router#debug dialer events
Router(config)#ipx routing
Router(config-if)#ipx network
Router#ping ipx
Router#show ipx interface
Router(config-if)#ipx type-20-propagation
Rotuer#debug ipx sap activity
Router#show ipx eigrp neighbors
Router#show ipx eigrp topology
Router#show ipx nlsp
Router#show ipx nlsp neighbor
Router#show ipx route
Router#show ipx servers
Router#show ipx traffic
Router#debug ipx ipxwan
Router#debug ipx sap
Router#debug ipx packet
Router#debug ipx routing
Router(config)#appletalk routing
Router(config-if)#appletalk cable-range
Router(config-if)#appletalke zone
Router(config)#appletalk routing eigrp
Router(config-if)#appletalk protocol eigrp
Router(config-if)#appletalk cable-range
Router(config-if)#appletalk discovery
Router#show appletalk interface
Router#show appletalk route
Router#show appletalk eigrp neighbors
Router#show appletalk traffic
Router#debug apple events
Router#show ip eigrp topology
Router#show ip eigrp neighbors
Router#debug ip eigrp
Router#debug eigrp packet
Router(config-if)#ip ospf
Router#clear ip route
Router(config-router)#area area-id virtual-link router-id
Router#show ip ospf
Router#show ip ospf interface
Router#show ip ospf border-routers
Router#show ip ospf neighbor
Router#show ip ospf virtual-link
Router#debug ip ospf adj
Router#debug ip ospf events
Router#debug ip ospf packet
Router#debug ip routing
Router(config-router)#neighbor
Reset BGP neighbor connection:
Router#clear ip bgp
Router#show ip bgp
Router#debug ip bgp

Switch#set spantree
Switch#set interface
Swtich#set trunk
Switch#set port channel
Switch#set port speed
Switch#set port duplex
Switch#set port enable
Switch#set port disable
Switch#set span enable
Switch#show system
Switch#show test
Switch#show interface
Switch#show log
Switch#show mac
Switch#show module
Switch#show port
Switch#show config
Switch#show span
Switch#show trunk
Switch#show spantree
Switch#show spantree mod_num/port_num
Switch#show vtp
Switch#no vtp password password-value

最終更新:2006年10月14日 22:15