You are on page 1of 9

Router>enable

Router#sh ver
......Cisco 2821 (revision 53.50) with 210944K/51200K bytes of memory.
Processor board ID FTX1341AHAP
4 FastEthernet interfaces
2 Gigabit Ethernet interfaces
1 Virtual Private Network (VPN) Module
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write)

Configuration register is 0x2102

Router#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname AGROPLAHACEINDA_IPI
AGROPLAHACEINDA_IPI(config)#EXIT
AGROPLAHACEINDA_IPI#sh ip interface brief

Interface IP-Address OK? Method Status Protocol


GigabitEthernet0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/1 unassigned YES NVRAM administratively down down

AGROPLAHACEINDA_IPI#CONF TER
Enter configuration commands, one per line. End with CNTL/Z.

AGROPLAHACEINDA_IPI(config)#interface GigabitEthernet0/0
AGROPLAHACEINDA_IPI(config-if)#ip address 10.7.53.98 255.255.255.252
AGROPLAHACEINDA_IPI(config-if)#no shutdown
AGROPLAHACEINDA_IPI(config-if)#exit
AGROPLAHACEINDA_IPI(config)#ip route 0.0.0.0 0.0.0.0 10.7.53.97

AGROPLAHACEINDA_IPI(config)#line vty 0 4
AGROPLAHACEINDA_IPI(config-line)#password telecom
AGROPLAHACEINDA_IPI(config-line)#login
AGROPLAHACEINDA_IPI(config-line)#exit
AGROPLAHACEINDA_IPI(config)#enable secret telecom
AGROPLAHACEINDA_IPI(config)#do wr
Building configuration...
[OK]

en caso de no funcionar el telnet


adicionar solamente
transport input telnet
-----
Router(config)#line vty 0 15
Router(config-line)#login local
Router(config-line)#password telecom
Router(config-line)#transport input telnet
AGROPLAHACEINDA_IPI(config-line)#exit
AGROPLAHACEINDA_IPI(config)#enable password telecom
AGROPLAHACEINDA_IPI(config)#do wr
Building configuration...
[OK]
-----
AGROPLAHACEINDA_IPI(config)#exit
AGROPLAHACEINDA_IPI#
AGROPLAHACEINDA_IPI>enable
Password:
AGROPLAHACEINDA_IPI#sh ip interface brief

Interface IP-Address OK? Method Status Protocol


GigabitEthernet0/0 10.7.53.98 YES manual up down
GigabitEthernet0/1 unassigned YES NVRAM administratively down down

AGROPLAHACEINDA_IPI# ping 10.7.53.97 rep 100

-----------------------------------------------------------------------
ANEXOS CISCO 877
-----------------------------------------------------------------------

access-list 23 permit 10.10.10.0 0.0.0.7

-----------------------------------------------------------------------

Cisco Configuration Professional (Cisco CP) is installed on this device


and it provides the default username "cisco" for one-time use. If you have
already used the username "cisco" to login to the router and your IOS image
supports the "one-time" user option, then this username has already expired.
You will not be able to login to the router with this username after you exit
this session.

It is strongly suggested that you create a new username with a privilege level
of 15 using the following command.

username <myuser> privilege 15 secret 0 <mypassword>

Replace <myuser> and <mypassword> with the username and password you
want to use.

-----------------------------------------------------------------------

yourname#sh ip interface brief


Interface IP-Address OK? Method Status Prot
ocol
ATM0 unassigned YES NVRAM administratively down down

Ethernet0 unassigned YES NVRAM administratively down down

FastEthernet0 unassigned YES unset down down

FastEthernet1 unassigned YES unset down down

FastEthernet2 unassigned YES unset down down

FastEthernet3 unassigned YES unset down down

GigabitEthernet0 unassigned YES NVRAM administratively down down

Vlan1 10.10.10.1 YES NVRAM down down

yourname#conf ter
Enter configuration commands, one per line. End with CNTL/Z.

yourname(config)#wan mode ethernet

% DSL interfaces will be disabled.

yourname(config)#
*Jan 12 14:30:36.971: %CONTROLLER-5-UPDOWN: Controller VDSL 0, changed state to
administratively down
yourname(config)#exit
yourname#conf ter
*Jan 12 14:31:54.055: %SYS-5-CONFIG_I: Configured from console by cisco on conso
le
Enter configuration commands, one per line. End with CNTL/Z.
yourname(config)#inter
yourname(config)#interface GigabitEthernet0
yourname(config-if)#ip address 10.33.5.138 255.255.255.252
yourname(config-if)#no shutdown
yourname(config-if)#
*Jan 12 14:33:55.691: %LINK-3-UPDOWN: Interface GigabitEthernet0, changed state
to down
*Jan 12 14:33:57.703: %LINK-3-UPDOWN: Interface GigabitEthernet0, changed state
to up
*Jan 12 14:33:58.703: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEth
ernet0, changed state to up
yourname(config-if)#exit
yourname(config)#ip route 0.0.0.0 0.0.0.0 10.33.5.137
yourname(config)#password telecom
^
% Invalid input detected at '^' marker.

yourname(config)#line vty 0 4
yourname(config-line)#password telecom
yourname(config-line)#login
yourname(config-line)#do wr
Building configuration...
[OK]
yourname(config-line)#exit
yourname(config)#enable secret telecom
yourname(config)#login
% Incomplete command.
yourname(config)#no access-list 23 permit 10.10.10.0 0.0.0.7
yourname(config)#do wr
Building configuration...
[OK]
yourname(config)#exit
yourname#

*Jan 12 14:39:07.367: %SYS-5-CONFIG_I: Configured from console by cisco on conso


