Friday, June 22, 2007

Inactive status in CatOS switches

Question: I connect a server to my old Cisco 5000 (CatOS) switch, when I enable the port it goes to "inactive" mode. I checked the cable and changed the port but it did not help. Is there something wrong with the server NIC?

Answer:

When you see a port in ‘Inactive’ status in a switch running CatOS it is very likely that you have VLAN problems. For instance, if you put a port in VLAN X and that VLAN X is not defined in the switch then the port will go to inactive status.

In order to resolve the issue, first make sure that the VLAN to which the inactive port is assigned to exists or not (mostly not); do this by issuing the following command:

sh vlan

You probably do not see the VLAN in the list, if you want to create the VLAN:

First make sure that the switch is in one of the VTP transparent or server modes,

show vtp domain

Look at the phrase under Local Mode to see in which mode the switch operates.

(For IOS:

show vtp status

Look at the VTP Operating Mode in the out put of the above command to see the VTP mode.)

If your switch is in VTP client mode you should create the VLAN in the VTP domain server switch.

To create the vlan use the following command:

set vlan vlan-number name vlan-name