Dell PowerStore 3000X EMC PowerStore Network Configuration Guide for PowerSwit - Page 25

Steps, Code samples for configuring general settings on the ToR switches, Switch1

Page 25 highlights

Steps 1. Establish a terminal session to the first ToR switch (Switch1). 2. Enter global configuration mode. configure terminal 3. Configure a hostname for the switch. hostname Switch1 4. Configure the management IP address for the switch. NOTE: The following command sample assumes that automatic IP assignment through Dynamic Host Configuration Protocol (DHCP) is enabled on the switch. If automatic IP assignment through DHCP is not enabled, then you do not need to include no ip address dhcp in the commands below. interface mgmt 1/1/1 no shutdown no ip address dhcp ip address 100.0.100.10/24 exit NOTE: Be sure to use a different IP address when configuring switch 2. This document uses 100.0.100.11/24 in the example below. 5. Optionally, configure the management route (default gateway) for the switch. management route 0.0.0.0/0 100.0.100.1 6. Configure an NTP server for the switch. ntp server 100.0.100.200 7. Enable the Rapid Spanning Tree Protocol (RSTP) on the switch. spanning-tree mode rstp 8. Configure the spanning tree priority on the switch. spanning-tree rstp priority 40960 Note the following when selecting spanning-tree rstp priority values: ● It is important that you work with your network administrator to determine which value to use to avoid conflicts with other switches in your network. ● Different rstp priority values should be used when configuring switch 1 and switch 2. ● 0 priority is typically reserved for the root bridge. 9. Repeat the above steps for the second switch (Switch2). Code samples for configuring general settings on the ToR switches Switch1 Switch2 configure terminal hostname Switch1 interface mgmt 1/1/1 no shutdown no ip address dhcp ip address 100.0.100.10/24 exit configure terminal hostname Switch2 interface mgmt 1/1/1 no shutdown no ip address dhcp ip address 100.0.100.11/24 exit PowerStore T model: Configure the switches 25

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93

Steps
1.
Establish a terminal session
to the first ToR switch (Switch1).
2.
Enter global configuration mode.
configure terminal
3.
Configure a hostname for the switch.
hostname Switch1
4.
Configure the management IP address for the switch.
NOTE:
The following command sample assumes that automatic IP assignment through Dynamic Host Configuration
Protocol (DHCP) is enabled on the switch. If automatic IP assignment through DHCP is not enabled, then you do not
need to include
no ip address dhcp
in the commands below.
interface mgmt 1/1/1
no shutdown
no ip address dhcp
ip address 100.0.100.10/24
exit
NOTE:
Be sure to use a different IP address when configuring switch 2. This document uses
100.0.100.11/24
in the
example below.
5.
Optionally, configure the management route (default gateway) for the switch.
management route 0.0.0.0/0 100.0.100.1
6.
Configure an NTP server for the switch.
ntp server 100.0.100.200
7.
Enable the Rapid Spanning Tree Protocol (RSTP) on the switch.
spanning-tree mode rstp
8.
Configure the spanning tree priority on the switch.
spanning-tree rstp priority 40960
Note the following when selecting spanning-tree rstp priority values:
It is important that you work with your network administrator to determine which value to use to avoid conflicts with
other switches in your network.
Different rstp priority values should be used when configuring switch 1 and switch 2.
0 priority is typically reserved for the root bridge.
9.
Repeat the above steps for the second switch (Switch2).
Code samples for configuring general settings on the ToR switches
Switch1
Switch2
configure terminal
hostname Switch1
interface mgmt 1/1/1
no shutdown
no ip address dhcp
ip address 100.0.100.10/24
exit
configure terminal
hostname Switch2
interface mgmt 1/1/1
no shutdown
no ip address dhcp
ip address 100.0.100.11/24
exit
PowerStore T model: Configure the switches
25