cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
19709
Views
11
Helpful
21
Replies

IP is not showing in CDP neighbor detail

vipinrajrc
Level 3
Level 3

Hi Experts,

I have configured a new switch with the following configurations.

int vlan 1 --> no ip address , shutdown

int vlan 55 --> ip address 10.55.55.224 255.255.255.0

                    no shut

All the other switch in the infrastructure is configured with VLAN55 as the default vlan. I am in remote location. On site engg connect this switch to the console of his PC. and i took remote of that. After the configuration he connected to the distribution switch. All the ports in the Distribution switch is trunk. While connecting the new switch to the distribution switch, from cdp information switch's informationis getting. BUT IP ADDRESS is not showing up.

also we didnt get ping/telnet to that ip.

I didnt configure any native vlans in trunk port. all the other swithes are showing with native valn as 1 in trunk information.

And all the other switch's interface vlan 1 was shutdown.

Please suggest a suitable answer........

Thanks

Vipin

Thanks and Regards, Vipin
1 Accepted Solution

Accepted Solutions

the VLAN information has not been downloaded to to the other switches because the layer 2 VLAN is not up, you cannot ping this IP address because there is no layer 2 for this VLAN.

You need to configure layer 2 VLAN for VLAN 55 or you will not establish IP connectivity.

Once you have created the layer 2 VLAN the IP information should appear in CDP.

Please configure layer 2 VLAN as per my previous post;

conf t

vlan 55

exit

write mem

this should resolve your problems.

Please rate post if helpful

View solution in original post

21 Replies 21

Freihafener
Level 1
Level 1

If I understand this right you have only a trunk connection to the new switch, no client is connected? IIRC the virtual vlan interface only comes up when a client is physically connected to an access port on the switch...

Just to clarify. The L3 SVI will come up if -

1) an access port in that vlan with a connected client is up/up as you say

or

2) a trunk link that allows the vlan across it (all vlans allowed by default) is up/up

Jon

Hi,

Thanks for the reply.

It is true that we didn't connect any other nodes/machines to this new switch. Only one trunck port is connected to the distribution switch. We are getting timed out while pinging to the IP of VLAN 55 (10.55.55.224) which is the management VLAN of this new switch.

Are you saying that i need to connect one client to this switch in order to get ping, telnet to this switch ? Also the IP will be seen in CDP neighbour detail only after the client is connecting to this switch ?

Please clarify.

Thanks

Vipin.

Thanks and Regards, Vipin

Vipin

When you ping are you pinging from an IP in vlan 55 ?

Have you set the ip default-gateway on the new switch to point to the L3 SVI for vlan 55 that is on your L3 switch ?

Note, as long as the trunk link is up/up and vlan 55 is allowed on it you do not need to connect a client into vlan 55.

Jon

have you created the L2 VLAN 55?

when you enter "show ip interface brief" does VLAN 55 show as up up

Does "show vlan" display vlan 55?

p.mcgowan
Level 3
Level 3

can you post config of ports that connect both switches

Hi Experts,

Please see attached configuration. And suggest a solution. In distribution switch configuration is same like this, all ports are trunk.

Please check this configuration.


!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname newswitch
!
enable secret 5 $1$rnYA$k56/EG2hb18JrURrmXsv31
!
username aaa password aaa
no aaa new-model
ip subnet-zero
!
ip domain-name XXX.com
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet0/1
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/2
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/3
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/4
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/5
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/6
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/7
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/8
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/9
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/10
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/11
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/12
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/13
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/14
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/15
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/16
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/17
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/18
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/19
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/20
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/21
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/22
switchport access vlan 130
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/23
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/24
switchport mode access
no cdp enable
spanning-tree portfast
spanning-tree bpduguard enable
!
interface GigabitEthernet0/1
switchport mode trunk
!
interface GigabitEthernet0/2
switchport mode trunk
!
interface Vlan1
no ip address
no ip route-cache
Shutdown
!
interface Vlan55
ip address 10.55.55.230 255.255.255.0
no ip route-cache
!
ip http server

!
line con 0
login local
line vty 0 4
login local
transport input telnet
line vty 5 15
login local
transport input telnet
!
end

Thanks

Vipin

Thanks and Regards, Vipin

Vipin

Can you answer questions asked by myself and p.mcgowan ?

Note that the "ip default-gateway x.x.x.x" would point to the IP address of vlan 55 on the distribution switch.

Jon

Hi,

Is it necessary to configure default gateway in access switches? Because there is no default gateway for other access switches.

Also i am getting CDP information as below. i didnt get any IP.

Thanks and Regards, Vipin

you need to make sure you have configured thr layer 2 VLAN.

Can you please post output of show vlan and show ip interface brief

Hi,

Right now i am not having access to this switch.

Thanks,

Vipin

Thanks and Regards, Vipin

It's necessary if you are pinging from a device not in vlan 55. If you are pinging from a device in vlan 55 then no the ip default-gateway would not be needed.

What device are you pinging from and what vlan is it in ?

Jon

Hi Jon,

I am trying to ping to this switch from a switch itself which is in VLAN 55. Is it necessary to connect a client machine in order to access this switch?

Thanks

Vipin

Thanks and Regards, Vipin

CDP does not need a management IP to work - is that a screenshot from the CDP information of the new switch (means that you can see the switch from the other switch now?)?

No, normally you do not need a default gateway on a layer 2 switch. But if you want to access management from another subnet you have to configure it.

Review Cisco Networking products for a $25 gift card