ܼ

Cisco 892ν硣
ɥ쥹Ϳ⡼³SNMPͭޤǤ򥫥Сͽꡣ

³

³ˤϥ󥽡륱֥뤬ɬܤȤʤ롣
ꥢ³Υѥ᡼teratermνͤбǽ

ưˤϰʲͤʽϤԤ롣

System Bootstrap, Version 12.4(22r)YB3, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2009 by cisco Systems, Inc.

C890 platform with 524288 Kbytes of main memory

<ά>

         --- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]:

÷󥿡եˤƽԤ[yes]Ԥʤ[no]Ϥ롣
[no]򤷤ˤϰʲͤʽϤԤ롣

Press RETURN to get started!

*Mar  1 00:00:05.539: %IOS_LICENSE_IMAGE_APPLICATION-6-LICENSE_LEVEL: Module name = c890 Next reboot level = 
advipservices and License = advipservices
*Mar  6 05:39:40.043: %IFMGR-7-NO_IFINDEX_FILE: Unable to open nvram:/ifIndex-table No such file or directory
*Mar  6 05:39:40.127: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0  State changed to: Initialized 
*Mar  6 05:39:40.203: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0  State changed to: Enabled 
*Mar  6 05:39:54.811: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0, changed state to down
*Mar  6 05:39:54.811: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to down
*Mar  6 05:39:54.811: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:2, changed state to down
*Mar  6 05:39:54.811: %LINK-3-UPDOWN: Interface FastEthernet8, changed state to up
*Mar  6 05:39:54.811: %LINK-3-UPDOWN: Interface GigabitEthernet0, changed state to up
*Mar  6 05:39:55.739: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
*Mar  6 05:39:55.811: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet8, changed state to down
*Mar  6 05:39:55.811: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to down
*Mar  6 05:39:56.811: %LINK-3-UPDOWN: Interface FastEthernet8, changed state to down
*Mar  6 05:39:56.811: %LINK-3-UPDOWN: Interface GigabitEthernet0, changed state to down
*Mar  6 05:42:24.819: %LINK-5-CHANGED: Interface BRI0, changed state to administratively down
*Mar  6 05:42:26.767: %LINK-5-CHANGED: Interface FastEthernet8, changed state to administratively down
*Mar  6 05:42:26.767: %LINK-5-CHANGED: Interface GigabitEthernet0, changed state to administratively down
*Mar  6 05:42:34.207: %SYS-5-RESTART: System restarted --
Cisco IOS Software, C890 Software (C890-UNIVERSALK9-M), Version 15.1(3)T1, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2011 by Cisco Systems, Inc.
Compiled Sun 27-Mar-11 12:57 by prod_rel_team
*Mar  6 05:42:34.207: %SNMP-5-COLDSTART: SNMP agent on host Router is undergoing a cold start
*Mar  6 05:42:34.231: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
*Mar  6 05:42:34.231: %CRYPTO-6-GDOI_ON_OFF: GDOI is OFF
*Mar  6 05:42:36.891: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to down
*Mar  6 05:42:36.903: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1, changed state to down
*Mar  6 05:42:36.915: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet2, changed state to down
*Mar  6 05:42:36.927: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet3, changed state to down
*Mar  6 05:42:36.943: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet4, changed state to down
*Mar  6 05:42:36.947: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5, changed state to down
*Mar  6 05:42:36.955: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet6, changed state to down
*Mar  6 05:42:36.963: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet7, changed state to down
Router>

󥿡եξֳǧ

󥿡եξ֤ɽ롣

#show ip interface brief 
Interface                  IP-Address      OK? Method Status                Protocol
BRI0                       unassigned      YES unset  administratively down down    
BRI0:1                     unassigned      YES unset  administratively down down    
BRI0:2                     unassigned      YES unset  administratively down down    
FastEthernet0              unassigned      YES unset  down                  down    
FastEthernet1              unassigned      YES unset  down                  down    
FastEthernet2              unassigned      YES unset  down                  down    
FastEthernet3              unassigned      YES unset  down                  down    
FastEthernet4              unassigned      YES unset  down                  down    
FastEthernet5              unassigned      YES unset  down                  down    
FastEthernet6              unassigned      YES unset  down                  down    
FastEthernet7              unassigned      YES unset  down                  down    
FastEthernet8              unassigned      YES unset  administratively down down    
GigabitEthernet0           unassigned      YES unset  administratively down down    
Vlan1                      unassigned      YES unset  down                  down    

