【アライドスイッチ】各種 show コマンドまとめ

スイッチ
スポンサーリンク

作業環境

  • 型番:AT-x510-28GTX
  • ファームウェアバージョン:5.5.0-1.3

コンフィグの表示

show running-config

  • show running-config
    • ランニングコンフィグを表示

show startup-config

  • show startup-config
    • スタートアップコンフィグを表示

ハードウェア情報の表示

show cpu

  • show cpu
    • CPUの使用状況、および、実行中のプロセス一覧を表示
awplus#show cpu

CPU averages:
 1 second: 9%, 20 seconds: 9%, 60 seconds: 9%
System load averages:
 1 minute: 0.27, 5 minutes: 1.49, 15 minutes: 1.25
Current CPU load:
 userspace: 15%, kernel: 20%, interrupts: 0% iowaits: 0%

user processes
==============
  pid name            thrds  cpu%   pri     state   runtime
  866 hostd               5   6.6    20       run        72
  871 hsl                44   4.4    20     sleep      3143
  438 cmsg_sld            4   1.1    20     sleep       443
 8558 imish               1   0.0    20     sleep         0
 5196 getty               1   0.0    20     sleep         0
#中略

kernel threads
==============
  pid name             cpu%   pri     state   runtime
 1990 nfsd              0.0    20     sleep         0
 1989 nfsd              0.0    20     sleep         0
 1988 lockd             0.0    20     sleep         0
  363 atl_bcm_tx_thre   0.0    20     sleep         0
  232 ext4-rsv-conver   0.0     0     sleep         0
  198 jffs2_gcd_mtd0    0.0    30     sleep       387
#後略

show cpu history

  • show cpu history
    • CPU使用率の推移をグラフで表示
awplus#show cpu history

Per second CPU load history

100
 90
 80
 70
 60
 50
 40                                           *
 30                                          *
 20                    **                         *   *
 10 *******************  ********************  *** *** *********
    |....|....|....|....|....|....|....|....|....|....|....|....
    Oldest                                                Newest
        CPU load% per second (last 60 seconds)
              * = average CPU load%


Per minute CPU load history

100
 90                                                   **+
 80
 70                                                      +
 60
 50
 40                                                       + ++ +
 30                                                     *  +  +
 20                                                      *
 10                                                       ******
    |....|....|....|....|....|....|....|....|....|....|....|....
    Oldest                                                Newest
        CPU load% per minute (last 60 minutes)
              * = average CPU load%, + = maximum


Per (30) minute CPU load history

100
 90                                                            +
 80
 70
 60
 50
 40
 30                                                            *
 20
 10                                                            -
    |....|....|....|....|....|....|....|....|....|....|....|....
    Oldest                                                Newest
        CPU load% per 30 minutes (last 60 values / 30 hours)
              * = average, - = minimum, + = maximum

show memory

  • show memory
    • メモリーの使用状況、および、実行中のプロセス一覧を表示
awplus#show memory

RAM total: 493456 kB; free: 342156 kB; buffers: 17440 kB

user processes
==============
  pid name             mem%  size(kB)  peak(kB)  data(kB)   stk(kB)  virt(kB)
  871 hsl               5.3     26232    687200    635808       212    687200
  869 imi               3.5     17604    730884    701432       136    730820
  862 nsm               2.9     14528    579816    554996       136    579788
 5125 imish             2.4     12184    303764    282544       136    303764
 2892 appweb            2.4     12300     53420     28792       136     53420
 1108 authd             1.9      9484     53656     34548       136     53656
 1184 atmfd             1.7      8840    354428    338368       136    354428
 1182 loopprotd         1.7      8460     77068     60108       136     77004
#後略

show memory history

  • show memory history
    • メモリー使用率の推移をグラフで表示
awplus#show memory history

Per second memory utilisation history

