Solved

Cisco switch manual setup

Posted on 2014-02-13
6
369 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
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 …
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…

822 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