• Can't configure a Switch on Cisco's Packet Tracer program
    2 replies, posted
So I'm taking a networking class, and I need to set a password on a 2950T switch. However, it won't work... [media]http://www.youtube.com/watch?v=OtxBvLxjf1A[/media] Can anyone help? Friend from the class told me this: [quote]type in Switch(config)# line console 0 Switch(config)# password cisco Switch(config)# line console 0 Switch(config)#login Switch(config)#exit Switch#exit Switch>exit[/quote] But that only sets the plain text one. What about the encrypted one?
The current standard for encrypted passwords is "secrets" which is fairly simple: enable secret mypassword [code] Switch>ena Switch#config t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#enable secret helloworld Switch(config)#^Z Switch# %SYS-5-CONFIG_I: Configured from console by console Switch#show run Building configuration... Current configuration : 1058 bytes ! version 12.1 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname Switch ! enable secret 5 $1$mERr$SZUbdGzcoSiUy9QiK0z6K0 ! ! ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 Switch#disable Switch>ena Password: Switch# [/code] If you're set on using the old "password" use service password-encrypt ena password mypassword [code] Switch#config t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#service password-encrypt Switch(config)#ena pass helloworld Switch(config)#^Z Switch# %SYS-5-CONFIG_I: Configured from console by console Switch#show run Building configuration... Current configuration : 1049 bytes ! version 12.1 no service timestamps log datetime msec no service timestamps debug datetime msec service password-encryption ! hostname Switch ! enable password 7 0829494205161218000708 ! ! ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 Switch# [/code]
Thanks! Now to figure out why VLAN's aren't working for me.
Sorry, you need to Log In to post a reply to this thread.