¥Í¥Ã¥È¥ï¡¼¥¯´ØÏ¢
Ìܼ¡

ÀßÄê

¥Û¥¹¥È̾ÀßÄê

  • ¼ê½ç
    >enable
    (config)#configure terminal
    (config)#hostname [HOSTNAME]

¥¢¥É¥ì¥¹¤ÎÀßÄê

´ÉÍý¥¢¥É¥ì¥¹¤ÎÀßÄê

  • ¼ê½ç
    >enable
    #configure terminal
    (config)#interface vlan1
    (config-if)#ip address [IP]/[MASK]

¥Ç¥Õ¥©¥ë¥È¥²¡¼¥È¥¦¥§¥¤¤ÎÀßÄê

>enable
#configure terminal
(config)#ip route 0.0.0.0/0 [GATEWAY]

»þ¹ïÀßÄê

¸½ºß»þ¹ï¤ÎÊѹ¹

  • ¼ê½ç
    >enable
    #configure terminal
    (config)#clock set HH:MM:SS dd mmm yyyy

¥¿¥¤¥à¥¾¡¼¥óÀßÄê

  • ¼ê½ç¡ÊÆüËÜ»þ´Ö¡Ë
    >enable
    #configure terminal
    (config)#clock timezone JST plus 9

NTPÀßÄê

  • ¼ê½ç
    >enable
    #configure terminal
    (config)#ntp server [NTP SERVER]

syslogÀßÄê

syslog¥µ¡¼¥Ð¤Ø¤Î¥í¥°Å¾Á÷ÀßÄê¡£

  • ½ñ¼°
    (config)# log host [IP]
    (config)# log host [IP] level [LEVEL]
  • Îã
    (config)# log host 172.16.1.1 
    (config)# log host 172.16.1.1 level informational 

SNMPÀßÄê

  • SNMPÍ­¸ú²½
    (config)#snmp-server
  • ¥³¥ß¥å¥Ë¥Æ¥£Ì¾¤ÎÀßÄê
    (config)#snmp-server community [COMMUNITY] ro 
  • SNMP¥Þ¥Í¡¼¥¸¥ã¤ÎÅÐÏ¿
    (config)#snmp-server host [IP] traps version 2c [COMMUNITY]
  • SNMPTrapÍ­¸ú²½
    (config)#snmp-server enable trap auth lldp loopprot power-inline 

LLDPÀßÄê

LLDP¤ò»ÈÍѤ¹¤ë¤¿¤á¤Ë¤Ï¡¢LLDP¤ÎÍ­¸ú²½¤Î¾¤Ë¥Ý¡¼¥Èñ°Ì¤Ç¤Îȯ½Ð¾ðÊó¤ÎÍ­¸ú²½¤¬É¬ÍפȤʤ롣

  • Îã
    #conf t
    (config)#lldp run
    (config)#interface port1.0.1-1.0.9
    (config-if)#lldp transmit 
    (config-if)#lldp receive 
    (config-if)#lldp tlv-select all

SSHÀßÄê

  • ¥Ñ¥¹¥ï¡¼¥ÉÀßÄê
    >enable
    #configure terminal
    (config)#username admin privilege 15 password [PASSWORD]
    (config)#username manager password [PASSWORD]
  • SSH¸°¤ÎÀ¸À®
    (config)#service ssh ip
    WARNING: SSHv1 host key does not exist. SSH will not be available for version 1.
    (config)#exit
  • SSHÍ­¸ú²½
    (config)#ssh server allow-users admin
    (config)#service ssh ip
    WARNING: SSHv1 host key does not exist. SSH will not be available for version 1.

ÀßÄê¤ÎÊݸ

  • ¼ê½ç
    >enable
    #copy running-config startup-config
    Building configuration...
    [OK]

¤½¤Î¾

½é´ü²½

ÀßÄê¤òÆɤ߹þ¤Þ¤º¤Ëµ¯Æ°

