Help everyone is out of town, need to configure a Cisco gateway

holden j caufield

Diamond Member
Dec 30, 1999
6,324
10
81
It's been awhile, not even sure if I can find console cable or a lappy with serial laying around.

lets say

enable = admin123
user = root
password = admin123

Management IP = 10.x.x.x


Router>enable
Router#configure terminal
Router(config)#enable password admin123
Router(config)#username root password admin123
Router(config)#interface ethernet0
Router(config-if)#description Management IP
Router(config-if)#ip address 10.x.x.x
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#write memory

have I forgotten too much or will this work.
 

jlazzaro

Golden Member
May 6, 2004
1,743
0
0
a few things...always use secret, not password. even with service password-encryption, "passwords" are easily reversible. there is no point in giving your secret and root the same password...make them different or you can automatically escalate root to the highest privilege at login with privilege 15 option. you forgot the mask on your interface address, and write memory cannot be executed from config modes without the DO command.

Router>enable
Router#configure terminal
Router(config)#enable secret admin123
Router(config)#username root privilege 15 SECRET admin123
Router(config)#interface ethernet0
Router(config-if)#description Management IP
Router(config-if)#ip address 10.x.x.x 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#DO write memory
-or-
Router(config-if)#END
Router#write memory

for the configuration as a whole, you should have routes setup, vty lines configured for login, and other configurations depending on the router function.
 
Last edited:

holden j caufield

Diamond Member
Dec 30, 1999
6,324
10
81
thx dude wish I saw this earlier would've saved me some time. :D but luckily the ios tells me where I was being a dumbass so it's pretty straight forward
 

brad310

Senior member
Nov 14, 2007
319
0
0
you might also have to give it a static route to the intarnets.

ip route 0.0.0.0 0.0.0.0 10.x.x.x