cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
623
Views
0
Helpful
4
Replies

Unable to ping or connect to switch while attempting to configure

ITAdmin777
Level 1
Level 1

Hi community,

To make a long story short, I am attempting to configure a switch that I will need to deploy in one of our remote sites.  ,I set it up the same as the other switches in that same remote site,  so before running out to the site which is 50 miles away, I am testing at head office therefore I changed some config as seen below. (See text in bold

My problem is,  I am  unable to ping or putty into switch while connecting a laptop on the same switch using Gi/1/0/1.  My Laptop has the following config for testing:

10.1.38.71

255.255.255.0

10.1.38.1

I can use console cable but that defeats the purpose of testing connectivity via the LAN /IP.

The other ports are all on a diff vlans so to cut down the clutter in this post, I am only showing Gi1/0/1 for this purpose.

Can anyone please peruse over my config to see why I can not ping interface Vlan111 ip address 10.1.38.74 255.255.255.0

Once I know I can ping and connect with laptop,  I will change the config (text in bold) to the appropriate IP's etc for the remote site and run it out there..

Hope my question is clear!  Thanks in advance.

! No configuration change since last restart
! NVRAM config last updated at 19:29:22 CST Tue Mar 29 2011
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime localtime
service password-encryption
!
hostname NYKEAST04
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$mBep$esVKkdRWNgOustXHSnqnv1
!
username super_cadmin privilege 15 secret 5 $1$35k2$ILiQEWUbDrgMruXnIhgIx/
aaa new-model
!
!
aaa authentication login default group radius local
aaa authorization exec default group radius local
aaa accounting delay-start
aaa accounting exec default start-stop group radius
!
!
!
!
!
!
aaa session-id common
clock timezone CST -6 0
switch 1 provision ws-c3750e-24pd
system mtu routing 1500
authentication mac-move permit
!
!
no ip domain-lookup
ip domain-name wrightway.com
ip name-server 10.1.120.69
ip name-server 10.1.120.79
vtp domain sgc
vtp mode transparent
!
no setup express
!
crypto pki trustpoint TP-self-signed-1243608064
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1243608064
revocation-check none
rsakeypair TP-self-signed-1243608064
!
!
crypto pki certificate chain TP-self-signed-1243608064
certificate self-signed 01
3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 31323433 36303830 3634301E 170D3131 30333330 30313239
32325A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 32343336
30383036 3430819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100E028 91D44E59 E866C202 523220D8 5F87CF9B 040CC2A7 465AE693 A3E2FD8A
19F40D16 77AEB049 279AC12D A1EAD3C6 AC7E8C2E 3A7353CC 234EE23E A25DECFC
1A4C4AA3 40513B8A 3304FED7 D656BD93 50CB6DFD 8F1FBD9C DD8963EF F4922A2E
04ECD222 777390C2 8E4AD16B EA4D6B5C 34E4730B 8118C4A4 F1121615 77207875
28350203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
551D2304 18301680 146FD5FA 925F5707 F396BCAB 00E48C20 78EB4A0C 0D301D06
03551D0E 04160414 6FD5FA92 5F5707F3 96BCAB00 E48C2078 EB4A0C0D 300D0609
2A864886 F70D0101 05050003 8181000B 9542D154 ECECA07E 5204F681 6043031B
548DE185 862FEF85 3A3E922D 21F6CEAA F30C5910 5137E0E6 9098667F 27F4D8D8
DB2704A1 53D0DDFA ADA4C05E CC796BA2 5F0977FF 4B0D82B8 2DC69FFF DAF4128A
13F5C65D 963CD770 85F7C26D D3545B59 F572C4C6 C4DE865A BCBC34D1 9ECFE51C
4BA6391B D6E95502 1A976698 D985DA
quit
archive
path ftp://10.1.120.99/$h-config-$t
write-memory
time-period 10080
!
spanning-tree mode rapid-pvst
spanning-tree portfast bpduguard default
spanning-tree extend system-id
!
!
!
!
!
errdisable recovery cause bpduguard
errdisable recovery interval 400
!
!
!
!
vlan internal allocation policy ascending
!
vlan 111,250,350 
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0
no ip address
!
interface GigabitEthernet1/0/1
switchport access 
switchport mode access
switchport nonegotiate
spanning-tree portfast
!

!

!
interface GigabitEthernet1/0/25
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/26
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/27
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!
interface GigabitEthernet1/0/28
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
!

!
interface Vlan1
no ip address
no ip route-cache
no ip mroute-cache
shutdown
!
interface Vlan111
ip address 10.1.38.74 255.255.255.0
!
ip default-gateway 10.1.38.1
ip http server
ip http authentication aaa
ip http secure-server
!
!
ip sla enable reaction-alerts
logging trap notifications
logging host 10.1.0.143
!
snmp-server community wqerfcdRAra RO
snmp-server community YufrtdbgEPa7 RW
snmp-server location Remote site 1
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps tty
snmp-server enable traps cluster
snmp-server enable traps config
snmp-server enable traps entity
snmp-server enable traps cpu threshold
snmp-server enable traps bridge newroot topologychange
snmp-server enable traps stpx inconsistency root-inconsistency loop-inconsistency
snmp-server enable traps syslog
snmp-server enable traps vtp
snmp-server enable traps vlancreate
snmp-server enable traps vlandelete
snmp-server enable traps flash insertion removal
snmp-server enable traps port-security
snmp-server enable traps envmon fan shutdown supply temperature status
snmp-server enable traps vlan-membership
snmp-server host 10.1.37.2 version 2c Br2HSwaqA 
!
radius-server host 10.1.130.64 key 7 073720145B0B0C263F071F
!
!
banner exec ^CC *** Unauthorized Access is Strictly Prohibited *** ^C
banner incoming ^CC *** Unauthorized Access is Strictly Prohibited *** ^C
banner motd ^CC This System belongs to NYKEAST04
and may only be used by Authorized Personnel
in accordance with the Corporations IT usage policy (HR-713).
Continuing signifies your acceptance of these terms.
Unauthorized access or use of this computer system
may subject violators to criminal,civil or
administrative action. ^C
!
line con 0
line vty 0 4
transport input ssh
line vty 5 15
transport input ssh
!
ntp server 10.227.48.132 prefer
ntp server 10.227.48.133
end

2 Accepted Solutions

Accepted Solutions

Swamy Cheluvanarayana
Cisco Employee
Cisco Employee

Hello,

I see you are trying to ping vlan 111, and your port configuration is on vlan 1. Configure "switchport access vlan 111" under the interface and share the results.

!
interface GigabitEthernet1/0/1
switchport access 
switchport mode access
switchport nonegotiate
spanning-tree portfast
!

Thanks & Regards,

        Swamy

View solution in original post

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Under interface g1/0/1 you are missing this command

switchport access vlan 111

add and test again.

HTH

View solution in original post

4 Replies 4

Swamy Cheluvanarayana
Cisco Employee
Cisco Employee

Hello,

I see you are trying to ping vlan 111, and your port configuration is on vlan 1. Configure "switchport access vlan 111" under the interface and share the results.

!
interface GigabitEthernet1/0/1
switchport access 
switchport mode access
switchport nonegotiate
spanning-tree portfast
!

Thanks & Regards,

        Swamy

Thanks for your prompt response.  Should have seen that.  All is working!

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Under interface g1/0/1 you are missing this command

switchport access vlan 111

add and test again.

HTH

Thank you for the feedback...that did the trick!....sometimes the obvious is not so obvious!  : )

Review Cisco Networking for a $25 gift card