´û¸¤ÎÀßÄê¤ò½é´ü²½¤¹¤ë¤Ë¤Ï¡¢µ¡´ï¤ÎºÆµ¯Æ°¸å¤Ë¥Ö¡¼¥È¥á¥Ë¥å¡¼¤òɽ¼¨¤·¤ÆÀßÄê¤òÆɤ߹þ¤Þ¤º¤Ëµ¯Æ°¤¹¤ëÁàºî¤ò¹Ô¤¦¡£

  • <Ctrl+B>¤ò²¡²¼¤·¤Æ¥Ö¡¼¥È¥á¥Ë¥å¡¼¤òɽ¼¨
    Bootloader 3.2.3 loaded
    Press <Ctrl+B> for the Boot Menu
  • 5. Special boot options¤òÁªÂò
    Boot Menu:
    
     WARNING: The bootloader is not currently password protected. 
     ------------------------------------------------------
     B. Boot backup software
     ------------------------------------------------------
     S. Security Level
     ------------------------------------------------------
     0. Restart
     1. Perform one-off boot from alternate source
     2. Change the default boot source (for advanced users)
     3. Update Bootloader
     4. Adjust the console baud rate
     5. Special boot options
     6. System information
     7. Restore Bootloader factory settings
     ------------------------------------------------------
     9. Quit and continue booting
    
    Enter selection ==> 5
  • 1. Skip startup script ¤òÁªÂò
    Special boot options menu:
    
     0. Return to previous menu
     ------------------------------------------------------
     1. Skip startup script (Use system defaults)
    
    Enter selection ==> 1
    
    Option successfully set. Press 0 then 9 to boot with the default configuration
    Or boot the system from an alternate source.
  • 0. Return to previous menu¤òÁªÂò
    Special boot options menu:
    
     0. Return to previous menu
     ------------------------------------------------------
     1. Skip startup script (Use system defaults)
    
    Enter selection ==> 0
  • 9. Quit and continue booting¤òÁªÂò¤·¡¢¥·¥¹¥Æ¥à¤òµ¯Æ°
    Boot Menu:
    
     WARNING: The bootloader is not currently password protected. 
     ------------------------------------------------------
     B. Boot backup software
     ------------------------------------------------------
     S. Security Level
     ------------------------------------------------------
     0. Restart
     1. Perform one-off boot from alternate source
     2. Change the default boot source (for advanced users)
     3. Update Bootloader
     4. Adjust the console baud rate
     5. Special boot options
     6. System information
     7. Restore Bootloader factory settings
     ------------------------------------------------------
     9. Quit and continue booting
    
    Enter selection ==> 9
  • ¥·¥¹¥Æ¥à¤Îµ¯Æ°
    Reading filesystem...
    Loading flash:x230-5.4.6-2.7.rel...
    Verifying release... OK
    Booting...
    Uncompressing Linux... done, booting the kernel.
    Starting base/first...                                  [  OK  ]
    Mounting virtual filesystems...                         [  OK  ]
    
               ______________   ____ 
            /\ \            / /______\
          /   \ \_      __/ /| ______ |
        /      \ |     |  /  | ______ |           
      /         \ \   / /     \ ____ /
    /______/\____\ \/ /____________/
    
    Allied Telesis Inc.
    AlliedWare Plus (TM) v5.4.6
    Current release filename: x230-5.4.6-2.7.rel
    Built: Thu Apr 6 08:48:40 UTC 2017
    Mounting static filesystems...                          [  OK  ]
    Checking flash filesystem...                            [  OK  ]
    Mounting flash filesystem...                            [  OK  ]
    Checking for last gasp debug output...                  [  OK  ]
    Initializing random number generator...                 [  OK  ]
    Starting base/arm_sysctl...                             [  OK  ]
    Starting base/dbus...                                   [  OK  ]
    Starting base/syslog...                                 [  OK  ]
    Starting base/loopback...                               [  OK  ]
    Starting base/poe_done...                               [  OK  ]
    Starting base/sysctl...                                 [  OK  ]
    Received event syslog.done
    Starting base/modules...                                [  OK  ]
    Received event modules.done
    Starting base/reboot-stability...                       [  OK  ]
    Checking system reboot stability...                     [  OK  ]
    Starting base/apteryx...                                [  OK  ]
    Starting base/crond...                                  [  OK  ]
    Starting base/appmond...                                [  OK  ]
    Starting base/clockcheck...                             [  OK  ]
    Starting hardware/timeout...                            [  OK  ]
    Starting base/inet...                                   [  OK  ]
    Received event apteryx.done
    Starting base/alfred...                                 [  OK  ]
    Starting network/kermond...                             [  OK  ]
    Starting hardware/plugman...                            [  OK  ]
    Starting hardware/openhpi...                            [  OK  ]
    Received event board.inserted
    Starting hardware/hardware-done...                      [  OK  ]
    Received event hardware.done
    Starting network/startup...                             [  OK  ]
    Starting base/external-media...                         [  OK  ]
    Received event hostcfg.done
    Starting network/licd...                                [  OK  ]
    Received event network.enabled
    
    Initializing HA processes:
    hostd, atmf_agentd, atmfd, loopprot, rmon, auth, epsr
    hsl, imi, lldpd, mstp, nsm, pim6d, ripngd
    sflowd, lacp, ospf6d, pdmd, ripd, udldd, cntrd
    ospfd, pimd
    
    Received event network.initialized
    
    Assigning Active Workload to HA processes:
    hsl, nsm, rmond, sflowd, lacpd, mstpd, authd
    epsrd, loopprotd, lldpd, imi
    
    Received event network.activated
    
    Skipping configuration at user request
    ...
    
    done!
    Received event network.configured
    
    awplus login: 

