HP A5120のIRFの設定
IRFは、二つ以上のHUBをカスケード接続して一つのHUBに見せることができる接続です。
IRFの設定前に、IRFがどのようになっているか確認します。
display irf
IRFの状態を確認します。
<HP>display irf
Switch Role Priority CPU-Mac Description
*+1 Master 1 xxxx-yyyy-zzzz -----
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The Bridge MAC of the IRF is: xxxx-yyyy-zzzz
Auto upgrade : yes
Mac persistent : 6 min
Domain ID : 0
Switch Role Priority CPU-Mac Description
*+1 Master 1 xxxx-yyyy-zzzz -----
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The Bridge MAC of the IRF is: xxxx-yyyy-zzzz
Auto upgrade : yes
Mac persistent : 6 min
Domain ID : 0
display irf configuration
IRFの設定を確認します。
<HP>display irf configuration
MemberID NewID IRF-Port1 IRF-Port2
1 1 disable disable
MemberID NewID IRF-Port1 IRF-Port2
1 1 disable disable
display irf topology
IRFのTopologyを確認します。
<HP>display irf topology
Topology Info
-------------------------------------------------------------------------
IRF-Port1 IRF-Port2
Switch Link neighbor Link neighbor Belong To
1 DIS -- DIS -- xxxx-yyyy-zzzz
Topology Info
-------------------------------------------------------------------------
IRF-Port1 IRF-Port2
Switch Link neighbor Link neighbor Belong To
1 DIS -- DIS -- xxxx-yyyy-zzzz
Switch Aの設定を行います。
IRFに使用するインターフェースをダウンします。
[HP]interface GigabitEthernet 1/0/18
[HP-GigabitEthernet1/0/18]shutdown
[HP-GigabitEthernet1/0/18]quit
[HP]interface GigabitEthernet 1/0/20
[HP-GigabitEthernet1/0/20]shutdown
[HP-GigabitEthernet1/0/20]quit
[HP-GigabitEthernet1/0/18]shutdown
[HP-GigabitEthernet1/0/18]quit
[HP]interface GigabitEthernet 1/0/20
[HP-GigabitEthernet1/0/20]shutdown
[HP-GigabitEthernet1/0/20]quit
IRFポートを設定します。
[HP]irf-port 1/1
[HP-irf-port1/1]port group interface GigabitEthernet 1/0/18 mode normal
Info: You are recommended to save the configuration after completing your IRF configuration; otherwise, it may be lost after system reboot.
[HP-irf-port1/1]quit
[HP]irf-port 1/2
[HP-irf-port1/2]port group interface GigabitEthernet 1/0/20 mode normal
Info: You are recommended to save the configuration after completing your IRF configuration; otherwise, it may be lost after system reboot.
[HP-irf-port1/1]quit
[HP-irf-port1/1]port group interface GigabitEthernet 1/0/18 mode normal
Info: You are recommended to save the configuration after completing your IRF configuration; otherwise, it may be lost after system reboot.
[HP-irf-port1/1]quit
[HP]irf-port 1/2
[HP-irf-port1/2]port group interface GigabitEthernet 1/0/20 mode normal
Info: You are recommended to save the configuration after completing your IRF configuration; otherwise, it may be lost after system reboot.
[HP-irf-port1/1]quit
シャットダウンしたインターフェースをアップします。
[HP]interface GigabitEthernet 1/0/18
[HP-GigabitEthernet1/0/18]undo shutdown
[HP-GigabitEthernet1/0/18]quit
[HP]interface GigabitEthernet 1/0/20
[HP-GigabitEthernet1/0/20]undo shutdown
[HP-GigabitEthernet1/0/20]quit
[HP-GigabitEthernet1/0/18]undo shutdown
[HP-GigabitEthernet1/0/18]quit
[HP]interface GigabitEthernet 1/0/20
[HP-GigabitEthernet1/0/20]undo shutdown
[HP-GigabitEthernet1/0/20]quit
変更を保存します。
[HP]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait....
Saved the current configuration to mainboard device successfully.
Configuration is saved to device successfully.
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait....
Saved the current configuration to mainboard device successfully.
Configuration is saved to device successfully.
Switch Bの設定を行います。
IRFメンバーを変更し、変更を反映させるためにリブートします。
[HP]irf member 1 renumber 2
Warning: Renumbering the switch number may result in configuration change or loss. Continue?[Y/N]y
[HP]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait....
Saved the current configuration to mainboard device successfully.
Configuration is saved to device successfully.
[HP]quit
<HP>reboot
Warning: Renumbering the switch number may result in configuration change or loss. Continue?[Y/N]y
[HP]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait....
Saved the current configuration to mainboard device successfully.
Configuration is saved to device successfully.
[HP]quit
<HP>reboot
IRFに使用するインターフェースをダウンします。
[HP]interface GigabitEthernet 2/0/18
[HP-GigabitEthernet2/0/18]shutdown
[HP-GigabitEthernet2/0/18]quit
[HP]interface GigabitEthernet 2/0/20
[HP-GigabitEthernet2/0/20]shutdown
[HP-GigabitEthernet2/0/20]quit
[HP-GigabitEthernet2/0/18]shutdown
[HP-GigabitEthernet2/0/18]quit
[HP]interface GigabitEthernet 2/0/20
[HP-GigabitEthernet2/0/20]shutdown
[HP-GigabitEthernet2/0/20]quit
IRFポートを設定します。
[HP]irf-port 2/1
[HP-irf-port2/1]port group interface GigabitEthernet 2/0/18 mode normal
Info: You are recommended to save the configuration after completing your IRF configuration; otherwise, it may be lost after system reboot.
[HP-irf-port2/1]quit
[HP]irf-port 2/2
[HP-irf-port2/2]port group interface GigabitEthernet 2/0/20 mode normal
Info: You are recommended to save the configuration after completing your IRF configuration; otherwise, it may be lost after system reboot.
[HP-irf-port2/2]quit
[HP-irf-port2/1]port group interface GigabitEthernet 2/0/18 mode normal
Info: You are recommended to save the configuration after completing your IRF configuration; otherwise, it may be lost after system reboot.
[HP-irf-port2/1]quit
[HP]irf-port 2/2
[HP-irf-port2/2]port group interface GigabitEthernet 2/0/20 mode normal
Info: You are recommended to save the configuration after completing your IRF configuration; otherwise, it may be lost after system reboot.
[HP-irf-port2/2]quit
シャットダウンしたインターフェースをアップします。
[HP]interface GigabitEthernet 2/0/18
[HP-GigabitEthernet2/0/18]undo shutdown
[HP-GigabitEthernet2/0/18]quit
[HP]interface GigabitEthernet 2/0/20
[HP-GigabitEthernet2/0/20]undo shutdown
[HP-GigabitEthernet2/0/20]quit
[HP-GigabitEthernet2/0/18]undo shutdown
[HP-GigabitEthernet2/0/18]quit
[HP]interface GigabitEthernet 2/0/20
[HP-GigabitEthernet2/0/20]undo shutdown
[HP-GigabitEthernet2/0/20]quit
設定変更を保存し、ケーブルを接続します。 最後にIRFをアクティブに変更して完了です。
[HP]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait....
Saved the current configuration to mainboard device successfully.
Configuration is saved to device successfully.
[HP]irf-port-configuration active
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait....
Saved the current configuration to mainboard device successfully.
Configuration is saved to device successfully.
[HP]irf-port-configuration active
設定の確認
IRFの状態を確認します。
<HP>display irf
Switch Role Priority CPU-Mac Description
*+1 Master 1 xxxx-yyyy-zzzz -----
2 Slave 1 tttt-uuuu-vvvv -----
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The Bridge MAC of the IRF is: xxxx-yyyy-zzzz
Auto upgrade : yes
Mac persistent : 6 min
Domain ID : 0
Switch Role Priority CPU-Mac Description
*+1 Master 1 xxxx-yyyy-zzzz -----
2 Slave 1 tttt-uuuu-vvvv -----
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The Bridge MAC of the IRF is: xxxx-yyyy-zzzz
Auto upgrade : yes
Mac persistent : 6 min
Domain ID : 0
IRFの設定を確認します。
<HP>display irf configuration
MemberID NewID IRF-Port1 IRF-Port2
1 1 GigabitEthernet1/0/18 GigabitEthernet1/0/20
2 2 GigabitEthernet2/0/18 GigabitEthernet2/0/20
MemberID NewID IRF-Port1 IRF-Port2
1 1 GigabitEthernet1/0/18 GigabitEthernet1/0/20
2 2 GigabitEthernet2/0/18 GigabitEthernet2/0/20
IRFのTopologyを確認します。
<HP>display irf topology
Topology Info
-------------------------------------------------------------------------
IRF-Port1 IRF-Port2
Switch Link neighbor Link neighbor Belong To
1 UP 2 UP 2 xxxx-yyyy-zzzz
2 UP 1 UP 1 xxxx-yyyy-zzzz
Topology Info
-------------------------------------------------------------------------
IRF-Port1 IRF-Port2
Switch Link neighbor Link neighbor Belong To
1 UP 2 UP 2 xxxx-yyyy-zzzz
2 UP 1 UP 1 xxxx-yyyy-zzzz