覚え書き

使用機種: 6125G/XG Blade Switch

基本設定

システムモードへ

<6125G/XG Blade Switch>system-view
System View: return to User View with Ctrl+Z.

Web インタフェイス,ssh 有効

[6125G/XG Blade Switch]ip http enable
[6125G/XG Blade Switch]ssh server enable
Info: Enable SSH server.

管理者ユーザ設定

[6125G/XG Blade Switch]local-user admin
New local user added.
[6125G/XG Blade Switch-luser-admin]password cipher hogehoge
[6125G/XG Blade Switch-luser-admin]service-type ssh
[6125G/XG Blade Switch-luser-admin]service-type web
[6125G/XG Blade Switch-luser-admin]authorization-attribute level 3
[6125G/XG Blade Switch-luser-admin]quit
[6125G/XG Blade Switch]user-interface vty 0 4
[6125G/XG Blade Switch-ui-vty0-4]authentication-mode scheme
[6125G/XG Blade Switch-ui-vty0-4]protocol inbound ssh
[6125G/XG Blade Switch-ui-vty0-4]quit

設定保存

[6125G/XG Blade Switch]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/config.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait....
The current configuration is saved to the active main board successfully.
Configuration is saved to device successfully.

その他設定

スイッチ名設定

[6125G/XG Blade Switch]sysname HOGEHOGE

時刻設定

[6125G/XG Blade Switch]clock timezone Osaka add 09:00:00

NTP サーバ設定

[6125G/XG Blade Switch]ntp-service unicast-server 192.168.1.110

IRF 設定

  1. 1号機
    <6125G/XG Blade Switch>system-view
    System View: return to User View with Ctrl+Z.
    [6125G/XG Blade Switch]irf member 1 priority 32
    [6125G/XG Blade Switch]save
     The current configuration will be written to the device. Are you sure? [Y/N]:y
     Please input the file name(*.cfg)[flash:/config.cfg]
     (To leave the existing filename unchanged, press the enter key):
     flash:/config.cfg exists, overwrite? [Y/N]:y
     Validating file. Please wait....
     The current configuration is saved to the active main board successfully.
     Configuration is saved to device successfully.
    [6125G/XG Blade Switch]quit
    <6125G/XG Blade Switch>reboot
     Start to check configuration with next startup configuration file,
     please wait.........DONE!
     This command will reboot the device. Continue? [Y/N]:y

(2) 2号機

6125G/XG Blade Switch>system-view

System View: return to User View with Ctrl+Z.
[6125G/XG Blade Switch]irf member 1 renumber 2
 Warning: Renumbering the switch number may result in configuration
 change or loss. Continue?[Y/N]y
[6125G/XG Blade Switch]quit
<6125G/XG Blade Switch>reboot
 Start to check configuration with next startup configuration file,
 please wait.........DONE!
 This command will reboot the device. Continue? [Y/N]:y

(3) 1号機

<6125G/XG Blade Switch>system-view
System View: return to User View with Ctrl+Z.
[6125G/XG Blade Switch]interface Ten-GigabitEthernet 1/0/17
[6125G/XG Blade Switch-Ten-GigabitEthernet1/0/17]shutdown
 Interface Ten-GigabitEthernet1/0/17 has already been shut down
[6125G/XG Blade Switch-Ten-GigabitEthernet1/0/17]quit

(4) 2号機

<6125G/XG Blade Switch>system-view
System View: return to User View with Ctrl+Z.
[6125G/XG Blade Switch]interface Ten-GigabitEthernet 2/0/17
[6125G/XG Blade Switch-Ten-GigabitEthernet2/0/17]shutdown
[6125G/XG Blade Switch-Ten-GigabitEthernet2/0/17]quit

(5) 1号機