ۥ̾

ʲμˤƥۥ̾ꤹ롣

> en
# conf t
(config)# hostname [HOSTNAME]
(config)# exit
# writemem

󥿡եؤΥɥ쥹Ϳ

WAN(GigabitEthernet0)192.168.1.252/24Ϳ硣

> en
# conf t
(config)#interface gigabitEthernet 0
(config-if)#ip address 192.168.1.252 255.255.255.0
(config-if)#no shutdown 
(config)# exit
# write mem

󥿡եξ֤ǧ롣

#show ip interface brief 
Interface                  IP-Address      OK? Method Status                Protocol
BRI0                       unassigned      YES unset  administratively down down    
BRI0:1                     unassigned      YES unset  administratively down down    
BRI0:2                     unassigned      YES unset  administratively down down    
FastEthernet0              unassigned      YES unset  down                  down    
FastEthernet1              unassigned      YES unset  down                  down    
FastEthernet2              unassigned      YES unset  down                  down    
FastEthernet3              unassigned      YES unset  down                  down    
FastEthernet4              unassigned      YES unset  down                  down    
FastEthernet5              unassigned      YES unset  down                  down    
FastEthernet6              unassigned      YES unset  down                  down    
FastEthernet7              unassigned      YES unset  down                  down    
FastEthernet8              unassigned      YES unset  administratively down down    
GigabitEthernet0           192.168.1.252   YES manual up                    up      
Vlan1                      unassigned      YES unset  down                  down

ȥ

롼ƥ󥰤˥ȥꤹ롣

> en
# conf t
(config)#ip route 0.0.0.0 0.0.0.0 [Gateway]
(config)# exit
# write mem

DNS

DNSФλꡣ

> en
# conf t
(config)# ip name-server [DNS1] [DNS2]
(config)# ip domain lookup source-interface [Interface]
(config-line)#password cisco
(config)# exit
# write mem

telnetͭ

telnet³ͭȥѥɤꡣǤϡcisocפ

> en
# conf t
(config)#line vty 0 4
(config-line)#transport input telnet 
(config-line)#password cisco
(config)# exit
# write mem

enable⡼ɥѥɤ

enable⡼ɤڤؤݤΥѥɤꤹ롣Ǥϡcisocפ

> en
# conf t
(config)#enable password cisco
(config)# exit
# write mem

Ʊ

NTPСntp.nict.jpˤꡣ

> en
# conf t
(config)# ntp server ntp.nict.jp
(config)# exit
# write mem
  • ³ǧ
    > en
    # show ntp associations 
  address         ref clock       st   when   poll reach  delay  offset   disp
*~133.243.238.244 .NICT.           1     37     64     1  3.518  82.703 187.59
* sys.peer, # selected, + candidate, - outlyer, x falseticker, ~ configured

SNMPͭ

  • SNMP Serverͭ
    > en
    # conf t
    (config)# snmp-server community [community name] [ro|rw]
    (config)# exit
    # write mem
  • SNMPTrap
    > en
    # conf t
    (config)# snmp-server host [IP] version 2c [community name]
    (config)# snmp-server enable traps
    (config)# exit
    # write mem

Syslogž

SyslogФؤΥꡣ

> en
# conf t
(config)# logging [Syslog Server IP]
(config)# logging source-interface [Interface]
(config)# exit
# write mem

LLDPͭ

LLDPͭ硣~

> en
# conf t
(config)# lldp run
(config)# exit
# write mem

ͭ塢1ʬԤäƤܵ򻲾Ȥ롣

