Cisco1812Jを以前ヤフオクで購入したがコンソールケーブルの他にUSBシリアルケーブルがないとPCに繋げないことに気付いた。
そしてようやくUSBシリアルケーブルを手に入れた。
PCに繋いでTera Termを起動してからスイッチを入れてみる。
動いた。
設定を見るコマンドはshow running-config。
入力しても% Invalid input detected at '^' marker.と出る。
google先生に聞くと以下のことが分かった。
編集するには編集する権限がないといけない。
権限は状態(これからはモードと記述する)によって決まる。
モードにはいくつかあり今自分がいるモードはユーザモード。
上記のコマンドを使うには特権モードになれば良い。
特権モードになるコマンドはenable。
入力するとRouterの後に#が付いた。
早速show running-configを入力する。
以下endまでTera Termの画面
Building configuration...
Current configuration : 1223 bytes
!
! Last configuration change at 02:58:33 UTC Sat May 9 2015
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
crypto pki token default removal timeout 0
!
!
dot11 syslog
ip source-route
!
!
!
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
license udi pid CISCO1812-J/K9 sn FHK122923SJ
!
!
!
!
!
!
!
!
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
!
interface FastEthernet0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface FastEthernet4
no ip address
!
interface FastEthernet5
no ip address
!
interface FastEthernet6
no ip address
!
interface FastEthernet7
no ip address
!
interface FastEthernet8
no ip address
!
interface FastEthernet9
no ip address
!
interface Vlan1
no ip address
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line vty 0 4
login
transport input all
!
end
[0回]
PR