Initial Configuration
20G101-00 E2
2015-09-29
Page 24
Table 8.
Show running-config sequence
Lines that begin with '!' are comments.
The file sequence is as follows:
The hostname command
Followed by the password for the admin user
Then by VLANs 1 and 42 and other items, such as Spanning Tree Protocol (STP)
A list of all port interfaces on the device, ordered by switch ID, type and port number
All interfaces except GigabitEthernet 1/1 are set to default, so nothing is displayed for
them. Generally only the non-default configuration is displayed,
Following the physical interfaces are VLAN interfaces 1 and 42. Only 42 has an assigned
IP address. The line section is shown last and specifies the characteristics for the serial
console (line console 0) or network ICLI management connections (line vty x).
The configuration as displayed above is saved in the ’startup-config’ file.
my-device# show running-config
Building configuration...
hostname my-device
username admin privilege 15 password encrypted dmVyeS1zZWNyZXQ=
!
vlan 1
name default
!
spanning-tree mst name 00-01-c1-00-ad-80 revision 0
! [...]
!
interface GigabitEthernet 1/1
!
interface GigabitEthernet 1/2
!
! [...]
!
interface 2.5GigabitEthernet 1/1
!
interface 2.5GigabitEthernet 1/2
!
interface vlan 1
ip address dhcp fallback 172.16.1.2 255.255.0.0
!
line console 0
!
line vty 0
!
! [...]
!
end
my-device#