100
 90
 80
 70
 60
 50
 40
 30 ************************************************************
 20
 10
    |....|....|....|....|....|....|....|....|....|....|....|....
    Oldest                                                Newest
        Memory utilization% per second (last 60 seconds)
              * = average memory utilisation%


Per minute memory utilisation history

100
 90
 80
 70
 60
 50
 40
 30                                             ****************
 20
 10
    |....|....|....|....|....|....|....|....|....|....|....|....
    Oldest                                                Newest
        Memory utilization% per minute (last 60 minutes)
              * = average memory utilisation%


Per (30) minute memory utilisation history

100
 90
 80
 70
 60
 50
 40
 30                                                            *
 20
 10
    |....|....|....|....|....|....|....|....|....|....|....|....
    Oldest                                                Newest
        Memory utilization% per 30 minutes (last 60 values / last 30 hours)
              * = average, - = minimum, + = maximum

show system environment

  • show system environment
    • 本体、拡張モジュール、電源ユニットの動作環境に関する情報を表示
awplus#show system environment
Environment Monitoring Status

Overall Status: ***Fault***

Resource ID: 1  Name: RPS 1 ()
ID  Sensor (Units)                      Reading  Low Limit High Limit Status
1   Device Present                          Yes        -          -       Ok
2   PSU Power Output                        Yes        -          -       Ok

Resource ID: 2  Name: RPS 2 ()
ID  Sensor (Units)                      Reading  Low Limit High Limit Status
1   Device Present                          Yes        -          -       Ok
2   PSU Power Output                         No        -          -    FAULT

Resource ID: 3  Name: x510-28GTX
ID  Sensor (Units)                      Reading  Low Limit High Limit Status
1   Fan: Fan 1 (Rpm)                       4248       3000        -       Ok
2   Voltage: 1.8V (Volts)                 1.797      1.617      1.978     Ok
3   Voltage: 1.0V (Volts)                 0.998      0.896      1.099     Ok
4   Voltage: 3.3V (Volts)                 3.274      3.028      3.562     Ok
5   Voltage: 5.0V (Volts)                 5.059      4.503      5.498     Ok
6   Voltage: 1.2V (Volts)                 1.184      1.081      1.318     Ok
7   Temp: CPU (Degrees C)                    40        -11         80     Ok

show system pluggable

  • show system pluggable [diagnostics]
    • 装着されているSFP、SFP+の情報を表示
awplus#show system pluggable
System Pluggable Information

Port    Vendor           Device           Serial Number    Datecode Type
--------------------------------------------------------------------------------
1.0.25  ATI              AT-SP10SR        AXXXXXRXXXXXXXXX XXXXXXXX 10GBASE-SR

awplus#show system pluggable diagnostics
System Pluggable Information Diagnostics

port1.0.25         Status             Alarms                    Warnings
                  Reading   Alarm     Max     Min   Warning     Max     Min
Temp: (Degrees C)  26.593       -  78.000  -13.00         -  73.000  -8.000
Vcc: (Volts)       3.2852       -  3.8000  2.8000         -  3.5000  3.1000
Tx Bias: (mA)       5.520       -  15.440   0.440         -  12.440   2.440
Tx Power: (mW)     0.5532       -  1.4125  0.1995         -  1.1220  0.2512
Rx Power: (mW)     0.0000     Low  1.5849  0.0490       Low  1.2589  0.0617
Rx LOS:           Rx Down

システム情報の表示

show boot

  • show boot
    • 起動時にロードされるファームウェアとコンフィグファイルの情報を表示
awplus#show boot
Boot configuration
--------------------------------------------------------------------------------
Current software   : x510-5.5.0-1.3.rel
Current boot image : flash:/x510-5.5.0-1.3.rel (file exists)
Backup  boot image : flash:/x510-5.4.7-0.1.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

show ip name-server

  • show ip name-server
    • DNSサーバーの一覧を表示
awplus#show ip name-server
Currently learned name-servers:

show license

  • show license
    • ライセンスの情報を表示
awplus#show license

