11-29-2013 02:45 PM - edited 03-07-2019 04:51 PM
Hi Everyone,
I connected two switches together via below config
Switch A
int gi0/1
switch mode access
switchport access vlan 10
Switch B
int gi0/1
switch mode access
switchport access vlan 10
They work fine with above config.
I did the Test below
However when i changed Config of Switch B as below
int gi0/1
switch mode access
switchport access vlan 10
switchport port-security
Switch B is unable to ping its default gateway.
Also Switch B is not reachable via SSH.
Port is up up and in STP forwarding state.
Switch B can see Switch A as a neighbour.
Also Switch B is not reachable via SSH.
I know that switchport port-security we use only when connecting to PC.
S does this mean that on above scenario layer 1 and layer 2 are up but layers beyond 3 and above are not reachable like ping,ssh etc??
Regards
MAhesh
Solved! Go to Solution.
11-29-2013 08:19 PM
I was just trying to see how the switches behave with this config.
Nothing much just exploring the options in the network world
Ideally if you want to connect two switches together in Layer 2, Dot1Q trunking is the way to go. You do not want to put port security because it is useless.
11-29-2013 03:06 PM
Mahesh,
Why do you want to enable port security on a switch-to-switch link?
11-29-2013 08:16 PM
Hi Leo,
I was just trying to see how the switches behave with this config.
Nothing much just exploring the options in the network world
Regards
Mahesh
11-29-2013 08:19 PM
I was just trying to see how the switches behave with this config.
Nothing much just exploring the options in the network world
Ideally if you want to connect two switches together in Layer 2, Dot1Q trunking is the way to go. You do not want to put port security because it is useless.
11-30-2013 07:21 AM
So seems there is no use to try this experiment.
Regards
Mahesh
11-30-2013 07:00 PM
I disagree, Mahesh.
You learnt something from all of this, didn't you? If you don't try and "experiment" things, then you won't learn. You learn from your mistakes. Now THAT means a lot.
Sent from Cisco Technical Support Nintendo App
11-30-2013 07:34 PM
Hi Leo,
yes you are right if i see broader picture i learn something from this.
I agree with what you said.
Regards
MAhesh
11-30-2013 07:00 PM
Thanks for the ratings, Mahesh.
Sent from Cisco Technical Support Nintendo App
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