This post is more than 5 years old
3 Posts
0
11780
August 17th, 2017 08:00
Cannot ping interfaces after configuring uplinks as trunks.
I have a number of n2048p and am having the same issue so it's clearly something I'm doing/not doing.
I have 2 laptop's connected to a switch and running constant pings between them. I create the vlan, give the vlan int an IP address and add the switch ports to the access vlan. I can now also ping the vlan interface from both laptops.
So far so good.
I now set the uplinks as trunk interfaces and everything stops working. The laptops can't ping each other or the vlan int.
Reset the uplinks back to access ports and it all works again.
No Events found!



tobyjosh
3 Posts
1
August 18th, 2017 08:00
with the command
#spanning-tree vlan 400
everything works
without that command #show spanning-tree shows the ports as forwarding even though I can't ping between the laptops. I'm guessing that this output refers to vlan 1 and the ports are in vlan 400 although why changing the uplink to a trunk would do this baffles me.
To be honest I know what to look out for, check the logs and check spanning-tree.
tobyjosh
3 Posts
0
August 18th, 2017 03:00
The N2048's are connected to a S4048 which I haven't configured yet.
The config is very basic at the moment,
#vlan 400
#int vlan 400
#ip address x.x.x.x x.x.x.x
#int range ge 1/0/1-48
#spanning-tree portfast
#switchport access vlan 400
#int range te 1/1-2
#switchport mode trunk
The show int didn't help however from the log it appears to be spanning tree that's disabling the gig port that one of the laptops is connected to;
<189> Aug 18 16:28:30 NQ_Gnd_Sw1-1 TRAPMGR[trapTask]: traputil.c(721) 3109 %% Gi1/0/3 is transitioned from the Learning state to the Forwarding state in instance 0
<189> Aug 18 16:28:27 NQ_Gnd_Sw1-1 TRAPMGR[trapTask]: traputil.c(721) 3106 %% Gi1/0/3 is transitioned from the Forwarding state to the Blocking state in instance 0
<189> Aug 18 16:28:27 NQ_Gnd_Sw1-1 TRAPMGR[trapTask]: traputil.c(721) 3105 %% Link Up: Gi1/0/3
<190> Aug 18 16:27:01 NQ_Gnd_Sw1-1 CLI_WEB[emWeb]: cmd_logger_api.c(260) 3103 %% [CLI:----:EIA-232] User ---- logged in to enable mode.
<189> Aug 18 16:26:55 NQ_Gnd_Sw1-1 TRAPMGR[trapTask]: traputil.c(721) 3101 %% Session 1 of type 1 started for user ---- connected from EIA-232.
<189> Aug 18 16:26:36 NQ_Gnd_Sw1-1 TRAPMGR[trapTask]: traputil.c(721) 3098 %% Gi1/0/1 is transitioned from the Learning state to the Forwarding state in instance 0
<189> Aug 18 16:26:33 NQ_Gnd_Sw1-1 TRAPMGR[trapTask]: traputil.c(721) 3097 %% Gi1/0/1 is transitioned from the Forwarding state to the Blocking state in instance 0
<189> Aug 18 16:26:33 NQ_Gnd_Sw1-1 TRAPMGR[trapTask]: traputil.c(721) 3096 %% Link Up: Gi1/0/1
<189> Aug 18 16:26:30 NQ_Gnd_Sw1-1 TRAPMGR[trapTask]: traputil.c(721) 3094 %% Gi1/0/1 is transitioned from the Forwarding state to the Blocking state in instance 0
<189> Aug 18 16:26:30 NQ_Gnd_Sw1-1 TRAPMGR[trapTask]: traputil.c(721) 3093 %% Link on Gi1/0/1 is failed
<189> Aug 18 16:26:30 NQ_Gnd_Sw1-1 TRAPMGR[trapTask]: traputil.c(721) 3092 %% Link Down: Gi1/0/1
#show spanning-tree vlan 400
neither PVST or RAPID PVST instance exists for this vlan
so why was the port being disabled?
I've set spanning-tree mode to rapid-pvst which is now working.