Go to primary content
Oracle® Communications OC-CNE Installation Guide
Release 1.0
F16979-01
Go To Table Of Contents
Contents

Previous
Previous
Next
Next

Configure Enclosure Switches

Introduction

This procedure is used to configure the 6127XLG enclosure switches.

Prerequisites
Limitations/Expectations

All steps are executed from a Keyboard, Video, Mouse (KVM) connection.

References
  1. https://support.hpe.com/hpsc/doc/public/display?docId=c04763537

Procedure

Table 3-7 Procedure to configure enclosure switches

Step # Procedure Description
1.

Copy the 6127XLG configuration file

Copy the 6127XLG configuration file on the Utility USB (See OCCNE 1.0 Installation PreFlight checklist : Create the OA 6127XLG Switch Configuration File) to the /var/lib/tftpboot directory on the Installer Bootstrap Host and verify it exists and the permissions.

$ cp /media/usb/6127xlg_irf.cfg /var/lib/tftpboot/6127xlg_irf.cfg

$ ls -l /var/lib/tftpboot/

total 1305096

-rw-r--r--. 1 root root        311 Mar 25 08:41 6127xlg_irf.cfg
2.

Modify the switch specific values in the /var/lib/tftpboot/6127xlg_irf.cfg file.

These values are contained at OCCNE 1.0 Installation PreFlight checklist : Create the OA 6127XLG Switch Configuration File from column Enclosure_Switch.

$ cd /var/lib/tftpboot
$ sed -i 's/{switchname}/<switch_name>/' 6127xlg_irf.cfg
$ sed -i 's/{admin_password}/<admin_password>/' 6127xlg_irf.cfg
$ sed -i 's/{user_name}/<user_name>/' 6127xlg_irf.cfg
$ sed -i 's/{user_password}/<user_password>/' 6127xlg_irf.cfg
3.

Access the InterConnect Bay1 6127XLG Access the InterConnect Bay1 6127XLG switch to configure the IRF (Intelligent Resilient Framework).

Note: On a new switch the user is presented with the following when connecting to the console and must type CTRL_C or CTRL_D to break out of the loop.

Note: When trying to save the config, the following prompt is received:

[HPE] [HPE] save The current configuration will be written to the device. Are you sure? [Y/N]: Before pressing ENTER you must choose 'YES' or 'NO'[Y/N]:y Please input the file name(*.cfg)[flash:/startup.cfg] (To leave the existing filename unchanged, press the enter key): User can leave this default startup.cfg unchanged, or change to another name. The cfg file will be used for next reboot.

$ ssh <oa username>@<oa address>

If it shows standby, ssh to the other OA address. 
 

OA-FC15B41AEA05> connect interconnect 1

....

<HPE>system-view

System View: return to User View with Ctrl+Z.

 

(Note: Run the following commands:) 

 irf member 1 priority 32

 interface range Ten-GigabitEthernet 1/0/17 to Ten-GigabitEthernet 1/0/20 

   shutdown 

   quit 

 irf-port 1/1

   port group interface Ten-GigabitEthernet1/0/17

   port group interface Ten-GigabitEthernet1/0/18

   port group interface Ten-GigabitEthernet1/0/19

   port group interface Ten-GigabitEthernet1/0/20

   quit 

 interface range Ten-GigabitEthernet 1/0/17 to Ten-GigabitEthernet 1/0/20 

   undo shutdown 

   quit 

 save 

 irf-port-configuration active
 
4.

Access the InterConnect Bay2 6127XLG

Access the InterConnect Bay2 6127XLG switch to re-number to IRF 2.

OA-FC15B41AEA05> connect interconnect 2

....

<HPE>system-view

System View: return to User View with Ctrl+Z.

[HPE] irf member 1 renumber 2

Renumbering the member ID may result in configuration change or loss. Continue?[Y/N]Y

[HPE]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.

[HPE]quit

<HPE>reboot

Start to check configuration with next startup configuration file, please wait.........DONE!

This command will reboot the device. Continue? [Y/N]:Y

Now rebooting, please wait...

 

System is starting...
5.

Configure the IRF on Bay2 6127XLG switch

After rebooting, the interfaces will begin with number 2 such as Ten-GigabitEthernet2/0/17, Ten-GigabitEthernet2/1/5. Run the following commands:

system-view 

 interface range Ten-GigabitEthernet 2/0/17 to Ten-GigabitEthernet 2/0/20

   shutdown 

   quit 

 irf-port 2/2

   port group interface Ten-GigabitEthernet2/0/17

   port group interface Ten-GigabitEthernet2/0/18

   port group interface Ten-GigabitEthernet2/0/19

   port group interface Ten-GigabitEthernet2/0/20

   quit 

 interface range Ten-GigabitEthernet 2/0/17 to Ten-GigabitEthernet 2/0/20 

   undo shutdown 

   quit 

 save 

 irf-port-configuration active
6.

Run "reboot" command on both switches
<HPE>reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
This command will reboot the device. Continue? [Y/N]:Y
Now rebooting, please wait...
 
System is starting...
7.

Verify the IRF for the 6127XLG switches. When reboot is finished, verify IRF is working with both member and ports from previous two switches, which form IRF to act as one switch now.
<HPE>system-view

System View: return to User View with Ctrl+Z.

[HPE]display irf configuration

 MemberID NewID    IRF-Port1                     IRF-Port2

 1        1        Ten-GigabitEthernet1/0/17     disable

                   Ten-GigabitEthernet1/0/18

                   Ten-GigabitEthernet1/0/19

                   Ten-GigabitEthernet1/0/20

 2        2        disable                       Ten-GigabitEthernet2/0/17

                                                 Ten-GigabitEthernet2/0/18

                                                 Ten-GigabitEthernet2/0/19

                                                 Ten-GigabitEthernet2/0/20

[HPE]
8.

Configure the IRF switch with predefined configuration file.
<HPE>tftp 192.168.20.11 get 6127xlg_irf.cfg startup.cfg

startup.cfg already exists. Overwrite it? [Y/N]:Y

Press CTRL+C to abort.

 % Total % Received % Xferd Average Speed Time Time Time Current

 Dload Upload Total Spent Left Speed

100 9116 100 9116 0 0 167k 0 --:--:-- --:--:-- --:--:-- 178k

 

<HPE>system-view

System View: return to User View with Ctrl+Z.

[HPE]configuration replace file flash:/startup.cfg

Current configuration will be lost, save current configuration? [Y/N]:N

Now replacing the current configuration. Please wait ...

Succeeded in replacing current configuration with the file flash:/startup.cfg.

[<switch_name>]save flash:/startup.cfg

The current configuration will be saved to flash:/startup.cfg. Continue? [Y/N]:Y

flash:/startup.cfg exists, overwrite? [Y/N]:Y

Now saving current configuration to the device.

Saving configuration flash:/startup.cfg.Please wait...

Configuration is saved to device successfully.

[<switch_name>]