Solved

Cisco switch manual setup

Posted on 2014-02-13
6
372 Views
Last Modified: 2014-05-18
How do I manually configure the management IP, subnet mask, default gateway and username and password via CLI on a standard Cisco switch and then save.
0
Comment
Question by:DHPBilcare
  • 2
  • 2
6 Comments
 
LVL 17

Accepted Solution

by:
Spartan_1337 earned 250 total points
ID: 39857358
easiest thing to do is create a simple VLAN

Switch# conf t (enter)
Switch(Config)#int VLAN (pick a number, other than 1) (ex. int VLAN 10)
Switch(Config-if)#ip address 111.222.333.444 255.255.x.x (using your subnet and mask here)
Type exit (or hit CTRL + Z, shortcut)
Switch# wr mem
0
 
LVL 12

Assisted Solution

by:Infamus
Infamus earned 250 total points
ID: 39857361
To setup user name.

config t
username cisco priviledge 15 password C1sC0
exit

To setup management IP, (if the vlan 1 is your only vlan)

config t
int vlan 1
ip address 10.1.1.1 255.255.255.0
exit

To set default gateway of the switch.

Layer 3.
config t
ip route 0.0.0.0 0.0.0.0 10.200.1.1
exit

Layer 2
config t
ip default-gateway 10.200.1.1
exit


To save the config..

write mem or copy run start
0
 
LVL 17

Expert Comment

by:Spartan_1337
ID: 39857373
One other command:
Switch#conf t (enter)
Switch(Config)#ip default-gateway 111.222.333.444 (place your address here)(enter)
Switch(Config)#ip route 0.0.0.0 0.0.0.0 x.x.x.x (x = default gateway IP)(enter)
Type exit
Switch#wr mem
0
 
LVL 12

Expert Comment

by:Infamus
ID: 40053955
I provided answers to all your questions.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
cisco 2800 cannot ping lan 4 23
Cisco 3650 switch 7 45
Hit router interface limit 7 37
Home internet speed 20 30
I recently updated from an old PIX platform to the new ASA platform.  While upgrading, I was tremendously confused about how the VPN and AnyConnect licensing works.  It turns out that the ASA has 3 different VPN licensing schemes. "site-to-site" …
This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question