[6125G/XG Blade Switch]irf-port 1/1
[6125G/XG Blade Switch-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/17
 Info: You are recommended to save the configuration after completing
 your IRF configuration; otherwise, it may be lost after system reboot.
[6125G/XG Blade Switch-irf-port1/1]

(6) 2号機

[6125G/XG Blade Switch]irf-port 2/2
[6125G/XG Blade Switch-irf-port2/2]port group interface Ten-GigabitEthernet 2/0/17
 Info: You are recommended to save the configuration after completing
 your IRF configuration; otherwise, it may be lost after system reboot.
[6125G/XG Blade Switch-irf-port2/2]quit
[6125G/XG Blade Switch-irf-port2/2]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/config.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/config.cfg exists, overwrite? [Y/N]:y
 Validating file. Please wait....
 The current configuration is saved to the active main board successfully.
 Configuration is saved to device successfully.

(7) 1号機

[6125G/XG Blade Switch]interface Ten-GigabitEthernet 1/0/17
[6125G/XG Blade Switch-Ten-GigabitEthernet1/0/17]undo shutdown
[6125G/XG Blade Switch-Ten-GigabitEthernet1/0/17]quit
[6125G/XG Blade Switch]irf-port-configuration active
[6125G/XG Blade Switch]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/config.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/config.cfg exists, overwrite? [Y/N]:y
 Validating file. Please wait....
 The current configuration is saved to the active main board successfully.
 Configuration is saved to device successfully.

(8)2号機

[6125G/XG Blade Switch]interface Ten-GigabitEthernet2/0/17
[6125G/XG Blade Switch-Ten-GigabitEthernet2/0/17]undo shutdown
[6125G/XG Blade Switch-Ten-GigabitEthernet2/0/17]quit
[6125G/XG Blade Switch]irf-port-configuration active
[6125G/XG Blade Switch]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/config.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/config.cfg exists, overwrite? [Y/N]:y
 Validating file. Please wait....
 The current configuration is saved to the active main board successfully.
 Configuration is saved to device successfully.

自動的に再起動がかかる?

(9)1号機(IRF が成功していたら 2号にはつながんない)

<6125G/XG Blade Switch>display irf
Switch  Role   Priority  CPU-Mac         Description
 *+1   Master  32        5c8a-382d-XXXX  -----
   2   Slave   1         5c8a-384f-YYYY  -----
--------------------------------------------------
 * indicates the device is the master.
 + indicates the device through which the user logs in.
 The Bridge MAC of the IRF is: 5c8a-382d-XXXX
 Auto upgrade                : yes
 Mac persistent              : 6 min
 Domain ID                   : 0

リンクアグリゲーション

<6125G/XG>system-view
System View: return to User View with Ctrl+Z.
[6125G/XG]interface Bridge-Aggregation 1
[6125G/XG-Bridge-Aggregation1]link-aggregation mode dynamic
[6125G/XG-Bridge-Aggregation1]quit
[6125G/XG]interface GigabitEthernet 1/1/5
[6125G/XG-GigabitEthernet1/1/5]port link-aggregation group 1
[6125G/XG-GigabitEthernet1/1/5]interface GigabitEthernet 1/1/6
[6125G/XG-GigabitEthernet1/1/6]port link-aggregation group 1
[6125G/XG]interface GigabitEthernet 2/1/5
[6125G/XG-GigabitEthernet2/1/5]port link-aggregation group 1
[6125G/XG-GigabitEthernet2/1/5]interface GigabitEthernet 2/1/6
[6125G/XG-GigabitEthernet2/1/6]port link-aggregation group 1
[6125G/XG]interface Bridge-Aggregation 3
[6125G/XG-Bridge-Aggregation3]link-aggregation mode dynamic
[6125G/XG-Bridge-Aggregation3]quit
[6125G/XG]interface GigabitEthernet 1/1/7
[6125G/XG-GigabitEthernet1/1/7]port link-aggregation group 3
[6125G/XG-GigabitEthernet1/1/7]interface GigabitEthernet 2/1/7
[6125G/XG-GigabitEthernet2/1/7]port link-aggregation group 3
[6125G/XG]interface Bridge-Aggregation 4
[6125G/XG-Bridge-Aggregation4]link-aggregation mode dynamic
[6125G/XG-Bridge-Aggregation4]quit
[6125G/XG]interface GigabitEthernet 1/1/8
[6125G/XG-GigabitEthernet1/1/8]port link-aggregation group 4
[6125G/XG-GigabitEthernet1/1/8]interface GigabitEthernet 2/1/8
[6125G/XG-GigabitEthernet2/1/8]port link-aggregation group 4

VLAN 作成

[6125G/XG]vlan 1010
[6125G/XG-vlan1010]quit
[6125G/XG]interface GigabitEthernet 1/0/9
[6125G/XG-GigabitEthernet1/0/9]port access vlan 1010
[6125G/XG-GigabitEthernet1/0/9]interface GigabitEthernet 1/0/10
[6125G/XG-GigabitEthernet1/0/10]port access vlan 1010
[6125G/XG-GigabitEthernet1/0/10]interface GigabitEthernet 1/0/11
[6125G/XG-GigabitEthernet1/0/11]port access vlan 1010
[6125G/XG-GigabitEthernet2/0/11]interface GigabitEthernet 2/0/10
[6125G/XG-GigabitEthernet2/0/10] port access vlan 1010
[6125G/XG-GigabitEthernet2/0/10]interface GigabitEthernet 2/0/9
[6125G/XG-GigabitEthernet2/0/9] port access vlan 1010
[6125G/XG]interface Bridge-Aggregation 3
[6125G/XG-Bridge-Aggregation3]port access vlan 1010
[6125G/XG-Bridge-Aggregation3]interface Bridge-Aggregation 4
[6125G/XG-Bridge-Aggregation4]port access vlan 1010

確認

[6125G/XG]dis vlan all
 VLAN ID: 1
 VLAN Type: static
 Route Interface: not configured
 Description: VLAN 0001
 Name: VLAN 0001
 Tagged   Ports: none
 Untagged Ports:
    Bridge-Aggregation1      Bridge-Aggregation2
    GigabitEthernet1/0/1     GigabitEthernet1/0/2     GigabitEthernet1/0/3
    GigabitEthernet1/0/4     GigabitEthernet1/0/5     GigabitEthernet1/0/6
    GigabitEthernet1/0/7     GigabitEthernet1/0/8     GigabitEthernet1/0/12
    GigabitEthernet1/0/13    GigabitEthernet1/0/14    GigabitEthernet1/0/15
    GigabitEthernet1/0/16    GigabitEthernet1/1/5     GigabitEthernet1/1/6
    GigabitEthernet2/0/1     GigabitEthernet2/0/2     GigabitEthernet2/0/3
    GigabitEthernet2/0/4     GigabitEthernet2/0/5     GigabitEthernet2/0/6
    GigabitEthernet2/0/7     GigabitEthernet2/0/8     GigabitEthernet2/0/11
    GigabitEthernet2/0/12    GigabitEthernet2/0/13    GigabitEthernet2/0/14
    GigabitEthernet2/0/15    GigabitEthernet2/0/16    GigabitEthernet2/1/5
    GigabitEthernet2/1/6
    Ten-GigabitEthernet1/1/1
    Ten-GigabitEthernet1/1/2
    Ten-GigabitEthernet1/1/3
    Ten-GigabitEthernet1/1/4
    Ten-GigabitEthernet2/1/1
    Ten-GigabitEthernet2/1/2
    Ten-GigabitEthernet2/1/3
    Ten-GigabitEthernet2/1/4
 VLAN ID: 1010
 VLAN Type: static
 Route Interface: not configured
 Description: VLAN 1010
 Name: VLAN 1010
 Tagged   Ports: none
 Untagged Ports:
    Bridge-Aggregation3      Bridge-Aggregation4
    GigabitEthernet1/0/9     GigabitEthernet1/0/10    GigabitEthernet1/0/11
    GigabitEthernet1/1/7     GigabitEthernet1/1/8     GigabitEthernet2/0/9
    GigabitEthernet2/0/10    GigabitEthernet2/1/7     GigabitEthernet2/1/8

VLAN Trunk ポートの作成

[6125G/XG]interface GigabitEthernet 1/0/24
[6125G/XG-GigabitEthernet1/0/24]port linktype trunk
[6125G/XG-GigabitEthernet1/0/24]port trunk permit all

設定初期化(未確認)

方法 1

restore factory-default

方法2

reset saved-configuration [ backup | main ]

方法3 スイッチを再起動.

起動中に Ctrl + B を 5秒間(?)押す.

パスワードを入れる

「5 restore factory configuration」を選択


トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2019-11-19 (火) 12:04:09