Expansion Kit sample configuration for HPE FlexFabric 5950 data switches

The following is an example of the expansion kit configuration for HPE FlexFabric 5950.
 service-loopback group 1 type vsi-gateway#
 lldp global enable#
 reserve-vlan-interface 4081 to 4094 global
# 
vlan 163
 description OAM
#
vlan 164
 description CAN
#
vlan 801 to 900
#
irf-port 1/1
port group interface HundredGigE1/0/30
 port group interface HundredGigE1/0/31
 port group interface HundredGigE1/0/32
#
irf-port 2/2
 port group interface HundredGigE2/0/31
 port group interface HundredGigE2/0/31
 port group interface HundredGigE2/0/32
#
 l2vpn enable
#
vsi 160
 description PXE
 gateway vsi-interface 160
 gateway subnet 10.206.160.0 0.0.0.255
 arp suppression enable
 vxlan 16000
#
vsi 161
 description CLM
 gateway vsi-interface 161
 gateway subnet 10.206.161.0 0.0.0.255
 arp suppression enable
 vxlan 16100
#
vsi 162
 description BLS
 gateway vsi-interface 162
 gateway subnet 10.206.162.0 0.0.0.255
 arp suppression enable
 vxlan 16200
#

interface Bridge-Aggregation8
 description BAGG-Frame1-ICM3-Q1-Q3
 port link-type trunk
 undo port trunk permit vlan 1 
 link-aggregation mode dynamic
 service-instance 160
   encapsulation untagged
  xconnect vsi 160 access-mode ethernet
 service-instance 161
  encapsulation s-vid 161
  xconnect vsi 161
 service-instance 162
  encapsulation s-vid 162
  xconnect vsi 162
 
#
interface Bridge-Aggregation9
 description BAGG-Frame2-ICM6-Q1-Q3
  port link-type trunk
  undo port trunk permit vlan 1 
  link-aggregation mode dynamic
  service-instance 160
    encapsulation untagged
   xconnect vsi 160 access-mode ethernet
  service-instance 161
   encapsulation s-vid 161
   xconnect vsi 161
  service-instance 162
   encapsulation s-vid 162
  xconnect vsi 162

#
interface Bridge-Aggregation10
 description Frame1-ICM2-Q1-Q6 and ICM5-Q1-Q6
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 link-aggregation mode dynamic
#
interface Bridge-Aggregation11
 description Frame2-ICM2-Q1-Q6 and ICM5-Q1-Q6
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 link-aggregation mode dynamic
#
interface Bridge-Aggregation50
 description Uplink-to-Cutomer-Network
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900 
 link-aggregation mode dynamic

#
interface HundredGigE1/0/1
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#
interface HundredGigE1/0/2
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#
interface HundredGigE1/0/3
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#
interface HundredGigE1/0/4
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#
interface HundredGigE1/0/5
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#
interface HundredGigE1/0/6
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#
interface HundredGigE1/0/7
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#
interface HundredGigE1/0/8
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#
interface HundredGigE1/0/9
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#
interface HundredGigE1/0/10
 port link-mode bridge
 description CUST-NET-Uplink2
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#

interface HundredGigE2/0/1
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#
interface HundredGigE2/0/2
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#
interface HundredGigE2/0/3
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#
interface HundredGigE2/0/4
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#
interface HundredGigE2/0/5
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#
interface HundredGigE2/0/6
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#
interface HundredGigE2/0/7
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#
interface HundredGigE2/0/8
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#
interface HundredGigE2/0/9
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#
interface HundredGigE2/0/10
 port link-mode bridge
 description CUST-NET-Uplink1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 163 164 801 to 900
 port link-aggregation group 50
#

interface HundredGigE1/0/13
 description Frame-1-ICM-3-Q1
 port link-type trunk
 undo port trunk permit vlan 1  
 lacp period short
 lacp mode passive
 port link-aggregation group 8
#
interface HundredGigE2/0/13
 description Frame-1-ICM-3-Q2
 port link-type trunk
 undo port trunk permit vlan 1  
 lacp period short
 lacp mode passive
 port link-aggregation group 8
#
interface HundredGigE1/0/14
 description Frame-1-ICM-3-Q3
 port link-type trunk
 undo port trunk permit vlan 1  
 lacp period short
 lacp mode passive
 port link-aggregation group 8
#

interface HundredGigE2/0/14
 description Frame-2-ICM-6-Q1
 port link-type trunk
 undo port trunk permit vlan 1 
 lacp period short
 lacp mode passive
 port link-aggregation group 9
