Professional Documents
Culture Documents
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Bldg-1
Bldg-1(config)#enable secret LMn789
Bldg-1(config)#banner motd #Unathurised#
Bldg-1(config)#line console 0
Bldg-1(config-line)#password CDe123
Bldg-1(config-line)#login
Bldg-1(config-line)#exit
Bldg-1(config)#line vty 0 15
Bldg-1(config-line)#password EFg456
Bldg-1(config-line)#login
Bldg-1(config-line)#exit
Bldg-1(config)#service password-encryption
Bldg-1(config)#int fa0/0
Bldg-1(config-if)#ip address 192.168.2.1 255.255.255.0
Bldg-1(config-if)#no shut
Bldg-1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Bldg-1(config-if)#int fa0/1
Bldg-1(config-if)#ip address 192.168.3.1 255.255.255.0
Bldg-1(config-if)#no shut
Bldg-1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
Bldg-1(config-if)#int Se0/0/0
Bldg-1(config-if)#ip address 10.0.2.0 255.0.0.0
Bldg-1(config-if)#no shut
Bldg-1(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
Bldg-1(config-if)#exit
Bldg-1(config)#exit
Bldg-1#
%SYS-5-CONFIG_I: Configured from console by console
copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Bldg-1#
CONFIGURACIÓN DEL SWITCH:
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int vlan 1
Switch(config-if)#ip address 192.168.2.254 255.255.255.0
Switch(config-if)#no shut
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan1, changed state to up
FL-1(config)#line vty 0 15
*Mar 1 1:3:58.395: %SSH-5-ENABLED: SSH 1.99 has been enabled
FL-1(config-line)#login local
FL-1(config-line)#transport input SSH
FL-1(config-line)#username ops password ABC234
FL-1(config)#ip ssh version 2
FL-1(config)#exit
FL-1#
%SYS-5-CONFIG_I: Configured from console by console