cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1845
Views
0
Helpful
5
Replies

cannot access my switch through telnet

Abdulkhan123
Level 1
Level 1

I want to access my switch from my office through telnet but i cannot below check the configuration please check what should i do to access it back 

 


RSK-CTRBUD-AS01(config)#exit
RSK-CTRBUD-AS01#sh
Oct 24 11:20:55.619: %SYS-5-CONFIG_I: Configured from console by admin on console
RSK-CTRBUD-AS01#sh run
Building configuration...

Current configuration : 7943 bytes
!
! Last configuration change at 11:20:55 UTC Wed Oct 24 2018 by admin
! NVRAM config last updated at 10:50:28 UTC Wed Oct 24 2018 by admin
!
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname RSK-CTRBUD-AS01
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$h1Aa$eRhnZNZIMrsfeM4szODRi.
!
username admin privilege 15 secret 5 $1$8Ik9$XONVbdEEKdb7mQFpPFAZY0
aaa new-model
!
!
aaa authentication login default local
!
!
!
!
!
!
aaa session-id common
switch 1 provision ws-c2960x-24ps-l
!
!
ip domain-name swcc.gov.sa
vtp domain swcc.gov.sa
vtp mode transparent
!
!
!
!
!
!
!
crypto pki trustpoint TP-self-signed-2067285248
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2067285248
revocation-check none
rsakeypair TP-self-signed-2067285248
!
!
crypto pki certificate chain TP-self-signed-2067285248
certificate self-signed 01
3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 32303637 32383532 3438301E 170D3138 30353233 31343035
35325A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 30363732
38353234 3830819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100C099 C6965C88 6FB89AB7 6DEC2D3B 2293F3FB 1A1A6DB6 549E1B54 0C5A815C
375E8AE6 3216191D 841727FA 297C366B F51262EC E635A827 A336096C 4F920D59
2EF14BE0 E1AC0890 C294AE46 8BF929B8 8646AA71 F6647C7D 653F05B3 EF425DD3
--More--
Oct 24 11:21:03.183: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet1/0/25 (1), with RSK-ELCWSH-DC-DS01.swcc.gov.sa GigabitEthernet1/0/13 ( 3F850AB4 20820206 35FA6A91 6F376DED A2C65DE8 6DC25D59 6327F722 144BBDFF
1C350203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
551D2304 18301680 14008B6E D6F51DE9 C056E025 E8588197 69C84BC9 E6301D06
03551D0E 04160414 008B6ED6 F51DE9C0 56E025E8 58819769 C84BC9E6 300D0609
2A864886 F70D0101 05050003 81810036 3606BD43 EBDA0FEE CD535347 DF4453C9
F8A1C636 554E785C 4890FCD4 795D6567 894D0CAA 9ED88794 199E1903 6A32D927
CDF9FFEB 674274A9 0C7316D9 549B76FF 207C9B91 117572F5 6BDCF1E7 EA5C38FD
489D33C2 85204958 7FFEE502 7EB6483E D759717E 2D0F595E 64FF22F2 BBE9F8C9
9E74CE4F 6066803C 38CF68C2 6E87C8
quit
spanning-tree mode pvst
spanning-tree portfast default
spanning-tree portfast bpduguard default
spanning-tree extend system-id
errdisable recovery cause udld
errdisable recovery cause bpduguard
errdisable recovery cause security-violation
errdisable recovery cause channel-misconfig
errdisable recovery cause pagp-flap
errdisable recovery cause dtp-flap
errdisable recovery cause link-flap
errdisable recovery cause sfp-config-mismatch
errdisable recovery cause gbic-invalid
errdisable recovery cause psecure-violation
errdisable recovery cause port-mode-failure
errdisable recovery cause dhcp-rate-limit
errdisable recovery cause pppoe-ia-rate-limit
errdisable recovery cause mac-limit
errdisable recovery cause vmps
errdisable recovery cause storm-control
errdisable recovery cause inline-power
errdisable recovery cause arp-inspection
errdisable recovery cause loopback
errdisable recovery cause small-frame
errdisable recovery cause psp
errdisable recovery interval 30
!
!
!
!
vlan internal allocation policy ascending
!
vlan 713,1713
!
vlan 2241
name Dispatch_hafarbaten
!
!
!
!
!
!
!
!
!
!
!
interface Port-channel6
description --- To Distribution SW ---
switchport mode trunk
!
interface FastEthernet0
no ip address
shutdown
!
interface GigabitEthernet1/0/1
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/2
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/3
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/4
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/5
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/6
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/7
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/8
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/9
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/10
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/11
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/12
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/13
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/14
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/15
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/16
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/17
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/18
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/19
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/20
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/21
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/22
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/23
switchport access vlan 2241
switchport mode access
!
interface GigabitEthernet1/0/24
switchport access vlan 713
switchport mode access
switchport voice vlan 1713
spanning-tree portfast
!
interface GigabitEthernet1/0/25
description --- Joined Port-channel 6 ---
switchport mode trunk
channel-group 6 mode active
!
interface GigabitEthernet1/0/26
description --- Joined Port-channel 6 ---
switchport mode trunk
channel-group 6 mode active
!
interface GigabitEthernet1/0/27
!
interface GigabitEthernet1/0/28
!
interface Vlan1
no ip address
shutdown
!
interface Vlan700
description Management
ip address 10.75.70.8 255.255.255.0
!
ip default-gateway 10.75.70.1
ip http server
ip http secure-server
!
ip ssh version 2
!
!
!
!
no vstack
banner login ^CCCCCCCCCCC
###################################################
# #
# #### SWCC #### #
# Access restricted to Authorised users only #
# Unauthorised access will result in penalties #
# #
###################################################
^C
!
line con 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
exec-timeout 200 0
privilege level 15
transport input telnet ssh
line vty 5 15
exec-timeout 200 0
privilege level 15
transport input telnet ssh
!
end

RSK-CTRBUD-AS01#

1 Accepted Solution

Accepted Solutions

yes

 

#enable

#configure terminal

#line vty 0 15

#login local

#write

View solution in original post

5 Replies 5

Samer R. Saleem
Level 4
Level 4

try adding this:

#line vty 0 15

#login local

Should i add this through console? On config mode?

yes

 

#enable

#configure terminal

#line vty 0 15

#login local

#write

Ok brother i will tommorw morning and will let you know thanks

Since this use of aaa authentication is already in the configuration

aaa authentication login default local

putting login local under the vty is superfluous and would not be used. 

 

I do not see any evidence that the problem is about authentication. Can the original poster tell us what happens when they attempt to telnet? Is there any prompt? Any messages received about the attempt to connect?

 

Can the original poster give us the output of these commands on the switch

show interface status

show vlan

show interface trunk

show arp (or perhaps show ip arp)

 

I see that the configuration has specified a vlan interface for management as vlan 700. I do not see any configuration that defines the vlan other than the vlan interface. So the output of show vlan will verify whether the switch actually knows about this vlan. And the output of show interface trunk will verify whether this vlan is carried on the trunk.

 

HTH

 

Rick

HTH

Rick
Review Cisco Networking for a $25 gift card