Security
login
Require the line password at login. 'login local' checks the username database instead.
Works on: Router, Firewall, Switch, Access pointMode: line
Run this command live
Don't just read it — type login in a real network simulator in your browser and watch it take effect. No install, no account needed to start.
Frequently asked
What does the "login" command do?
Require the line password at login. 'login local' checks the username database instead.
More Security commands
access-list <10-99> {permit|deny} <src> <wild>ip access-list extended <name>ip access-group <acl> in|outswitchport port-securityswitchport port-security maximum <n>switchport port-security violation {shutdown|restrict|protect}switchport port-security mac-address {<H.H.H>|sticky}ip dhcp snoopingip arp inspection vlan <id>line vty 0 4line console 0password <password>