#show lldp neighbors 
Capability codes:
   (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
   (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
Device ID           Local Intf     Hold-time  Capability      Port ID
CORE-SW01           Gi0            120        B               g13

Total entries displayed: 1

ե०

ե०Υ᡼ꤹ롣 Cisco 892ѤΥե०ϰʲͤʥե̾ȤʤäƤ롣

c890-universalk9-mz.151-3.T1.bin
c890-universalk9-mz.124-22.YB4.bin
c890-universalk9-mz.150-1.M.bin
c890-universalk9-mz.150-1.M4.bin
c890-universalk9-mz.150-1.M5.bin
c890-universalk9-mz.150-1.M6.bin
c890-universalk9-mz.151-3.T.bin
c890-universalk9-mz.151-3.T1.bin
c890-universalk9-mz.151-4.M.bin
c890-universalk9-mz.151-4.M1.bin
c890-universalk9-mz.152-1.T.bin
c890-universalk9-mz.154-3.M3.bin
c890-universalk9-mz.154-3.M4.bin
c890-universalk9-mz.154-3.M6a.bin
c890-universalk9-mz.154-3.M7.bin
c890-universalk9-mz.154-3.M8.bin
c890-universalk9-mz.155-1.T.bin
c890-universalk9-mz.155-2.T1.bin
c890-universalk9-mz.155-3.M1.bin
c890-universalk9-mz.156-1.T.bin
c890-universalk9-mz.156-3.M.bin
c890-universalk9_npe-mz.151-3.T2.bin
c890-universalk9_npe-mz.151-4.M1.bin
c890-universalk9_npe-mz.152-1.T.bin

᡼ž

tftpФѤƥե०ž롣
WindowsѤtftpФȤƤϡʲͤʤ롢

  • TFP Server
    https://www.solarwinds.com/ja/free-tools/free-tftp-server

ӥư롼ȥǥ쥯ȥ˥ե०֤롣

Cisco 892ϰʲޥˤtftpФ롣

  • եΥ
    > en
    #copy tftp: flash:
    
    Address or name of remote host []? 192.168.1.133 tftpФΥɥ쥹
    Source filename []? c890-universalk9-mz.156-3.M.binɤե
    Destination filename [c890-universalk9-mz.156-3.M.bin]? ݴɤݤ̾Τ
    Accessing tftp://192.168.1.133/c890-universalk9-mz.156-3.M.bin...

    %Warning: File not a valid executable for this system
    Abort Copy? [confirm] 
    Loading c800-universalk9-mz.SPA.158-3.M3.bin from 192.168.1.133 (via GigabitEthernet0): 
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    [OK - 97182536 bytes]
  • եǧ
    #show flash:
    
    -#- --length-- -----date/time------ path
    1     30094096 May 13 2016 04:43:40 +00:00 c890-universalk9-mz.151-3.T1.bin
    2     58397940 Mar 6 2020 08:19:08 +00:00 c890-universalk9-mz.156-1.T.bin
    
    164495360 bytes available (88502272 bytes used)

ư륤᡼λ

ư륤᡼ꤹ롣

> en
# conf t
(config)# no boot system flash c890-universalk9-mz.151-3.T1.bin
(config)# boot system flash c890-universalk9-mz.156-1.T.bin
(config)# exit
# write mem
# reload

Ƶư塢Сǧ롣

#show version
Cisco IOS Software, C890 Software (C890-UNIVERSALK9-M), Version 15.6(1)T, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2015 by Cisco Systems, Inc.
Compiled Fri 20-Nov-15 17:49 by prod_rel_team

ROM: System Bootstrap, Version 12.4(22r)YB3, RELEASE SOFTWARE (fc1)

<ά>
License UDI:

-------------------------------------------------
Device#   PID                   SN
-------------------------------------------------
*1        CISCO892-K9           FGLxxxxxxx     

License Information for 'c890'
   License Level: advipservices   Type: Permanent
   Next reboot license Level: advipservices

Configuration register is 0x2102

ȥå   Խ ʬ ʎގ̎ ź ʣ ̾ѹ   ǽ   إ   ǽRSS
Last-modified: 2020-03-06 () 23:03:42 (28d)