Solved

Cisco switch manual setup

Posted on 2014-02-13
6
375 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

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 past year has been one of great growth and performance for OnPage. We have added many features and integrations to the product, making 2016 an awesome year. We see these steps forward as the basis for future growth.
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…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

680 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