12-31-2015 06:06 AM - edited 03-08-2019 03:15 AM
Hi Team,
I asssume this is the correct community to post in
I run the management command whilst in vlan 3
Now I have lost access to the switch as I believe the switch automatically takes the ip address off vlan 1 (default) and places the ip address on the vlan you are accessing.
Can this be reversed as it appears I have now lost access to the switch.
The link I used is:
http://www.cisco.com/c/en/us/support/docs/lan-switching/vlan/10023-3.html#createvlans2
Halfway down is a heading of
Under point 4 is a note re management command
Solved! Go to Solution.
12-31-2015 02:35 PM
John,
If you have changed the vlan/IP and the device is not reachable any more, you have to console to the switch and change it back to what it was before, or if you want to change it to a different vlan/IP segment you can do the same using console, but you have to make sure the new vlan is added to the trunk port (uplink port) of the switch, so you can get to it remotely.
If you don't comfortable with changing it to a different vlan, than the easiest thing to do is to change it back to what it was before.
HTH
12-31-2015 08:14 AM
Hi John,
The switch is a layer-2 switch and so you can only have one SVI with layer-3 IP on the switch.
By default the management vlan is vlan 1, but you can change it to another vlan (2 or 3, etc..)
So, since the switch can only have one SVI with IP, as soon as you create a new vlan with a new IP the old IP will be removed.
Note: You can assign the ports of a Layer 2 Catalyst Switch to multiple VLANs, but the switch only supports one active management VLAN interface at a time and other switched virtual interfaces (SVIs) do not up/up because of Layer 2 functionality. Therefore, the switch supports only one active management Layer 3 address. On a Layer 2 Catalyst Switch, you can issue the optional management command under the new SVI in order to automatically shut down VLAN 1 and transfer the IP address to the new VLAN.
HTH
12-31-2015 02:28 PM
Thanks reza but how do I access the switch again
12-31-2015 02:35 PM
John,
If you have changed the vlan/IP and the device is not reachable any more, you have to console to the switch and change it back to what it was before, or if you want to change it to a different vlan/IP segment you can do the same using console, but you have to make sure the new vlan is added to the trunk port (uplink port) of the switch, so you can get to it remotely.
If you don't comfortable with changing it to a different vlan, than the easiest thing to do is to change it back to what it was before.
HTH
12-31-2015 03:33 PM
Thanks Reza,
Will try that and let you know. Sorry for late reply.
01-01-2016 05:24 AM
So I just have to connect to vlan 1. run the management command under this vlan (to re-link the ip address back to default under vlan 1) and connect to it via telnet again..
01-01-2016 09:33 AM
Just login to the switch and go to vlan 1 SVI and put whatever IP address was on when it was working.
Example:
config t
inter valn 1
ip address 10.10.10.1 255.255.255.0
no sh
exit
exit
now save the config
wr
and now to try to telnet back to the switch remotely.
HTH
01-02-2016 04:14 AM
I have just one more question if I can.
How does CUCM see hardware modules on a router or is it just application?
01-02-2016 04:11 AM
Thanks Reza again. Double kudos. This worked. Sorry for late reply again.
01-01-2016 06:05 PM
hi
all you have to do is reload the switch, because you lost contact before you could write the config , if you reload it will come back up with your original settings.
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