Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Configure VLANs
- vlan 4000 name "IPL VLAN"
- exit
- vlan 3410 name "HCI Management"
- exit
- vlan 3412 name "HCI iSCSI Storage"
- exit
- vlan 3411 name "HCI vMotion Network"
- exit
- vlan 3413 name "VM Guest Network 3413"
- exit
- vlan 3414 name "VM Guest Network 3414"
- exit
- #
- #
- #
- #
- #Configure IPL
- interface port-channel 100
- description IPL
- exit
- interface ethernet 1/20 channel-group 100 mode active
- interface ethernet 1/20 description ISL to hci-SWB
- interface ethernet 1/22 channel-group 100 mode active
- interface ethernet 1/22 description ISL to hci-SWB
- interface port-channel 100 ipl 1
- interface port-channel 100 dcb priority-flow-control mode on force
- interface vlan 4000
- exit
- interface vlan 4000 ip address 10.255.255.1 255.255.255.252
- interface vlan 4000 ipl 1 peer-address 10.255.255.2
- #Configure MLAG VIP
- mlag-vip MLAG-VIP-DOM ip 192.168.0.102 /24 force
- mlag system-mac 00:00:5E:00:AA:01
- no mlag shutdown
- #Configure Uplink
- interface ethernet 1/17 description Network Uplink
- interface ethernet 1/17 speed 10000 force
- interface ethernet 1/18 description Network Uplink
- interface ethernet 1/18 speed 10000 force
- interface mlag-port-channel 101
- description Uplink
- exit
- interface ethernet 1/17 mlag-channel-group 101 mode active
- interface ethernet 1/18 mlag-channel-group 101 mode active
- interface mlag-port-channel 101 mtu 9216 force
- interface mlag-port-channel 101 switchport mode trunk
- interface mlag-port-channel 101 switchport trunk allowed-vlan all
- interface mlag-port-channel 101 no shutdown
- #Configure Management Ports (only for storage nodes)
- interface ethernet 1/1-1/5 spanning-tree port type edge
- interface ethernet 1/1-1/5 spanning-tree bpduguard enable
- interface ethernet 1/1-1/5 speed 1000 force
- interface ethernet 1/1-1/5 switchport mode access
- interface ethernet 1/1 description STORAGE-01 eth2:portA
- interface ethernet 1/2 description STORAGE-02 eth2:portA
- interface ethernet 1/3 description STORAGE-03 eth2:portA
- interface ethernet 1/4 description STORAGE-04 eth2:portA
- interface ethernet 1/5 description STORAGE-05 eth2:portA
- interface ethernet 1/1 switchport access vlan 3410
- interface ethernet 1/2 switchport access vlan 3410
- interface ethernet 1/3 switchport access vlan 3410
- interface ethernet 1/4 switchport access vlan 3410
- interface ethernet 1/5 switchport access vlan 3410
- #Configure iSCSI Ports (storage nodes)
- interface ethernet 1/6-1/10 spanning-tree port type edge
- interface ethernet 1/6-1/10 spanning-tree bpduguard enable
- interface ethernet 1/6-1/10 lacp port-priority 10
- interface ethernet 1/6-1/10 lacp rate fast
- interface ethernet 1/6 description STORAGE-01 eth0:portC
- interface ethernet 1/7 description STORAGE-02 eth0:portC
- interface ethernet 1/8 description STORAGE-03 eth0:portC
- interface ethernet 1/9 description STORAGE-04 eth0:portC
- interface ethernet 1/10 description STORAGE-05 eth0:portC
- interface mlag-port-channel 201-205
- exit
- interface ethernet 1/6 mlag-channel-group 201 mode active
- interface ethernet 1/7 mlag-channel-group 202 mode active
- interface ethernet 1/8 mlag-channel-group 203 mode active
- interface ethernet 1/9 mlag-channel-group 204 mode active
- interface ethernet 1/10 mlag-channel-group 205 mode active
- interface mlag-port-channel 201-205 mtu 9216 force
- interface mlag-port-channel 201-205 lacp-individual enable force
- interface mlag-port-channel 201-205 no shutdown
- interface mlag-port-channel 201-205 switchport mode hybrid
- interface mlag-port-channel 201 switchport hybrid allowed-vlan all
- interface mlag-port-channel 202 switchport hybrid allowed-vlan all
- interface mlag-port-channel 203 switchport hybrid allowed-vlan all
- interface mlag-port-channel 204 switchport hybrid allowed-vlan all
- interface mlag-port-channel 205 switchport hybrid allowed-vlan all
- interface mlag-port-channel 201 switchport access vlan 3410
- interface mlag-port-channel 202 switchport access vlan 3410
- interface mlag-port-channel 203 switchport access vlan 3410
- interface mlag-port-channel 204 switchport access vlan 3410
- interface mlag-port-channel 205 switchport access vlan 3410
- #Configure data ports (compute nodes)
- interface ethernet 1/11-1/16 spanning-tree port type edge
- interface ethernet 1/11-1/16 spanning-tree bpduguard enable
- interface ethernet 1/11-1/16 switchport mode hybrid
- interface ethernet 1/11-1/16 mtu 9216 force
- interface ethernet 1/11 description COMPUTE-01 eth1:portD
- interface ethernet 1/12 description COMPUTE-02 eth1:portD
- interface ethernet 1/13 description COMPUTE-03 eth1:portD
- interface ethernet 1/14 description COMPUTE-04 eth1:portD
- interface ethernet 1/15 description COMPUTE-05 eth1:portD
- interface ethernet 1/16 description COMPUTE-06 eth1:portD
- interface ethernet 1/11 switchport hybrid allowed-vlan all
- interface ethernet 1/12 switchport hybrid allowed-vlan all
- interface ethernet 1/13 switchport hybrid allowed-vlan all
- interface ethernet 1/14 switchport hybrid allowed-vlan all
- interface ethernet 1/15 switchport hybrid allowed-vlan all
- interface ethernet 1/16 switchport hybrid allowed-vlan all
- interface ethernet 1/11 switchport access vlan 3410
- interface ethernet 1/12 switchport access vlan 3410
- interface ethernet 1/13 switchport access vlan 3410
- interface ethernet 1/14 switchport access vlan 3410
- interface ethernet 1/15 switchport access vlan 3410
- interface ethernet 1/16 switchport access vlan 3410
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement