[head.htm]
Web Cisco

 

Cisco Switch Initial Configuration

1. Use the supplied RJ-45-to-DB-9 adapter cable to connect the Cisco
switch console port to a PC.
2. Run a terminal-emulation software, for example putty.exe.
3. Here are the example of configuring Cisco switch 2995

Would you like to enter the initial configuration dialog? [yes/no]:
yes
Would you like to enter basic management setup? [yes/no]: yes
Enter host name [Switch]: chicagotech-swicth1
The enable secret is a password used to protect access to
privileged EXEC and configuration modes. This password, after
entered, becomes encrypted in the configuration.
Enter enable secret: scret-password

The enable password is used when you do not specify an
enable secret password, with some older software versions, and
some boot images.
Enter enable password: enable-password

The virtual terminal password is used to protect
access to the router over a network interface.
Enter virtual terminal password: virtual_terminal-password
Configure SNMP Network Management? [no]:

Current interface summary

Any interface listed with OK? value "NO" does not have a valid configuration

Interface IP-Address OK? Method Status Protocol
Vlan1 unassigned NO unset up down
FastEthernet0/1 unassigned YES unset down down
FastEthernet0/2 unassigned YES unset down down
FastEthernet0/3 unassigned YES unset down down
FastEthernet0/4 unassigned YES unset down down
FastEthernet0/5 unassigned YES unset down down
FastEthernet0/6 unassigned YES unset down down
FastEthernet0/7 unassigned YES unset down down
FastEthernet0/8 unassigned YES unset down down
FastEthernet0/9 unassigned YES unset down down
FastEthernet0/10 unassigned YES unset down down
FastEthernet0/11 unassigned YES unset down down
FastEthernet0/12 unassigned YES unset down down
FastEthernet0/13 unassigned YES unset down down
FastEthernet0/14 unassigned YES unset down down

Enter interface name used to connect to the
management network from the above interface summary: vlan1

Configuring interface Vlan1:
Configure IP on this interface? [yes]: y
IP address for this interface: 10.0.20.48
Subnet mask for this interface [255.0.0.0] : 255.255.0.0
Class A network is 10.0.0.0, 16 subnet bits; mask is /16
Would you like to enable as a cluster command switch? [yes/no]: n

The following configuration command script was created:

hostname McGinley-2955-1
enable secret 5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
enable password xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line vty 0 15
password xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
no snmp-server
!
!
interface Vlan1
no shutdown
ip address 10.0.20.48 255.255.0.0
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
end

[0] Go to the IOS command prompt without saving this config.
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.

Enter your selection [2]: 2
Building configuration...
[OK]
Use the enabled mode 'configure' command to modify this configuration.

Press RETURN to get started!

Post your questions, comments, feedbacks and suggestions

Contact a consultant

Related Topics


 

 

 

 [footer.htm]