´°Á´½é´ü²½

  • ½é´ü¥¢¥«¥¦¥ó¥È¤Ë¤Æ¥í¥°¥¤¥ó
    awplus login: 
    ¥æ¡¼¥¶¡¼Ì¾manager
    ¥Ñ¥¹¥ï¡¼¥Éfriend
  • ÀßÄê¤Î¾Ãµî
    >en
    #atmf cleanup
  • ºÆµ¯Æ°¤Î¼Â¹Ô
    This command will erase all NVS, all flash contents except for
    the boot release, and any license files, and then reboot the switch.
    Proceed ? (y/n):y
    
    touch: /nvs/autoboot_start.flag: No such file or directory
    09:38:48 awplus IMISH[2358]: Switch cleaned, rebooting at request of manager
    
    URGENT: broadcast message:
    System going down IMMEDIATELY!
    
           ... Rebooting at user request ...

¥Õ¥¡¡¼¥à¥¦¥§¥¢¥¢¥Ã¥×¥Ç¡¼¥È

³µÍ×

¥Õ¥¡¡¼¥à¥¦¥§¥¢¤Ï¥á¡¼¥«¡¼¥µ¥¤¥È¤è¤ê¼èÆÀ¤¹¤ë¡£
¥À¥¦¥ó¥í¡¼¥É¤Ë¤Ïµ¡´ï¤Î¥·¥ê¥¢¥ëÈֹ椬ɬÍפȤʤ뤬¡¢¤³¤ì¤Ïµ¡´ïËÜÂΤËŽ¤é¤ì¤Æ¤¤¤ë¥·¡¼¥ë¤Ëµ­ºÜ¤µ¤ì¤¿Èֹ椬ɬÍפȤʤ롣¡Ê¥³¥Þ¥ó¥É¤Ë¤Æ³Îǧ¤Ç¤­¤ëÆâÍƤȤϰۤʤë¡Ë

https://www.allied-telesis.co.jp/support/list/switch/x230/download.html

¤Þ¤¿¡¢¥Õ¥¡¡¼¥à¥¦¥§¥¢¤òµ¡´ï¤Ë¥¢¥Ã¥×¥í¡¼¥É¤¹¤ë¤¿¤á¤Ë¤ÏTFTP¥µ¡¼¥Ð¤¬É¬ÍפȤʤ롣

¥¢¥Ã¥×¥Ç¡¼¥È¼ê½ç

  • ¥·¥¹¥Æ¥à¤ÎÍÆÎ̳Îǧ
    >en
    #show file systems
  • ½ÐÎÏÎã
     Size(b)  Free(b)  Type   Flags  Prefixes   S/D/V   Lcl/Ntwk  Avail
    -------------------------------------------------------------------
      61.9M    37.9M   flash     rw  flash:     static  local      Y
          -        -   system    rw  system:    virtual local      -
      10.0M     9.8M   debug     rw  debug:     static  local      Y
          -        -   sdcard    rw  card:      dynamic local      N
          -        -   fserver   rw  fserver:   dynamic network    N
          -        -   tftp      rw  tftp:      -       network    -
          -        -   scp       rw  scp:       -       network    -
          -        -   sftp      ro  sftp:      -       network    -
          -        -   http      ro  http:      -       network    -
          -        -   rsync     rw  rsync:     -       network    -
  • flash¥á¥â¥ê¤ÎÃæ¿È¤Î³Îǧ
    #dir
  • ½ÐÎÏÎã
            0 drwx Jan  8 2024 11:52:02  log/
         1010 -rw- Jan  8 2024 00:29:10  default.cfg
     22885206 -rwx Apr 25 2017 19:59:02  x230-5.4.6-2.7.rel
  • ¥Õ¥¡¡¼¥à¥¦¥§¥¢¤ÎÇÛÃÖ
    #copy tftp://[SERVER IP]/x230-5.5.3-2.1.rel flash:/x230-5.5.3-2.1.rel
    Copying...
    Successful operation
  • GUI¤ÎÇÛÃÖ
    #copy tftp://[SERVER IP]awplus-gui_553_31.gui flash:/awplus-gui_553_31.gui
    Copying...
    Successful operation
  • flash¥á¥â¥ê¤ÎÃæ¿È¤Î³Îǧ
    #dir
  • ½ÐÎÏÎã
      4444160 -rw- Jan  8 2024 12:10:25  awplus-gui_553_31.gui
     25566780 -rw- Jan  8 2024 12:08:07  x230-5.5.3-2.1.rel
            0 drwx Jan  8 2024 11:52:02  log/
         1010 -rw- Jan  8 2024 00:29:10  default.cfg
     22885206 -rwx Apr 25 2017 19:59:02  x230-5.4.6-2.7.rel
  • ¥Ö¡¼¥È¥¤¥á¡¼¥¸¤ÎÊѹ¹
    >enable
    #configure terminal
    (config)#boot system x230-5.5.3-2.1.rel
    (config)#boot system backup x230-5.4.6-2.7.rel
  • ÀßÄê·ë²Ì¤Î³Îǧ
    #show boot
    
    Boot configuration
    --------------------------------------------------------------------------------
    Current software   : x230-5.4.6-2.7.rel 
    Current boot image : flash:/x230-5.5.3-2.1.rel (file exists)
    Backup  boot image : flash:/x230-5.4.6-2.7.rel (file exists)
    Default boot config: flash:/default.cfg
    Current boot config: flash:/default.cfg (file exists)
    Backup  boot config: Not set 
    Autoboot status    : disabled
    Boot Security Level: none
  • ºÆµ¯Æ°
    #reboot
  • ºÆµ¯Æ°¸å¤Î³Îǧ
    #show boot
    
    Boot configuration
    --------------------------------------------------------------------------------
    Current software   : x230-5.5.3-2.1.rel 
    Current boot image : flash:/x230-5.5.3-2.1.rel (file exists)
    Backup  boot image : flash:/x230-5.4.6-2.7.rel (file exists)
    Default boot config: flash:/default.cfg
    Current boot config: flash:/default.cfg (file exists)
    Backup  boot config: Not set 
    Autoboot status    : disabled
    Boot Security Level: none

¥È¥Ã¥×   ÊÔ½¸ Åà·ë º¹Ê¬ ŽÊŽÞŽ¯Ž¸Ž±Ž¯ŽÌŽß źÉÕ Ê£À½ ̾Á°Êѹ¹ ¥ê¥í¡¼¥É   ¿·µ¬ °ìÍ÷ ¸¡º÷ ºÇ½ª¹¹¿·   ¥Ø¥ë¥×   ºÇ½ª¹¹¿·¤ÎRSS
Last-modified: 2024-01-08 (·î) 12:26:14 (110d)