This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]newworldmonkeys2 1 point2 points  (1 child)

Check out this doc, the linked section has your answer.

[–]flying_scruntCCNA R&S, Collaboration[S] 0 points1 point  (0 children)

Thank you!

[–]arming10A+, Net +,CCNA R&S, JNCIA-Junos 3 points4 points  (3 children)

The shared password MUST BE THE SAME.... So both ends should have cisco123

[–]burnerthrown 1 point2 points  (1 child)

Doesn't the hostname in the statement have to be the system host name on the other side of the handshake? Iirc the command doesn't set just what password you use but who you're using it with. It's not 'my username and password' but 'the password I share with this username'

[–]arming10A+, Net +,CCNA R&S, JNCIA-Junos 0 points1 point  (0 children)

Yes you are correct it does need to be the routers host name on the otherside of the handshake. So on R2 you would put username R1 password cisco123. On R1 you would put username R2 password cisco123.

[–]flying_scruntCCNA R&S, Collaboration[S] 0 points1 point  (0 children)

Thanks! I don't know how I missed that part.

[–]jpeek 0 points1 point  (0 children)

Authentication is unidirectional. Here check out my blog post.