Global Config Mode

Entering global configuration mode to make system-wide changes to switch settings

Enter global configuration mode to make system-wide changes to switch settings and configurations.

Step 1: Access privileged EXEC mode

1
2
SW1>enable
SW1#

Step 2: Enter global configuration mode

1
2
SW1#configure terminal
SW1(config)#

Step 3: Make configuration changes Examples of common global configuration commands you can now execute:

1
2
3
4
SW1(config)#hostname CoreSwitch01
CoreSwitch01(config)#enable secret MyP@ssw0rd
CoreSwitch01(config)#ip domain-name company.local
CoreSwitch01(config)#banner motd #Authorized Access Only#

Step 4: Exit configuration mode

1
2
CoreSwitch01(config)#exit
CoreSwitch01#

Step 5: Save the configuration

1
CoreSwitch01#write memory

or

1
CoreSwitch01#copy running-config startup-config

Key Points:

  • The prompt changes from # to (config)# when in global config mode
  • Use exit to go back one mode level or end to return directly to privileged EXEC
  • Always save your configuration changes or they’ll be lost on reboot
  • Type ? at any prompt to see available commands