Ìܼ¡

³µÍ×

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)¤Ø¤Î¥¢¥É¥ì¥¹ÉÕÍ¿

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

¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹(LAN)¤Ø¤Î¥¢¥É¥ì¥¹ÉÕÍ¿

FastEthernet0¡Á7¤ËÂФ·¤Æ¡¢172.16.0.252/16¤òÉÕÍ¿¤¹¤ë¼ê½ç¡£

  • Vlan1¤Ë¥¢¥É¥ì¥¹¤òÉÕÍ¿
    > en
    # conf t
    (config)#interface Vlan1
    (config-if)#ip address 172.16.0.252 255.255.0.0
    (config-if)#no shutdown
  • FastEthernet¤Î¥Ý¡¼¥È¤òVlan1¤Ë»²²Ã
    (config-if)#switchport access Vlan 1
    (config-if)#interface FastEthernet1
    (config-if)#switchport access Vlan 1
    (config-if)#interface FastEthernet2
    (config-if)#switchport access Vlan 1
    (config-if)#interface FastEthernet3
    (config-if)#switchport access Vlan 1
    (config-if)#interface FastEthernet4
    (config-if)#switchport access Vlan 1
    (config-if)#interface FastEthernet5
    (config-if)#switchport access Vlan 1
    (config-if)#interface FastEthernet6
    (config-if)#switchport access Vlan 1
    (config-if)#interface FastEthernet7
    (config-if)#switchport access Vlan 1
    (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  up                    up
    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 NVRAM  up                    up
    Vlan1                      172.16.0.252    YES manual up                    up

¥²¡¼¥È¥¦¥§¥¤ÀßÄê

¥ë¡¼¥Æ¥£¥ó¥°¤Ë¥²¡¼¥È¥¦¥§¥¤¤ò»ØÄꤹ¤ë¡£

> 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

enable¥â¡¼¥É¥Ñ¥¹¥ï¡¼¥É¤ÎÀßÄê

enable¥â¡¼¥É¤ËÀÚ¤êÂؤ¨¤ëºÝ¤Î¥Ñ¥¹¥ï¡¼¥É¤òÀßÄꤹ¤ë¡£¡ÊÎã¤Ç¤Ï¡Öcisoc¡×¤ËÀßÄê¡Ë

> en
# conf t
(config)#enable 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

SSHÍ­¸ú²½

  • ¥É¥á¥¤¥ó̾¤ÎÀßÄê
    (config)#ip domain-name [OMAIN NAME]
  • °Å¹æ¸°¤ÎÀ¸À®
    (config)#crypto key generate rsa
    The name for the keys will be: cisco982-01.asabiya.net
    Choose the size of the key modulus in the range of 360 to 4096 for your
      General Purpose Keys. Choosing a key modulus greater than 512 may take
      a few minutes.
    
    How many bits in the modulus [512]: 2048
    % Generating 2048 bit RSA keys, keys will be non-exportable...
    [OK] (elapsed time was 7 seconds)
  • SSHÍ­¸ú²½
    (config)#ip ssh version 2
    (config)#line vty 0 4
    (config-line)#transport input ssh 
    (config-line)#exit
  • ¥æ¡¼¥¶ºîÀ®
    (config)#username admin password [PASSWORD]

»þ¹ïƱ´üÀßÄê

³°Éô¤Î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: 2024-01-02 (²Ð) 15:50:14 (108d)