Pisti 2023 Redes Codigo Cli

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

line con 0

!
line aux 0
!
line vty 0 4
login
!
!
!
end

INSTITUTO_FOCO#
INSTITUTO_FOCO#
INSTITUTO_FOCO#conf t
Enter configuration commands, one per line. End with CNTL/Z.
INSTITUTO_FOCO(config)#ip dhcp pool SEC_DHCP
INSTITUTO_FOCO(dhcp-config)#net 192.168.10.0 255.255.255.0
INSTITUTO_FOCO(dhcp-config)#de
INSTITUTO_FOCO(dhcp-config)#default-router 192.168.10.1
INSTITUTO_FOCO(dhcp-config)#dns
INSTITUTO_FOCO(dhcp-config)#dns-server 192.168.12.2
INSTITUTO_FOCO(dhcp-config)#do wr
Building configuration...
[OK]
INSTITUTO_FOCO(dhcp-config)#^Z
INSTITUTO_FOCO#
%SYS-5-CONFIG_I: Configured from console by console

INSTITUTO_FOCO#show r
Building configuration...

Current configuration : 1035 bytes


!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname INSTITUTO_FOCO
!
!
!
!
!
ip dhcp pool DHCP_IF_MAPUTO
network 192.168.11.0 255.255.255.0
default-router 192.168.11.1
dns-server 192.168.12.2
ip dhcp pool SEC_DHCP
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 192.168.12.2
!
!

INSTITUTO_FOCO#conf t
Enter configuration commands, one per line. End with CNTL/Z.
INSTITUTO_FOCO(config)#ip dhcp pool DHCP_MAPUTO
INSTITUTO_FOCO(dhcp-config)#exc
INSTITUTO_FOCO(dhcp-config)#excl
INSTITUTO_FOCO(dhcp-config)#ip dhcp exc
INSTITUTO_FOCO(dhcp-config)#ip dhcp excl
INSTITUTO_FOCO(dhcp-config)#exit
INSTITUTO_FOCO(config)#ip dhcp exc
INSTITUTO_FOCO(config)#ip dhcp excluded-address 192.168.11.1 192.168.11.20
INSTITUTO_FOCO(config)#ip dhcp excluded-address 192.168.10.1 192.168.10.20
INSTITUTO_FOCO(config)#do wr
Building configuration...
[OK]
INSTITUTO_FOCO(config)#conf t
%Invalid hex value
INSTITUTO_FOCO(config)#router ospf 1
INSTITUTO_FOCO(config-router)#net 192.168.10.0 0.0.0.255 area 1
INSTITUTO_FOCO(config-router)#net 192.168.11.0 0.0.0.255 area 1
INSTITUTO_FOCO(config-router)#net 192.168.12.0 0.0.0.255 area 0
INSTITUTO_FOCO(config-router)#end
INSTITUTO_FOCO#
%SYS-5-CONFIG_I: Configured from console by console

INSTITUTO_FOCO#copy running-config startup-config


Destination filename [startup-config]? yes
%Error copying nvram:yes (Invalid argument)
INSTITUTO_FOCO#copy running-config startup-config
Destination filename [startup-config]? y
%Error copying nvram:y (Invalid argument)
INSTITUTO_FOCO#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
INSTITUTO_FOCO#show r
Building configuration...

Current configuration : 1320 bytes


!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname INSTITUTO_FOCO
!
!
!
!
ip dhcp excluded-address 192.168.11.1 192.168.11.20
ip dhcp excluded-address 192.168.10.1 192.168.10.20
!
ip dhcp pool DHCP_IF_MAPUTO
network 192.168.11.0 255.255.255.0
default-router 192.168.11.1
dns-server 192.168.12.2
ip dhcp pool SEC_DHCP
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 192.168.12.2
ip dhcp pool DHCP_MAPUTO
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.11.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.10.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0
no ip address
clock rate 2000000
shutdown
!
interface Serial0/1
ip address 192.168.12.1 255.255.255.0
clock rate 2000000
!
interface Serial0/2
no ip address
clock rate 2000000
shutdown
!
interface Serial0/3
no ip address
clock rate 2000000
shutdown
!
router ospf 1
log-adjacency-changes
network 192.168.10.0 0.0.0.255 area 1
network 192.168.11.0 0.0.0.255 area 1
network 192.168.12.0 0.0.0.255 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end

INSTITUTO_FOCO#
INSTITUTO_FOCO#
INSTITUTO_FOCO#
INSTITUTO_FOCO#

You might also like