Board region: Japan

Feature licenses on stack member 1:

Index                         : 1
License name                  : Base License
Customer name                 : Base License
Type of license               : Full
License issue date            : 11-Nov-2020
Features included             : AMF-GUEST, AMF-Starter, IPv6Basic,
                                L3-FORWARDING, L3-MC-ROUTE, LAG-FULL, MLDSnoop,
                                No-License-Lock, RADIUS-100, UFO, VCStack, VRRP


Release licenses on stack member 1:

show process

  • show process
    • CPU、メモリーの使用状況、および、実行中のプロセス一覧を表示
awplus#show process

CPU averages:
 1 second: 12%, 20 seconds: 8%, 60 seconds: 9%
System load averages:
 1 minute: 0.10, 5 minutes: 0.28, 15 minutes: 0.69
Current CPU load:
 userspace: 9%, kernel: 18%, interrupts: 0% iowaits: 0%
RAM total: 493456 kB; free: 342128 kB; buffers: 17440 kB

user processes
==============
  pid name            thrds  cpu%  mem%   pri     state
  871 hsl                44   3.2   5.3    20 sleep
  866 hostd               5   5.3   1.1    20   run
  869 imi                54   0.0   3.5    20 sleep
  862 nsm                35   0.0   2.9    20 sleep
 5125 imish               3   0.0   2.4    20 sleep
 2892 appweb              4   0.0   2.4    20 sleep
 1108 authd               5   0.0   1.9    20 sleep
#中略

kernel threads
==============
  pid name             cpu%   pri     state
 1990 nfsd              0.0    20 sleep
 1989 nfsd              0.0    20 sleep
 1988 lockd             0.0    20 sleep
  363 atl_bcm_tx_thre   0.0    20 sleep
  232 ext4-rsv-conver   0.0     0 sleep
  198 jffs2_gcd_mtd0    0.0    30 sleep
   89 kworker/0:1H      0.0     0 sleep
   71 loop0             0.0     0 sleep
   68 deferwq           0.0     0 sleep
   67 ipv6_addrconf     0.0     0 sleep
   66 ifdown_nb_wq      0.0     0 sleep
#後略

show system

  • show system
    • システム情報を表示
awplus#show system
System Status                                           Wed Nov 11 15:18:52 2020

Stack member 1

Board      ID   Bay     Board Name                        Rev   Serial number
--------------------------------------------------------------------------------
Base       369  Base    x510-28GTX                        B-0   XXXXXXXXX
--------------------------------------------------------------------------------
RAM: Total: 493456 kB Free: 342252 kB
Flash: 63.0MB Used: 54.2MB Available: 8.8MB
--------------------------------------------------------------------------------
Environment Status : ***Fault***
Uptime             : 0 days 00:22:34
Bootloader version : 2.0.36


Current software   : x510-5.5.0-1.3.rel
Software version   : 5.5.0-1.3
Build date         : Wed Sep 2 21:15:51 UTC 2020

Current boot config: flash:/default.cfg (file exists)

System Name
 awplus
System Contact

System Location

show system serialnumber

  • show system serialnumber
    • 本体のシリアル番号を表示
awplus#show system serialnumber
AXXXXDXXXN

show version

  • show version
    • コマンド履歴を表示
awplus#show version

AlliedWare Plus (TM) 5.5.0 09/02/20 21:15:51

Build name : x510-5.5.0-1.3.rel

 Application Interface Specification Framework
   Copyright (c) 2002-2004 MontaVista Software, Inc;
   Copyright (c) 2005-2010 Red Hat, Inc.
 Command Line Option Parsing Library
   Copyright (c) 1998-2002  Red Hat Software Inc.
 Corosync Cluster Engine
   Copyright (c) 2002-2004 MontaVista Software, Inc. All rights reserved;
   Copyright (c) 2005-2010 Red Hat, Inc.
 cURL
   Copyright (c) 1996 - 2016, Daniel Stenberg, <daniel@haxx.se>, and many
      contributors. All rights reserved.
 DHCP Bind
   Copyright (c) 2005 - 2008, Holger Zuleger HZnet. All rights reserved.
   Copyright (c) 2004-2012  Internet Systems Consortium, Inc. ("ISC").
   Copyright (c) 1996-2003  Internet Software Consortium.
   Copyright (c) 1996-2001  Nominum, Inc.
   Copyright (c) 1995-2000 by Network Associates, Inc.
#後略

show history

  • show history
    • システムのバージョン情報、および、使用しているソフトウェアの著作権情報を表示
awplus#show history
   1 en
   2 ter len 0
   3 show run
   4 show clock
   5 show boot
   6 show cpu
   7 show cpu history
   8 show exception log
   9 show hosts
  10 show ip name-server
  11 show license
  12 show memory
  13 show memory history
  14 show process
  15 show reboot history
  16 show system
  17 show system environment
  18 show system pluggable
  19 show system pluggable diagnostics
  20 show system serialnumber
  21 show version
  22 show history

ユーザ情報の表示

show users

  • show users
    • 本装置にログインしているユーザーの情報を表示
awplus#show users
Line    User            Host(s)  Idle      Location        Priv Idletime Timeout
vty 0   admin           idle     00:00:01  10.10.10.2      15   0        N/A

show privilege

  • show privilege
    • 現在の実効権限レベルを表示
awplus#show privilege
Current privilege level is 15

TELNET/SSH サーバ情報の表示

show telnet

  • show telnet
    • Telnet サーバーの設定を表示
awplus#show telnet
Telnet Server Configuration
------------------------------------------------------------
Telnet server                      : Enabled
Protocol                           : IPv4,IPv6
Port                               : 23

show ssh server

  • show ssh server
    • SSH サーバーの情報を表示
awplus#show ssh server
Secure Shell Server Configuration
--------------------------------------------------------------------------------
SSH Server                         : Enabled
Protocol                           : IPv4,IPv6
Port                               : 22
Version                            : 2,1
Services                           : scp, sftp
User Authentication                : publickey, password
Resolve Hosts                      : Disabled
Session Timeout                    : 0 (Off)
Login Timeout                      : 60 seconds
Maximum Authentication Tries       : 6
Maximum Startups                   : 10
Debug                              : NONE
Ciphers                            : aes128-cbc,aes128-ctr,aes192-ctr,aes256-ctr

show ssh server allow-users

  • show ssh server allow-users
    • SSH サーバーへのログインを許可されているユーザーの情報を表示
awplus#show ssh server allow-users
Username         Remote Hostname (pattern)
---------------- --------------------------------
*

show ssh server deny-users

  • show ssh server deny-users
    • SSH サーバーへのログインを禁止されているユーザーの情報を表示
awplus#show ssh server deny-users

ファイル情報の表示

show file systems

  • show file systems
    • ファイルシステムの情報を表示
awplus#show file systems

 Size(b)  Free(b)  Type   Flags  Prefixes   S/D/V   Lcl/Ntwk  Avail
-------------------------------------------------------------------
  63.0M     8.8M   flash     rw  flash:     static  local      Y
      -        -   system    rw  system:    virtual local      -
  10.0M     9.8M   debug     rw  debug:     static  local      Y
 499.0K   428.0K   nvs       rw  nvs:       static  local      Y
      -        -   usbstick  rw  usb:       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    -

dir

  • dir
    • 指定したディレクトリーに存在するファイルおよびディレクトリーの一覧、または、指定したファイルの情報を表示
awplus#dir all
         0 drwx Nov 11 2020 14:59:43  .configs/
         0 drwx Nov 07 2020 13:25:08  ./
      1752 -rw- Nov 07 2020 13:25:08  default.cfg
        19 -rw- Nov 05 2020 11:53:11  .backup
        19 -rw- Nov 05 2020 11:53:03  .release
  28278820 -rw- Nov 05 2020 11:51:58  x510-5.5.0-1.3.rel
         0 drwx Oct 08 2020 12:32:02  log/
       313 drwx Sep 03 2020 06:15:56  ../
  25878014 -rw- Jun 30 2017 14:22:24  x510-5.4.7-0.1.rel
         0 drwx Sep 13 2013 03:50:06  .home/

日付・時刻の表示

show clock

  • show clock
    • 日時とタイムゾーンを表示
awplus#show clock
Local Time: Wed, 11 Nov 2020 15:01:47 +0900
UTC Time:   Wed, 11 Nov 2020 06:01:47 +0000
Timezone: JST
Timezone Offset: +09:00
Summer time zone: None

show ntp status

  • show ntp status
    • NTPの状態を表示
awplus# show ntp status
Reference ID    : AC111C01 (172.17.28.1)
Stratum         : 6
Ref time (UTC)  : Fri Jul 06 02:53:20 2018
System time     : 0.000000000 seconds slow of NTP time
Last offset     : +0.000000180 seconds
RMS offset      : 0.000000180 seconds
Frequency       : 13.625 ppm slow
Residual freq   : +0.091 ppm
Skew            : 0.398 ppm
Precision       : -23 (0.000000119 seconds)
Root delay      : 0.099865459 seconds
Root dispersion : 0.136207059 seconds
Update interval : 2.0 seconds
Leap status     : Normal

show ntp associations

  • show ntp associations
    • NTPサーバー間の同期に関する情報を表示
awplus# show ntp associations
 remote          refid           st t when poll reach    delay   offset    disp
-------------------------------------------------------------------------------
*ntp.example.jp
                 172.16.117.17    5 u    8   64    17    0.267    0.007   0.000
* system peer, # backup, + candidate, - outlier, x false ticker

インターフェース情報の表示

show interface

  • show interface [IF-NAME] [brief]
    • 指定したインターフェースの情報を表示
awplus#show interface
Interface port1.0.1
  Scope: both
  Link is UP, administrative state is UP
  Thrash-limiting
    Status Not Detected, Action learn-disable, Timeout 1(s)
  Hardware is Ethernet, address is eccd.6d97.eb02
  index 5001 metric 1 mru 1500
  current duplex full, current speed 1000, current polarity mdi
  configured duplex auto, configured speed auto, configured polarity auto
  <UP,BROADCAST,RUNNING,MULTICAST>
  SNMP link-status traps: Disabled
    input packets 2333, bytes 525869, dropped 0, multicast packets 813
    output packets 2153, bytes 257472, multicast packets 1549, broadcast packets 3
    input average rate : 30 seconds 505 bps, 5 minutes 1.05 Kbps
    output average rate: 30 seconds 351 bps, 5 minutes 625 bps
    input peak rate 105.07 Kbps at 2020/11/11 15:00:13
    output peak rate 33.06 Kbps at 2020/11/11 15:37:12
  Time since last state change: 0 days 00:51:33
Interface port1.0.2
#後略

awplus#show interface brief
Interface             Status          Protocol
port1.0.1             admin up        running
port1.0.2             admin up        down
port1.0.3             admin up        down
port1.0.4             admin up        down
port1.0.5             admin up        down
port1.0.6             admin up        down
port1.0.7             admin up        down
port1.0.8             admin up        down
port1.0.9             admin up        down
port1.0.10            admin up        down
port1.0.11            admin up        down
port1.0.12            admin up        down
port1.0.13            admin up        down
port1.0.14            admin up        down
port1.0.15            admin up        down
port1.0.16            admin up        down
port1.0.17            admin up        down
port1.0.18            admin up        down
port1.0.19            admin up        down
port1.0.20            admin up        down
port1.0.21            admin up        down
port1.0.22            admin up        down
port1.0.23            admin up        down
port1.0.24            admin up        down
port1.0.25            admin up        down
port1.0.26            admin up        down
port1.0.27            admin up        stackport down
port1.0.28            admin up        stackport down
lo                    admin up        running
sa10                  admin up        down
vlan1                 admin up        down
vlan10                admin up        running

show interface status

  • show interface [IF-NAME] status
    • 指定したインターフェースの情報を表示
awplus#show interface status
Port       Name               Status            Vlan Duplex   Speed Type
port1.0.1                     connected           10 a-full  a-1000 1000BASE-T
port1.0.2                     notconnect           1 auto      auto 1000BASE-T
port1.0.3                     notconnect           1 auto      auto 1000BASE-T
port1.0.4                     notconnect           1 auto      auto 1000BASE-T
port1.0.5                     notconnect           1 auto      auto 1000BASE-T
port1.0.6                     notconnect           1 auto      auto 1000BASE-T
port1.0.7                     notconnect           1 auto      auto 1000BASE-T
port1.0.8                     notconnect           1 auto      auto 1000BASE-T
port1.0.9                     notconnect           1 auto      auto 1000BASE-T
port1.0.10                    notconnect           1 auto      auto 1000BASE-T
port1.0.11                    notconnect           1 auto      auto 1000BASE-T
port1.0.12                    notconnect           1 auto      auto 1000BASE-T
port1.0.13                    notconnect           1 auto      auto 1000BASE-T
port1.0.14                    notconnect           1 auto      auto 1000BASE-T
port1.0.15                    notconnect           1 auto      auto 1000BASE-T
port1.0.16                    notconnect           1 auto      auto 1000BASE-T
port1.0.17                    notconnect           1 auto      auto 1000BASE-T
port1.0.18                    notconnect           1 auto      auto 1000BASE-T
port1.0.19                    notconnect           1 auto      auto 1000BASE-T
port1.0.20                    notconnect           1 auto      auto 1000BASE-T
port1.0.21                    notconnect           1 auto      auto 1000BASE-T
port1.0.22                    notconnect           1 auto      auto 1000BASE-T
port1.0.23                    notconnect           1 auto      auto 1000BASE-T
port1.0.24                    notconnect           1 auto      auto 1000BASE-T
port1.0.25                    notconnect           1 auto      auto 10GBASE-SR
port1.0.26                    notconnect           1 auto      auto not present
port1.0.27                    notconnect   stackport auto      auto not present
port1.0.28                    notconnect   stackport auto      auto not present
sa10                          notconnect           1 auto      auto

show storm-control

  • show storm-control
    • スイッチポートにおける各種 L2 パケットの受信上限値(パケットストームプロテクションの設定)を表示
awplus#show storm-control
Port       BcastLevel  McastLevel  DlfLevel
sa10           100.0%      100.0%    100.0%
port1.0.1      100.0%      100.0%    100.0%
port1.0.2      100.0%      100.0%    100.0%
port1.0.3      100.0%      100.0%    100.0%
port1.0.4      100.0%      100.0%    100.0%
port1.0.5      100.0%      100.0%    100.0%
port1.0.6      100.0%      100.0%    100.0%
port1.0.7      100.0%      100.0%    100.0%
port1.0.8      100.0%      100.0%    100.0%
port1.0.9      100.0%      100.0%    100.0%
port1.0.10      100.0%      100.0%    100.0%
port1.0.11      100.0%      100.0%    100.0%
port1.0.14      100.0%      100.0%    100.0%
port1.0.15      100.0%      100.0%    100.0%
port1.0.16      100.0%      100.0%    100.0%
port1.0.17      100.0%      100.0%    100.0%
port1.0.18      100.0%      100.0%    100.0%
port1.0.19      100.0%      100.0%    100.0%
port1.0.20      100.0%      100.0%    100.0%
port1.0.21      100.0%      100.0%    100.0%
port1.0.22      100.0%      100.0%    100.0%
port1.0.23      100.0%      100.0%    100.0%
port1.0.24      100.0%      100.0%    100.0%
port1.0.25      100.0%      100.0%    100.0%
port1.0.26      100.0%      100.0%    100.0%

VLAN 情報の表示

show vlan

  • show vlan [all | <1-4094> | brief]
    • 指定した VLAN の情報を表示
awplus#show vlan all
VLAN ID  Name            Type    State   Member ports
                                         (u)-Untagged, (t)-Tagged
======= ================ ======= ======= ====================================
1       default          STATIC  ACTIVE  sa10(u) port1.0.2(u) port1.0.3(u)
                                         port1.0.4(u) port1.0.5(u) port1.0.6(u)
                                         port1.0.7(u) port1.0.8(u) port1.0.9(u)
                                         port1.0.10(u) port1.0.11(u)
                                         port1.0.12(u) port1.0.13(u)
                                         port1.0.14(u) port1.0.15(u)
                                         port1.0.16(u) port1.0.17(u)
                                         port1.0.18(u) port1.0.19(u)
                                         port1.0.20(u) port1.0.21(u)
                                         port1.0.22(u) port1.0.23(u)
                                         port1.0.25(u) port1.0.26(u)
10      VLAN0010         STATIC  ACTIVE  port1.0.1(u)

show interface switchport

  • show interface switchport
    • スイッチポートの VLAN 関連情報を表示
awplus#show interface switchport
 Interface name          : port1.0.1
 Switchport mode         : access
 Ingress filter          : enable
 Acceptable frame types  : all
 Default Vlan            : 10
 Configured Vlans        :    10
 Dynamic Vlans           :

 Interface name          : port1.0.2
 Switchport mode         : access
 Ingress filter          : enable
 Acceptable frame types  : all
 Default Vlan            : 1
 Configured Vlans        :     1
 Dynamic Vlans           :
#後略

ARP/MACアドレス情報の表示

show arp

  • show arp
    • ARP キャッシュの内容を表示
awplus#show arp
IP Address      LL Address       Interface            Port        Type
10.10.10.2      7085.c202.646d   vlan10               port1.0.1   dynamic

show mac address-table

  • show mac address-table
    • フォワーディングデータベース(MACアドレステーブル)の内容を表示
awplus#show mac address-table
VLAN port             mac            fwd
4094 CPU          0010.18ff.ffff   forward   static
10   port1.0.1    7085.c202.646d   forward   dynamic
1    CPU          eccd.6d97.eb02   forward   static
10   CPU          eccd.6d97.eb02   forward   static
4094 CPU          eccd.6d97.eb02   forward   static

ルーティングテーブルの表示

show ip route

  • show ip route
    • ルーティングテーブルを表示
awplus#show ip route
Codes: C - connected, S - static, R - RIP, B - BGP
       O - OSPF, D - DHCP, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, L1 - IS-IS level 1, L2 - IS-IS level 2, ia - IS-IS inter area
       * - candidate default

Gateway of last resort is 10.10.10.1 to network 0.0.0.0

S*      0.0.0.0/0 [1/0] via 10.10.10.1, vlan10
S       10.1.10.0/24 [1/0] via 10.10.10.1, vlan10
C       10.10.10.0/24 is directly connected, vlan10

ログ情報の表示

show log

  • show log
    • bufferedログ(ランタイムメモリーに保存されている一時ログ)を表示
awplus#show log

<date> <time> <facility>.<severity> <program[<pid>]>: <message>
-------------------------------------------------------------------------
2020 Nov 11 14:56:56 kern.notice awplus kernel: SCSI subsystem initialized
2020 Nov 11 14:56:56 syslog.notice awplus syslog-ng[272]: syslog-ng starting up; version='3.10.1'
2020 Nov 11 14:56:56 kern.notice awplus kernel: number of CFI chips: 1
2020 Nov 11 14:56:56 kern.notice awplus kernel: Bridge firewalling registered
2020 Nov 11 14:56:56 kern.notice awplus kernel: RAMDISK: squashfs filesystem found at block 0
2020 Nov 11 14:56:56 kern.notice awplus kernel: random: real_init urandom read with 17 bits of entropy available
2020 Nov 11 14:56:56 kern.notice awplus kernel: rtc-ds1307 0-0068: RTC device detected watchdog alarm flag.
2020 Nov 11 14:56:56 kern.notice awplus kernel: random: nonblocking pool is initialized
2020 Nov 11 14:57:05 kern.notice awplus kernel: rtc-ds1307 0-0068: RTC device detected watchdog
#後略