le
yourname#show ru
yourname#show running-config
Building configuration...
Current configuration : 5108 bytes
!
! Last configuration change at 14:39:07 UTC Thu Jan 12 2017 by cisco
version 15.1
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname yourname
!
boot-start-marker
boot-end-marker
!
!
logging buffered 51200 warnings
enable secret 4 k4xUQsZyLcJy2ft01cbK6KDZgCQn3x0akorHHSlLkRQ
!
no aaa new-model
wan mode ethernet
no ipv6 cef
ip source-route
ip cef
!
!
!
ip dhcp excluded-address 10.10.10.1
!
ip dhcp pool ccp-pool
import all
network 10.10.10.0 255.255.255.248
default-router 10.10.10.1
lease 0 2
!
!
no ip domain lookup
ip domain name yourdomain.com
!
crypto pki token default removal timeout 0
!
crypto pki trustpoint TP-self-signed-2383227088
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2383227088
revocation-check none
rsakeypair TP-self-signed-2383227088
!
!
crypto pki certificate chain TP-self-signed-2383227088
certificate self-signed 01
3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 32333833 32323730 3838301E 170D3132 31313237 31393339
30305A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 33383332
32373038 3830819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100BFAD A0E9A030 7970F5AF D87FE22D DB6ECA96 17B0A0F8 5D0EED33 D6DDDC07
67A43CC9 60A283CF F3D5A0A3 3F925B3D 5216DA6F E4B92A9D C117EA74 325BC6DF
C70C92FB B1EDAD9D 4A98BCA9 811C0933 1948D2B1 B1D343A8 B03FF618 C42BF5A3
13C01B92 273B4CCC E00F06D1 CAD4F5C1 D52F1FB7 8FA1FDFF B667052E 94B4AF74
D9470203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
551D2304 18301680 145B3981 E4741FF0 A0AC646C D9B914AB 8FA3ECA0 EC301D06
03551D0E 04160414 5B3981E4 741FF0A0 AC646CD9 B914AB8F A3ECA0EC 300D0609
2A864886 F70D0101 05050003 818100B0 930C6414 1391A5EF 8F53FE94 1C586604
A8430AA0 4242A40F 6F477E13 D8A3882C B8BEAC84 B1D2CA1D C09BAC10 CE310656
D6666B61 E71963AC 22F13EA2 30C23DE6 DC6FC7CA D02A89AF 08CFB129 D07CADBE
CEC43E6D 90422575 DA39D932 B8123FFC 71A069E8 5A12EF9F F8E0FBA9 FEEB6271
AD0DC2AD FFF436FE 4EA6E997 4099B4
quit
!
!
!
!
controller VDSL 0
shutdown
!
!
!
!
!
interface ATM0
no ip address
shutdown
no atm ilmi-keepalive
!
interface Ethernet0
no ip address
shutdown
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface GigabitEthernet0
ip address 10.33.5.138 255.255.255.252
duplex auto
speed auto
!
interface Vlan1
description $ETH-SW-LAUNCH$$INTF-INFO-HWIC 4ESW$
ip address 10.10.10.1 255.255.255.248
ip tcp adjust-mss 1452
!
ip forward-protocol nd
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
ip route 0.0.0.0 0.0.0.0 10.33.5.137
!
access-list 23 permit 10.10.10.0 0.0.0.7
!
no cdp run
!
control-plane
!
banner exec ^C
% Password expiration warning.
-----------------------------------------------------------------------

Cisco Configuration Professional (Cisco CP) is installed on this device


and it provides the default username "cisco" for one-time use. If you have
already used the username "cisco" to login to the router and your IOS image
supports the "one-time" user option, then this username has already expired.
You will not be able to login to the router with this username after you exit
this session.

It is strongly suggested that you create a new username with a privilege level
of 15 using the following command.

username <myuser> privilege 15 secret 0 <mypassword>

Replace <myuser> and <mypassword> with the username and password you
want to use.

-----------------------------------------------------------------------
^C
banner login ^C
-----------------------------------------------------------------------
Cisco Configuration Professional (Cisco CP) is installed on this device.
This feature requires the one-time use of the username "cisco" with the
password "cisco". These default credentials have a privilege level of 15.

YOU MUST USE CISCO CP or the CISCO IOS CLI TO CHANGE THESE
PUBLICLY-KNOWN CREDENTIALS

Here are the Cisco IOS commands.

username <myuser> privilege 15 secret 0 <mypassword>


no username cisco

Replace <myuser> and <mypassword> with the username and password you want
to use.

IF YOU DO NOT CHANGE THE PUBLICLY-KNOWN CREDENTIALS, YOU WILL


NOT BE ABLE TO LOG INTO THE DEVICE AGAIN AFTER YOU HAVE LOGGED OFF.

For more information about Cisco CP please follow the instructions in the
QUICK START GUIDE for your router or go to http://www.cisco.com/go/ciscocp
-----------------------------------------------------------------------
^C
!
line con 0
login local
no modem enable
line aux 0
line vty 0 4
access-class 23 in
privilege level 15
password telecom
login
transport input telnet ssh
!
scheduler allocate 60000 1000
end

yourname#conf te
yourname#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
yourname(config)#exit ip access-list 23 permit 10.10.10.0 0.0.0.7
^
% Invalid input detected at '^' marker.

yourname(config)#no access-list 23 permit 10.10.10.0 0.0.0.7


yourname(config)#line vty 04
yourname(config-line)#
*Jan 12 14:51:16.771: %SYS-5-CONFIG_I: Configured from console by vty0 (10.9.9.4
5)
*Jan 12 14:52:32.895: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback50
0, changed state to up

You might also like