• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 413
  • Last Modified:

Cisco switch manual setup

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
DHPBilcare
Asked:
DHPBilcare
  • 2
  • 2
2 Solutions
 
James HIT DirectorCommented:
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
 
InfamusCommented:
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
 
James HIT DirectorCommented:
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
 
InfamusCommented:
I provided answers to all your questions.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now