cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1764
Views
0
Helpful
9
Replies

reset the management command in cisco 2900xl switch

John Cheetley
Level 3
Level 3

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

Configure the VLAN on Catalyst 2900XL, 3500XL, 2950, 2970, and 2940 Series Switches

Under point 4 is a note re management command

 

 

 

1 Accepted Solution

Accepted Solutions

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

View solution in original post

9 Replies 9

Reza Sharifi
Hall of Fame
Hall of Fame

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

Thanks reza but how do I access the switch again 

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

Thanks Reza,

Will try that and let you know. Sorry for late reply.

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..

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

I have just one more question if I can.

How does CUCM see hardware modules on a router or is it just application?

Thanks Reza again. Double kudos. This worked. Sorry for late reply again.

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.