10-01-2016 05:40 AM - edited 03-08-2019 07:38 AM
Hello, i have this camera: DAHUA IPCHDBW1200EW28 with IP 10.21.33.150, when i conect it to my laptop i reach the IP Camera perfectly well , but when i connect to a C 2960x port i cant reach, i am in the same vlan.
there is not ip conflic, to enshure i changed the ip of camera about four times.
its very strange, i am ccna
regards
some command output
Switch#show mac address-table address 4c11.bfe3.baf0 (mac of my camera)
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
23 4c11.bfe3.baf0 DYNAMIC Gi1/0/21
Total Mac Addresses for this criterion: 1
this is OK
Switch#sh interfaces gigabitEthernet 1/0/21
GigabitEthernet1/0/21 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet, address is 38ed.1838.7195 (bia 38ed.1838.7195)
Description: *** CCTV ***
MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is 10/100/1000BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 2000 bits/sec, 5 packets/sec
7341233956 packets input, 514823271306 bytes, 0 no buffer
Received 718908 broadcasts (526200 multicasts)
0 runts, 0 giants, 0 throttles
1 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 526200 multicast, 0 pause input
0 input packets with dribble condition detected
14304582968 packets output, 19192168975032 bytes, 0 underruns
0 output errors, 0 collisions, 2 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 pause output
0 output buffer failures, 0 output buffers swapped out
Switch#show interfaces status
Port Name Status Vlan Duplex Speed Type
Gi1/0/1 *** CCTV *** notconnect 23 auto auto 10/100/1000BaseTX
Gi1/0/2 *** CCTV *** connected 23 a-full a-100 10/100/1000BaseTX (this is my computer)
Gi1/0/3 *** CCTV *** connected 23 a-full a-100 10/100/1000BaseTX
Gi1/0/4 *** CCTV *** connected 23 a-full a-100 10/100/1000BaseTX
Gi1/0/5 *** CCTV *** notconnect 23 auto auto 10/100/1000BaseTX
Gi1/0/6 *** CCTV *** connected 23 a-full a-100 10/100/1000BaseTX
Gi1/0/7 *** CCTV *** connected 23 a-full a-100 10/100/1000BaseTX
Gi1/0/8 *** CCTV *** connected 23 a-full a-100 10/100/1000BaseTX
Gi1/0/9 *** CCTV *** connected 23 a-full a-100 10/100/1000BaseTX
Gi1/0/10 *** CCTV *** connected 23 a-full a-100 10/100/1000BaseTX
Gi1/0/11 *** CCTV *** connected 23 a-full a-100 10/100/1000BaseTX
Port Name Status Vlan Duplex Speed Type
Gi1/0/12 *** CCTV *** connected 23 a-full a-100 10/100/1000BaseTX
Gi1/0/13 *** CCTV *** connected 23 a-full a-1000 10/100/1000BaseTX
Gi1/0/14 *** CCTV *** connected 23 a-full a-1000 10/100/1000BaseTX
Gi1/0/15 *** CCTV *** connected 23 a-full a-100 10/100/1000BaseTX
Gi1/0/16 *** CCTV *** connected 23 a-full a-1000 10/100/1000BaseTX
Gi1/0/17 *** CCTV *** connected 23 a-full a-1000 10/100/1000BaseTX
Gi1/0/18 *** CCTV *** connected 23 a-full a-1000 10/100/1000BaseTX
Gi1/0/19 *** CCTV *** connected 23 a-full a-100 10/100/1000BaseTX
Gi1/0/20 *** CCTV *** notconnect 23 auto auto 10/100/1000BaseTX
Gi1/0/21 *** CCTV *** connected 23 a-full a-100 10/100/1000BaseTX
Gi1/0/22 *** CCTV *** notconnect 23 auto auto 10/100/1000BaseTX
Gi1/0/23 *** OPER ** notconnect 12 auto auto 10/100/1000BaseTX
Port Name Status Vlan Duplex Speed Type
Gi1/0/24 *** OPER ** notconnect 12 auto auto 10/100/1000BaseTX
Gi1/0/25 notconnect 1 auto auto Not Present
Gi1/0/26 notconnect 1 auto auto Not Present
Gi1/0/27 *** UpLink *** connected trunk a-full a-1000 1000BaseLX SFP
Gi1/0/28 *** UpLink *** connected trunk a-full a-1000 1000BaseLX SFP
Po1 connected trunk a-full a-1000
Fa0 disabled routed auto auto 10/100BaseTX
Switch#sh run interface gigabitEthernet 1/0/21
Building configuration...
Current configuration : 140 bytes
!
interface GigabitEthernet1/0/21
description *** CCTV ***
switchport access vlan 23
switchport mode access
spanning-tree portfast
end
Switch#sh version
Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.0(2a)EX5, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2015 by Cisco Systems, Inc.
Compiled Mon 16-Feb-15 08:16 by prod_rel_team
ROM: Bootstrap program is C2960X boot loader
BOOTLDR: C2960X Boot Loader (C2960X-HBOOT-M) Version 15.2(2r)E1, RELEASE SOFTWARE (fc1)
SwSeguridad uptime is 7 weeks, 1 day, 11 hours, 7 minutes
System returned to ROM by power-on
System restarted at 07:22:57 MX Tue Aug 9 2016
System image file is "flash:/c2960x-universalk9-mz.150-2a.EX5/c2960x-universalk9-mz.150-2a.EX5.bin"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
cisco WS-C2960X-24PS-L (APM86XXX) processor (revision G0) with 524288K bytes of memory.
Processor board ID FCW1926B3G4
Last reset from power-on
2 Virtual Ethernet interfaces
1 FastEthernet interface
28 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 38:ED:18:38:77:80
Motherboard assembly number : 73-15977-02
Power supply part number : 341-0528-01
Motherboard serial number : FOC19270R77
Power supply serial number : LIT19197AM7
Model revision number : G0
Motherboard revision number : C0
Model number : WS-C2960X-24PS-L
Daughterboard assembly number : 73-17700-03
Daughterboard serial number : FOC19771PVB
System serial number : FCW1977B3G4
Top Assembly Part Number : 800-41469-01
Top Assembly Revision Number : D0
Version ID : V02
CLEI Code Number : CMMLR00ARB
Daughterboard revision number : A0
Hardware Board Revision Number : 0x12
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 28 WS-C2960X-24PS-L 15.0(2a)EX5 C2960X-UNIVERSALK9-M
Configuration register is 0xF
10-01-2016 05:51 AM
Some basic stuff...
1. Are the camera and your PC both getting green lights on the switchports?
2. What's the full IP / mask / g/w of the camera
3. What's the IP Mask gw of your PC?
4. Are there any ACL's at all on the switch?
5. Can you show the configuration of at least the PC and camera port on the switch?
10-01-2016 08:58 AM
Hello pwwiddicombe thank you for help me
1. Are the camera and your PC both getting green lights on the switchports?
Answers: Yes
2. What's the full IP / mask / g/w of the camera
Answers: 10.21.33.150 / 255.255.255.0 / 10.21.33.1 (but i don t need gw for this)
3. What's the IP Mask gw of your PC?
Answers: 10.21.33.152 / 255.255.255.0 / 10.21.33.1
4. Are there any ACL's at all on the switch?
Answers: No
5. Can you show the configuration of at least the PC and camera port on the switch?
i am outside now, but consider i reach camera connected directly to my PC and not trought the switch, i think switch is blocking some traffic camera use, i have change the port, cameras vivoteck work well, i have access remotely to switch.
with show interface output do you think is posible an wire interference, or other phisical error?
Regards
10-01-2016 04:44 PM
Last input never, output 00:00:00, output hang never
Have you tried to reboot the camera? Output highlighted above shows the camera refusing to talk to the switch.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide