WSTS Page


HP A5120の基本的なコマンド

WSTS Page / HP / HP A5120の基本的なコマンド

HP A5120の基本的なコマンドの紹介です。

display version
スイッチのファームウェアや駆動時間の確認を行うコマンドです。
<HP>display version
HP Comware Platform Software
Comware Software, Version 5.20, Release 1513P62
Copyright (c) 2010-2013 Hewlett-Packard Development Company, L.P.
HP A5120-16G SI Switch uptime is 1 week, 4 days, 23 hours, 50 minutes

HP A5120-16G SI Switch
128M bytes DRAM
128M bytes Nand Flash Memory
Config Register points to Nand Flash

Hardware Version is REV.B
CPLD Version is 002
Bootrom Version is 163
[SubSlot 0] 16GE+4SFP Hardware Version is REV.B

display interface brief
ポートの状況の一覧を表示するコマンドです。ポートのアップ/ダウンの確認を行えます。
<HP>display interface brief
The brief information of interface(s) under route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Main IP Description
NULL0 UP UP(s) --

The brief information of interface(s) under bridge mode:
Link: ADM - administratively down; Stby - standby
Speed or Duplex: (a)/A - auto; H - half; F - full
Type: A - access; T - trunk; H - hybrid
Interface Link Speed Duplex Type PVID Description
GE1/0/1 UP 1G(a) F(a) A 1
GE1/0/2 UP 1G(a) F(a) A 1
GE1/0/3 DOWN auto A A 1
GE1/0/4 DOWN auto A A 1
GE1/0/5 DOWN auto A A 1
GE1/0/6 DOWN auto A A 1
GE1/0/7 DOWN auto A A 1
GE1/0/8 DOWN auto A A 1
GE1/0/9 UP 1G(a) F(a) A 1
GE1/0/10 DOWN auto A A 1
GE1/0/11 DOWN auto A A 1
GE1/0/12 DOWN auto A A 1
GE1/0/13 DOWN auto A A 1
GE1/0/14 DOWN auto A A 1
GE1/0/15 DOWN auto A A 1
GE1/0/16 DOWN auto A A 1
GE1/0/17 DOWN auto A A 1
GE1/0/18 UP 1G(a) F(a) A 1
GE1/0/19 DOWN auto A A 1
GE1/0/20 UP 1G(a) F(a) A 1

system-view
ciscoでのenableコマンドです。特権モードに移行します。
<HP>system-view
System View: return to User View with Ctrl+Z.

interface GigabitEthernet ポート番号
ポートの設定を行います。
よく使うのはsppedとduplexだと思います。ポートのスピードとデュプレックスの変更を行います。
[HP]interface GigabitEthernet 1/0/2
[HP-GigabitEthernet1/0/2]speed 1000
[HP-GigabitEthernet1/0/2]
%Apr 26 13:45:39:764 2000 HP IFNET/3/LINK_UPDOWN: GigabitEthernet1/0/2 link status is DOWN.
%Apr 26 13:45:42:562 2000 HP IFNET/3/LINK_UPDOWN: GigabitEthernet1/0/2 link status is UP.
[HP-GigabitEthernet1/0/2]duplex full
[HP-GigabitEthernet1/0/2]
%Apr 26 13:45:55:370 2000 HP IFNET/3/LINK_UPDOWN: GigabitEthernet1/0/2 link status is DOWN.
%Apr 26 13:45:58:435 2000 HP IFNET/3/LINK_UPDOWN: GigabitEthernet1/0/2 link status is UP.
[HP-GigabitEthernet1/0/2]quit