====== IBM/Lenovo Flex Network installation (BNT) ======
https://flexsystem.lenovofiles.com/help/topic/com.lenovo.acc.en4093.doc/EN4093R_CR_8-2.pdf
====== Network configuration on Lenovo Flex ======
Current Lenovo Flex have network switches BNT EN4093R
===== Changing between the IBM System Networking OS CLI and isCLI (CISCO like) =====
To change from the IBM System Networking OS CLI to isCLI, enter the following command:
boot/mode iscli
Restart the switch module after this command is run.
/boot/reset
To revert from isCLI to the IBM System Networking OS CLI, enter the following command:
boot cli-mode IBMNOS-cli
Restart the switch module after the command is run.
The selected CLI mode is preserved across reboots, even when you restore the switch module to factory defaults.
Check which mode is inuse (iscli with EXEC mode)
FLEX-NET1#sh run
Current configuration:
!
version "8.4.6"
switch-type "Lenovo Flex System Fabric EN4093R 10Gb Scalable Switch(Upgrade1)"
iscli-new
===== IScli command line =====
Help
FLEX-NET1>?
Exec commands:
console-log Enable session console logging
disable Turn off privileged commands
enable Turn on privileged commands
exit Exit from the EXEC
fcoe FCOE operational functionalities
help Description of the interactive help system
interface Select an interface to perform operation
list List all commands in the current CLI mode
logout Exit from the EXEC
no Negate operational commands
openflow Openflow operational functionalities
password Change current user password
ping Send echo messages
primary-password Set new password for TACACS+ primary server
range-verbose Set port range commands verbosity
router Perform router operational functionalities
secondary-password Set new password for TACACS+ secondary server
show Show running system information
software-key Software Key Menu
telnet Open a telnet connection
terminal Set terminal line parameters
terminal-length Set the number of lines displayed per screen
traceroute Trace route
virt Virtualization operations menu
Advanced Help
FLEX-NET1>show ?
Show running system information
access-control Show access control
arp IP ARP table
boot Show boot configuration
cee Show CEE Information
clock Display current switch date and time
Show interface
FLEX-NET1>sh interface status
-----------------------------------------------------------------------
Alias Port Speed Duplex Flow Ctrl Link Description
------- ---- ------ -------- --TX-----RX-- ------ -------------
INTA1 1 10000 full yes yes up INTA1
INTA2 2 10000 full yes yes up INTA2
INTA3 3 10000 full yes yes up INTA3
INTA4 4 10000 full yes yes up INTA4
INTA5 5 10000 full yes yes up INTA5
INTA6 6 10000 full yes yes up INTA6
EXT1 43 10000 full no no up EXT1
EXT2 44 1G/10G full no no down EXT2
FLEX-NET1>sh interface link
-----------------------------------------------------------------------
Alias Port Speed Duplex Flow Ctrl Link Description
------- ---- ------ -------- --TX-----RX-- ------ -------------
INTA1 1 10000 full yes yes up INTA1
INTA2 2 10000 full yes yes up INTA2
INTA3 3 10000 full yes yes up INTA3
INTA4 4 10000 full yes yes up INTA4
INTA5 5 10000 full yes yes up INTA5
EXT1 43 10000 full no no up EXT1
EXT2 44 1G/10G full no no down EXT2
FLEX-NET2>show interface trunk
Alias Port Tag Type RMON Lrn Fld Openflow tis tes PVID DESCRIPTION VLAN(s)
Trk NVLAN
-------- ---- --- ---------- ---- --- --- -------- --- --- ------ -------------- ------------------------
INTA1 1 n Internal d e e d d d 10 INTA1 10
INTA2 2 n Internal d e e d d d 10 INTA2 10
INTA3 3 n Internal d e e d d d 10 INTA3 10
INTA4 4 n Internal d e e d d d 10 INTA4 10
INTA5 5 n Internal d e e d d d 10 INTA5 10
INTA6 6 n Internal d e e d d d 10 INTA6 10
INTA7 7 n Internal d e e d d d 10 INTA7 10
INTA8 8 n Internal d e e d d d 10 INTA8 10
INTA9 9 n Internal d e e d d d 10 INTA9 10
INTA10 10 n Internal d e e d d d 10 INTA10 10
.....
EXT1 43 n External d e e d d d 10 EXT1 10
EXT2 44 y External d e e d d d 1* EXT2 1-3 8 10 1001
....
EXTM 65 n Mgmt d e e d d d 4095 EXTM 4095
MGT1 66 y Mgmt d e e d d d 4095 MGT1 4095
FLEX-NET1>show sys-info
System Information at 18:11:36 Tue Jun 18, 2019
Time zone: No timezone configured
Daylight Savings Time Status: Disabled
Lenovo Flex System Fabric EN4093R 10Gb Scalable Switch(Upgrade1)
Switch has been up for 440 days, 20 hours, 37 minutes and 52 seconds.
Last boot: (Power Controller, Software reset)
MAC address: a4:aa:db:dd:da:00 IP (If 1) address: 0.0.0.0
Internal Management Port MAC Address: a4:8c:db:2d:d6:ef
Internal Management Port IP Address (if 128): 10.3.1.94
External Management Port MAC Address: a4:8c:db:2d:d6:fe
External Management Port IP Address (if 127):
Software Version 8.4.6 (FLASH image2), active configuration.
Boot kernel version 8.4.6
...
==== Configuration mode ====
Privileged EXEC mode
FLEX-NET1>enable
Enable privilege granted.
Global Configuration Mode
FLEX-NET1#conf t
Enter configuration commands, one per line. End with Ctrl/Z.
==== List Configuration ====
List the full config
FLEX-NET1#sh run
Current configuration:
!
version "8.4.6"
switch-type "Lenovo Flex System Fabric EN4093R 10Gb Scalable Switch(Upgrade1)"
iscli-new
!
....
interface port INTA1
switchport access vlan 10
exit
!
.....
no spanning-tree stp 1 enable
spanning-tree stp 10 vlan 10
spanning-tree stp 20 vlan 20
!
interface port EXT1
spanning-tree link-type p2p
exit
!
==== Save Configuration ====
save the config (memory Write current configuration to startup configuration), 2 same commands
FLEX-NET1#write
Copy running configuration to startup configuration
Jun 25 13:24:36 FLEX-NET1 INFO mgmt: new configuration saved from ISCLI
FLEX-NET1#copy running-config startup-config
Confirm saving to FLASH (y/n) ? y
Copy running configuration to startup configuration
Jun 25 13:23:18 FLEX-NET1 INFO mgmt: new configuration saved from ISCLI
==== command example ====
Add a VLAN
FLEX-NET2(config)# vlan 20
FLEX-NET2(config)# name "HEARTBEAT"
Remove a VLAN
FLEX-NET2(config)# no vlan 20
**Example of full config with vlan tagging and LACP on ports EXT1 and EXT2**
FLEX-NET1(config)#sh run
Current configuration:
!
version "8.4.6"
switch-type "Lenovo Flex System Fabric EN4093R 10Gb Scalable Switch(Upgrade1)"
iscli-new
!
system timezone 308
! Europe/Luxembourg
system daylight
!
snmp-server version v3only
!
snmp-server name "FLEX-NET1"
!
!
!
hostname "FLEX-NET1"
system idle 20
!
!
access user 1 password "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
!
interface port INTA1
description "ESX01"
switchport mode trunk
switchport trunk allowed vlan 2-4000
switchport trunk native vlan 4000
exit
!
interface port INTA2
description "ESX02"
switchport mode trunk
switchport trunk allowed vlan 2-4000
switchport trunk native vlan 4000
exit
!
interface port INTA3
description "ESX03"
switchport mode trunk
switchport trunk allowed vlan 2-4000
switchport trunk native vlan 4000
exit
!
interface port INTA4
description "ESX04"
switchport mode trunk
switchport trunk allowed vlan 2-4000
switchport trunk native vlan 4000
exit
!
interface port INTA5
description "ESX05"
switchport mode trunk
switchport trunk allowed vlan 2-4000
switchport trunk native vlan 4000
exit
!
interface port INTA6
description "ESX06"
switchport mode trunk
switchport trunk allowed vlan 2-4000
switchport trunk native vlan 4000
exit
!
interface port INTA7
description "AFIS-B-MBIS"
switchport access vlan 1001
exit
!
interface port INTA8
description "ESX08"
switchport mode trunk
switchport trunk allowed vlan 2-4000
switchport trunk native vlan 4000
exit
!
interface port INTA9
description "AFIS-B-MBSS"
switchport access vlan 1001
exit
!
interface port INTA10
description "ESX10"
switchport mode trunk
switchport trunk allowed vlan 2-4000
switchport trunk native vlan 4000
exit
!
interface port INTA11
description "ESX11"
switchport mode trunk
switchport trunk allowed vlan 2-4000
switchport trunk native vlan 4000
exit
!
interface port INTA12
description "ESX12"
switchport mode trunk
switchport trunk allowed vlan 2-4000
switchport trunk native vlan 4000
exit
!
interface port INTA13
description "ESX13"
switchport mode trunk
switchport trunk allowed vlan 2-4000
switchport trunk native vlan 4000
exit
!
interface port INTA14
description "SRVWIN01"
switchport access vlan 1001
exit
!
interface port EXT1
switchport mode trunk
vlan dot1q tag native
exit
!
interface port EXT2
switchport mode trunk
vlan dot1q tag native
exit
!
vlan 5
name "MGMT"
!
vlan 10
name "BACKUP"
!
vlan 123
name "PROD"
!
vlan 4000
name "VLAN_fake"
!
!
no spanning-tree stp 1 enable
spanning-tree stp 3 vlan 6
spanning-tree stp 8 vlan 10
spanning-tree stp 63 vlan 4000
spanning-tree stp 100 vlan 123
!
interface port EXT1
spanning-tree guard loop
exit
!
interface port EXT2
spanning-tree guard loop
exit
!
interface port EXT7
spanning-tree link-type p2p
exit
!
interface port EXT8
spanning-tree link-type p2p
exit
!
!
interface port EXT1
lacp mode active
lacp key 65
!
interface port EXT2
lacp mode active
lacp key 65
!
failover enable
failover trigger 1 mmon monitor member EXT1-EXT2
failover trigger 1 mmon control member INTA1-INTA14
failover trigger 1 enable
!
failover trigger 2 mmon monitor member EXT7-EXT8
failover trigger 2 mmon control member INTB1-INTB14
failover trigger 2 enable
!
!
ntp enable
ntp ipv6 primary-server fe80::211:xxxx:xxxxx:xxx MGT
ntp interval 17
ntp authenticate
ntp primary-key 1234
!
ntp message-digest-key 48329 sha1-ekey "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
!
ntp trusted-key 55559
!
!
end
===== Upgrade firmware =====
EN4093R loading Software via the Command Line Interface
Follow these steps to load software onto your switch:
* In Privileged EXEC mode, enter the following command
EN4093R# copy {sftp|tftp|ftp} {image1|image2|boot-image}
* Enter the hostname or IP address of the SFTP, FTP or TFTP server
Address or name of remote host:
* Enter the name of the new software file on the server.
Source file name:
The exact form of the name will vary by server. However, the file location is
normally relative to the SFTP, FTP or TFTP directory (for example, tftpboot).
* If required by the SFTP, FTP or TFTP server, enter the appropriate username and password.
* The switch will prompt you to confirm your request.
Once confirmed, the software will begin loading into the switch.
* When loading is complete, use the following commands to enter Global
Configuration mode to select which software image (image1 or image2) you want to run in switch memory for the next reboot:
EN4093R# configure terminal
EN4093R(config)# boot image {image1|image2}
The system will then verify which image is set to be loaded at the next reset:
Next boot will use switch software image1 instead of image2.
* Reboot the switch to run the new software:
EN4093R(config)# reload
The system prompts you to confirm your request. Once confirmed, the switch will
reboot to use the new software
**Note:** If you select “No” when asked to confirm the reload, any changes made to
the configuration since the last reboot will be lost.
===== Recovery =====
The Boot Management Menu
The Boot Management menu allows you to switch the software image, reset the
switch to factory defaults, or to recover from a failed software download.
You can interrupt the boot process and enter the Boot Management menu from the
serial console port. When the system displays Memory Test, press .
The Boot Management menu appears.
Resetting the System ...
Memory Test ................................
Boot Management Menu
I - Change booting image
C - Change configuration block
R - Boot in recovery mode (tftp and xmodem download of images to
recover switch)
Q - Reboot
E - Exit
Please choose your menu option:
The Boot Management menu allows you to perform the following actions:
* To change the booting image, press I and follow the screen prompts.
* To change the configuration block, press C and follow the screen prompts.
* To perform a software image recovery, press R and follow the screen prompts.
* To reboot the switch press Q and follow the screen prompts.
* To exit the Boot Management menu, press E. The booting process continues.