Verifying the Catalyst switch default configuration
Switch name
|
Command
|
Explanation
|
SydneySwitch#
| show version |
Displays the configuration of the system hardware, software version, names, and sources of configuration files and boot images
|
SydneySwitch#
|
show running-configuration
|
Displays the current active configuration file of the switch
|
SydneySwitch#
|
show interfaces
|
Displays the statistics for all interfaces configured on the switch
|
SydneySwitch#
|
show ip
|
Displays the IP address, subnet mask, and default gateway
|
6.2.1 This page will teach students about the default configuration of a switch and how to verify it.
When powered up for the first time, a switch has default data in the running configuration file. The default hostname is Switch. No passwords are set on the console or virtual terminal (vty) lines.
A switch may be given an IP address for management purposes. This is configured on the virtual interface, VLAN 1. By default, the switch has no IP address.
The switch ports or interfaces are set to auto mode , and all switch ports are in VLAN 1. VLAN 1 is known as the default management VLAN.
The flash directory by default, has a file that contains the IOS image, a file called env_vars, and a sub-directory called html. After the switch is configured, the flash directory will contain a file called config.text as well as a VLAN database. As seen in Figure , the flash directory does not contain a config.text file or a VLAN database file called vlan.dat.
The IOS version and the configuration register settings can be verified with the show version command.
In this default state, the switch has one broadcast domain and the CLI can be used to manage and configure the switch through the console port. The Spanning-Tree Protocol is also enabled, and allows the bridge to construct a loop-free topology across an extended LAN.
For small networks, the default configuration may be sufficient. The benefits of better performance with microsegmentation are obtained immediately.
The Lab Activities will allow students to check the default configurations of two Cisco 2900 series switches.
The next page will explain how a switch is configured.
No comments:
Post a Comment