Apply Switch Configurations

This process is generally straightforward and requires the user to copy and paste the generated switch configuration into the terminal.

All ports will be shutdown before applying switch configuration. If the port is in the SHCD and being used, it will be enabled when the configuration is applied.

There are some caveats that are mentioned below.

Prerequisites

Aruba

  1. Shutdown all ports. Use show int physical to see the range of ports.

    int 1/1/1-1/1/52
    shut
    
  2. Enter auto-confirm before pasting in the configuration. This will automatically accept prompts.

    switch(config)# auto-confirm
    
  3. Paste in the generated configuration.

Dell

  1. Shut down all ports.

    interface range ethernet 1/1/1-1/1/52
    shut
    
  2. Paste in the generated configuration.

    • When pasting in the configuration be sure that all the commands were accepted. In some cases you will need to back out of the current configuration context and back to global configuration for the commands to work as intended.

    • banner exec will need to be manually applied.

      For example:

      router ospf 1
      router-id 10.2.0.4
      router-id ospf 2 vrf Customer
      router-id 10.2.0.4
      

      To fix:

      router ospf 1
      router-id 10.2.0.4
      exit
      router ospf 2 vrf Customer
      router-id 10.2.0.4
      

Mellanox

Verify that no cli default prefix-modes enable is configured on the switch before applying any configuration.

sw-spine-001 [mlag-domain: standby] (config) # no cli default prefix-modes enable

Write memory

Save the configuration once the configuration is applied.

Refer to the Saving Configuration procedure.