show log permanent

  • show log permanent
    • permanentログ(フラッシュメモリーに保存されている永続ログ)を表示
awplus#show log permanent

<date> <time> <facility>.<severity> <program[<pid>]>: <message>
-------------------------------------------------------------------------
2020 Oct 28 09:43:31 local6.crit awplus-1 Pluggable[463]: Pluggable AT-SP10SR inserted into port1.0.25
2020 Oct 28 09:43:56 user.alert awplus-1 VCS[705]: No neighboring members found, unit may be in a standalone configuration
2020 Oct 28 09:43:56 user.alert awplus-1 VCS[705]: Startup speed can be improved by adding 'no stack 1 enable' to configuration
2020 Oct 28 09:43:56 user.crit awplus-1 VCS[705]: Member 1 (eccd.6d97.eb02) has become the Active Master
2020 Oct 28 09:44:22 user.warning awplus IMI[767]: Skipping startup configuration.
2020 Oct 28 09:45:45 authpriv.warning awplus login[3512]: pam_lastlog(console:session): file /var/log/lastlog created
2020 Oct 28 09:48:00 local6.crit awplus-1 Pluggable[443]: Pluggable AT-SP10SR inserted into port1.0.25
2020 Oct 28 09:48:26 user.alert awplus-1 VCS[730]: No neighboring members found, unit may be in a standalone configuration
2020 Oct 28 09:48:26 user.alert awplus-1 VCS[730]: Startup speed can be improved by adding 'no stack 1 enable' to configuration
#後略

show exception log

  • show exception log
    • 例外発生ログを表示
awplus#show exception log

<date> <time> <facility>.<severity> <program[<pid>]>: <message>
-------------------------------------------------------------------------
None
-------------------------------------------------------------------------

show log config

  • show log config
    • ログ出力先の定義内容(出力先、状態、メッセージフィルターなど)や統計情報を表示
awplus#show log config

Facility: default

PKI trustpoints: (None)
Date format: default

Buffered log:
  Status ......... enabled
  Maximum size ... 50kb
  Filters:
 *1   Level ...... notices
      Program .... any
      Facility ... any
      Msg text ... any
      Type ....... include
  Statistics ..... 542 messages received, 126 accepted, 0 excluded
Console log:
  Status ......... enabled
  Filters:
 *1   Level ...... critical
      Program .... any
      Facility ... any
      Msg text ... any
      Type ....... include
  Statistics ..... 542 messages received, 4 accepted, 0 excluded
Permanent log:
  Status ......... enabled
  Maximum size ... 50kb
  Filters:
 *1   Level ...... warnings
      Program .... any
      Facility ... any
      Msg text ... any
      Type ....... include
  Statistics ..... 542 messages received, 6 accepted, 0 excluded
Monitor log:
  Filters:
 *1   Level ...... debugging
      Program .... any
      Facility ... any
      Msg text ... any
      Type ....... include
  Statistics ..... 542 messages received, 0 accepted, 0 excluded
External log:
  Status ......... disabled
  Log file ....... Not set
  Rotation ....... 1
  Maximum size ... 50kb
  Filters:
 *1   Level ...... notices
      Program .... any
      Facility ... any
      Msg text ... any
      Type ....... include
  Statistics ..... 542 messages received, 0 accepted, 0 excluded

―――――――――――――

タイトルとURLをコピーしました