Example configuration files: Difference between revisions

From Lucca's Wiki
Jump to navigationJump to search
Created page with " !router configuration in batch mode (config file) !Initial config on router A enable conf t hostname routerA enable secret itsasecret banner motd "Authorized access only. Keep off" !Lets configure the line console 0 port line con 0 password cisco login exit !now we're back in global config mode"
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
!router configuration in batch mode (config file)
 
!Initial config on router A
<hr>Very basic config for a cisco router<hr>
enable
 
conf t
!router configuration in batch mode (config file)
hostname routerA
!Initial config on router A
enable secret itsasecret
enable
banner motd "Authorized access only. Keep off"
conf t
!Lets configure the line console 0 port
hostname routerA
line con 0
enable secret itsasecret
password cisco
banner motd "Authorized access only. Keep off"
login
!Lets configure the line console 0 port
exit
line con 0
!now we're back in global config mode
password cisco
login
exit
!now we're back in global config mode

Latest revision as of 00:08, 27 August 2025


Very basic config for a cisco router


!router configuration in batch mode (config file)
!Initial config on router A
enable
conf t
hostname routerA
enable secret itsasecret
banner motd "Authorized access only. Keep off"
!Lets configure the line console 0 port
line con 0
password cisco
login
exit
!now we're back in global config mode