Solved

Cisco Catalyst switch - Keep VLAN UP

Posted on 2014-11-20
21
440 Views
Last Modified: 2014-11-30
I have a Cisco 3750X switch. I am configuring layer 3 SVIs and I do not have access to the device to physically connect devices. I want to put the devices in UP/UP state. I beleive there's a way to do this with VLAN State active or some other command. Does anyone know the configuration needed so I can fully configure and test ping on SVIs?
0
Comment
Question by:jbla9028
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 4
  • 4
  • +2
21 Comments
 
LVL 30

Expert Comment

by:Predrag
ID: 40455291
This should work.
Add interface to your VLANs and under interface issue no keepalive. Port should come up, so VLAN too.
0
 
LVL 29

Expert Comment

by:Jan Springer
ID: 40455350
have you tried putting the one of the physical interfaces of that vlan into loopback mode?
0
 
LVL 1

Author Comment

by:jbla9028
ID: 40455666
I have not. how do I do that?
0
Don't Miss ATEN at InfoComm 2017!

Visit booth #2167 to see the  new ATEN VM3200 32 x 32 Modular Matrix Switch. Other highlights include the VE8950 4K HDMI Over IP Extender, VS1912 12-Port DP Video Wall Media Player  and VK2100 ATEN Control System. Register now with Free Pass Code ATEN288!

 
LVL 29

Expert Comment

by:Jan Springer
ID: 40455684
take an rj45 loop connector and plug it into the interface.

the pinouts should be 1 to 3 and 2 to 6.
0
 
LVL 1

Author Comment

by:jbla9028
ID: 40455701
Jan, thank you but I do not have physical access to the device for a few weeks. I thought there was another way that could be done via CLI to set the SVI into UP/UP.  on a router its called no autostate. That command however is only available on Cisco routers.



http://packetlife.net/blog/2009/nov/9/svi-autostate/
0
 
LVL 29

Expert Comment

by:Jan Springer
ID: 40455708
some router interfaces can be soft forced into loopback but i don't see where the 3750 interfaces can do this.
0
 
LVL 30

Expert Comment

by:Predrag
ID: 40455844
Did you tried to add VLAN to trunk (and check is really VLAN created, just in case, I know it should, but...)?
switchport trunk allowed vlan add xx

If SVI exist on switch, you should add 1 port to forwarding state and adding VLAN to trunk could do that.
I just checked, it worked in GNS3, but on a real switch, who knows. :)
0
 
LVL 29

Expert Comment

by:Jan Springer
ID: 40455856
at least one physical interface passing that vlan has to be up/up before the vlan can come up/up.
0
 
LVL 30

Expert Comment

by:Predrag
ID: 40455876
Is there anything connected to switch? Or there's no nothing at all attached to switch, not on a single port?
0
 
LVL 29

Expert Comment

by:Jan Springer
ID: 40455881
you can't have just any port.  the switch has to have a vlan connected port in up/up or that vlan being passed and recognized across a trunked interface for the vlan interface to be up/up.
0
 
LVL 30

Expert Comment

by:Predrag
ID: 40455905
Yes that's right (I forget that I have already did something on config - my suggestion don't work), but how author is connected to switch? Out of band?
0
 
LVL 29

Expert Comment

by:Jan Springer
ID: 40455909
yes and a software loop doesn't appear to be an option.
0
 
LVL 1

Author Comment

by:jbla9028
ID: 40455914
I am currently connected to the switch via the console port. No cables are connected to interfaces. It not a critical issue so I will be able to eventually hook up the interface and set interface to trunk all traffic to test. I just figured there had to be some way. It looks like on 4500 switches it works.
0
 
LVL 29

Accepted Solution

by:
Jan Springer earned 167 total points
ID: 40455920
my misunderstanding.  i thought you wouldn't have physical access for a few weeks.  this is a good opportunity to create a loopback rj45 connector.
0
 
LVL 46

Assisted Solution

by:Craig Beck
Craig Beck earned 166 total points
ID: 40456510
I don't think you can do this on a switch.  For a SVI to be UP/UP at least one port must be in the STP forwarding state.  If you issue the no keepalive command on a port it will itself be UP/UP, but STP will not be forwarding on that port, so the SVI will stay UP/DOWN.  You don't need a port to be in a trunk though - it can be an access port.

Why, if you don't have any devices connected to the VLAN, do you want the SVI to be UP anyway?
0
 
LVL 32

Assisted Solution

by:aleghart
aleghart earned 167 total points
ID: 40456542
IIRC, if the SVI is down, then you can't use that IP address for telnet/ssh/http access to the switch.

Is this 3750 trunked to another switch?  Put the same VLAN on another switch and the trunk.  Give the second switch an IP address on that VLAN.

That should get the two switches talking to each other, wouldn't it?
0
 
LVL 46

Expert Comment

by:Craig Beck
ID: 40456833
@aleghart - that's correct, although the switch is already reachable remotely via IP so I don't imagine the requirement is simply to telnet/SSH to the switch using a different IP.
0
 
LVL 32

Expert Comment

by:aleghart
ID: 40457034
Sometimes, you remove the IP that's in the user LAN, and use only a management VLAN for access.  Makes it easy to limit access to the management interfaces, and helps lock down in a WAN environment where many subnets are routed to other sites.

Site A user LAN subnet can see Site B's user LAN subnet, but not the management subnet.
0
 
LVL 46

Expert Comment

by:Craig Beck
ID: 40457155
I know that, but access to switch via WAN is up obviously so no management access via user LAN is in effect at the moment.
0
 
LVL 1

Author Closing Comment

by:jbla9028
ID: 40472828
unfortunately none of these worked. I ended up getting interfaces setup and the IPs came up. Thank you for the help though.
0
 
LVL 46

Expert Comment

by:Craig Beck
ID: 40472829
You should ask for the question to be deleted then, instead of picking an incorrect answer.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question