#
interface HundredGigE1/0/15
 description Frame-2-ICM-6-Q2
  port link-type trunk
  undo port trunk permit vlan 1  
  lacp period short
  lacp mode passive
 port link-aggregation group 9
#
interface HundredGigE2/0/15
 description Frame-2-ICM-6-Q3
  port link-type trunk
  undo port trunk permit vlan 1 
  lacp period short
  lacp mode passive
 port link-aggregation group 9
#

interface HundredGigE1/0/16
 port link-mode bridge
 description Frame-1-ICM-2-Q1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 10
#
interface HundredGigE2/0/16
 port link-mode bridge
 description Frame-1-ICM-2-Q2
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 10
#
interface HundredGigE1/0/17
 port link-mode bridge
 description Frame-1-ICM-2-Q3
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 10
#
interface HundredGigE2/0/17
 port link-mode bridge
 description Frame-1-ICM-2-Q4
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 10
#
interface HundredGigE1/0/18
 port link-mode bridge
 description Frame-1-ICM-2-Q5
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 10
#
interface HundredGigE2/0/18
 port link-mode bridge
 description Frame-1-ICM-2-Q6
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 10
#

interface HundredGigE1/0/19
 port link-mode bridge
 description Frame-1-ICM-5-Q1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 10
#
interface HundredGigE2/0/19
 port link-mode bridge
 description Frame-1-ICM-5-Q2
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 10
#
interface HundredGigE1/0/20
 port link-mode bridge
 description Frame-1-ICM-5-Q3
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 10
#
interface HundredGigE2/0/20
 port link-mode bridge
 description Frame-1-ICM-5-Q4
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 10
#
interface HundredGigE1/0/21
 port link-mode bridge
 description Frame-1-ICM-5-Q5
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 10
#
interface HundredGigE2/0/21
 port link-mode bridge
 description Frame-1-ICM-5-Q6
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 10
#

interface HundredGigE1/0/22
 port link-mode bridge
 description Frame-2-ICM-2-Q1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 11
#
interface HundredGigE2/0/22
 port link-mode bridge
 description Frame-2-ICM-2-Q2
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 11
#
interface HundredGigE1/0/23
 port link-mode bridge
 description Frame-2-ICM-2-Q3
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 11
#
interface HundredGigE2/0/23
 port link-mode bridge
 description Frame-2-ICM-2-Q4
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 11
#
interface HundredGigE1/0/24
 port link-mode bridge
 description Frame-2-ICM-2-Q5
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 11
#
interface HundredGigE2/0/24
 port link-mode bridge
 description Frame-2-ICM-2-Q6
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 11
#

interface HundredGigE1/0/25
 port link-mode bridge
 description Frame-2-ICM-5-Q1
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 11
#
interface HundredGigE2/0/25
 port link-mode bridge
 description Frame-2-ICM-5-Q2
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 11
#
interface HundredGigE1/0/26
 port link-mode bridge
 description Frame-2-ICM-5-Q3
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 11
#
interface HundredGigE2/0/26
 port link-mode bridge
 description Frame-2-ICM-5-Q4
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 11
#
interface HundredGigE1/0/27
 port link-mode bridge
 description Frame-2-ICM-5-Q5
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 11
#
interface HundredGigE2/0/27
 port link-mode bridge
 description Frame-2-ICM-5-Q6
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan  801 to 900
 port link-aggregation group 11
#

#
interface HundredGigE1/0/29
 port link-mode bridge
 port service-loopback group 1
# 
 interface HundredGigE2/0/29
 port link-mode bridge
 port service-loopback group 1
#
interface HundredGigE1/0/30
#
interface HundredGigE1/0/31
#
interface HundredGigE1/0/32
#
interface HundredGigE2/0/30
#
interface HundredGigE2/0/31
#
interface HundredGigE2/0/32
#
interface M-GigabitEthernet0/0/0
 ip address xx.xx.xx.xx xx.xx.xx.xx
 description <as per Port map> 
 ip address <iLO-OOBM IP address> <iLO-OOBM netmask>
#
interface M-GigabitEthernet0/0/1
#
interface Vsi-interface160
 description PXE
 ip address 10.206.160.1 255.255.255.0  
 distributed-gateway local
#
interface Vsi-interface161
 description CLM
 ip address 10.206.161.1 255.255.255.0  
 distributed-gateway local
#
interface Vsi-interface162
 description BLS
 ip address 10.206.162.1 255.255.255.0
 distributed-gateway local
#
return