# Copyright 2021 Dell Inc. or its subsidiaries. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---Default configurations written for Dell PowerSwitch S4128T-ON--- # ---Change the configurations as per the switch model to avoid failures--- # Global configuration for switch os10_config: - "interface vlan1" - "exit" # Interface configuration for switch os10_interface: ethernet 1/1/1: desc: "Port 1" admin: up ethernet 1/1/2: desc: "Port 2" admin: up ethernet 1/1/3: desc: "Port 3" admin: up ethernet 1/1/4: desc: "Port 4" admin: up ethernet 1/1/5: desc: "Port 5" admin: up ethernet 1/1/6: desc: "Port 6" admin: up ethernet 1/1/7: desc: "Port 7" admin: up ethernet 1/1/8: desc: "Port 8" admin: up ethernet 1/1/9: desc: "Port 9" admin: up ethernet 1/1/10: desc: "Port 10" admin: up ethernet 1/1/11: desc: "Port 11" admin: up ethernet 1/1/12: desc: "Port 12" admin: up ethernet 1/1/13: desc: "Port 13" admin: up ethernet 1/1/14: desc: "Port 14" admin: up ethernet 1/1/15: desc: "Port 15" admin: up ethernet 1/1/16: desc: "Port 16" admin: up ethernet 1/1/17: desc: "Port 17" admin: up ethernet 1/1/18: desc: "Port 18" admin: up ethernet 1/1/19: desc: "Port 19" admin: up ethernet 1/1/20: desc: "Port 20" admin: up ethernet 1/1/21: desc: "Port 21" admin: up ethernet 1/1/22: desc: "Port 22" admin: up ethernet 1/1/23: desc: "Port 23" admin: up ethernet 1/1/24: desc: "Port 24" admin: up ethernet 1/1/25: desc: "Port 25" admin: up ethernet 1/1/26: desc: "Port 26" admin: up ethernet 1/1/27: desc: "Port 27" admin: up ethernet 1/1/28: desc: "Port 28" admin: up ethernet 1/1/29: desc: "Port 29" admin: up ethernet 1/1/30: desc: "Port 30" admin: up vlan 1: admin: up # save_changes_to_startup is a boolean flag. By default, this option is set to false. # When set to true, it will save the switch's running configuration to the startup configuration file # after the role applies its configuration. This will allow the configuration to persist after a # restart or power failure. save_changes_to_startup: false