2013年07月09日
Tweet
HP Switch 操作コマンド 備忘録
型番の表示
# display version
[HP]display version
HP Comware Platform Software
Comware Software, Version 5.20, Release 1505P05
Copyright (c) 2010-2011 Hewlett-Packard Development Company, L.P.
HP A5120-24G SI Switch uptime is 0 week, 0 day, 1 hour, 28 minutes
HP A5120-24G 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 139
[SubSlot 0] 24GE+4SFP Hardware Version is REV.B
ログの表示
# display logbuffer
IPアドレスの設定
# interface Vlan-interface1
# ip address [IPアドレス] 255.255.255.0
デフォルトルートの設定
# ip route-static 0.0.0.0 0.0.0.0 [デフォルトゲートウェイ]
時刻合わせ
# ntp-service unicast-server [NTPサーバー]
# ntp-service unicast-server [NTPサーバー]
syslog
# info-center loghost [SYSLOG SERVER IP] facility local3
型番の表示
# display version
[HP]display version
HP Comware Platform Software
Comware Software, Version 5.20, Release 1505P05
Copyright (c) 2010-2011 Hewlett-Packard Development Company, L.P.
HP A5120-24G SI Switch uptime is 0 week, 0 day, 1 hour, 28 minutes
HP A5120-24G 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 139
[SubSlot 0] 24GE+4SFP Hardware Version is REV.B
ログの表示
# display logbuffer
IPアドレスの設定
# interface Vlan-interface1
# ip address [IPアドレス] 255.255.255.0
デフォルトルートの設定
# ip route-static 0.0.0.0 0.0.0.0 [デフォルトゲートウェイ]
時刻合わせ
# ntp-service unicast-server [NTPサーバー]
# ntp-service unicast-server [NTPサーバー]
syslog
# info-center loghost [SYSLOG SERVER IP] facility local3