Configure general settings on the Top-of-Rack (ToR) switches
Perform the following steps to configure general settings on the two ToR switches.
In OS10EE, LLDP (Link Layer Discovery Protocol) is enabled globally on each interface by default. You can use LLDP for troubleshooting and validation. It is recommended that you enable all of the optional TLVs (type, length, value) in the LLDPU (Link Layer Discovery Protocol Data Units) on the switches.
If not already set, configure the management IP address for the switch.
If the management IP address has already been configured for the switch, continue to step 6.
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 for switch 2 in the example below.
Optionally, configure the management route (default gateway) for the switch.
management route 0.0.0.0/0 100.0.100.1
Configure an NTP server for the switch.
ntp server 100.0.100.200
Enable the Rapid Spanning Tree Protocol (RSTP) on the switch.
spanning-tree mode rstp
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.
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
management route 0.0.0.0/0 100.0.100.1
ntp server 100.0.100.200
spanning-tree mode rstp
spanning-tree rstp priority 40960
exit
configure terminal
hostname Switch2
interface mgmt 1/1/1
no shutdown
no ip address dhcp
ip address 100.0.100.11/24
exit
management route 0.0.0.0/0 100.0.100.1
ntp server 100.0.100.200
spanning-tree mode rstp
spanning-tree rstp priority 45056
exit
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\