Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting interface vlan: managed option

Status
Not open for further replies.

Iago77

IS-IT--Management
Joined
Jun 9, 2003
Messages
125
Location
ES
Recently I've configured a Catalyst 2900 XL.

You can only configure an ip address on vlan interface for purposes management only.

I have set three vlan: 1 (default), 2 and 3.

Switch(config)# interface vlan 3
Switch(config)# ip address 192.168.4.213 255.255.254.0

If I do "no shutdown", the interface goes on "administratively down".

According to my startup-config:

!
interface VLAN1
no ip directed-broadcast
no ip route-cache
!
interface VLAN3
ip address 192.168.4.213 255.255.254.0
no ip redirects
no ip directed-broadcast
no ip proxy-arp
no ip route-cache
shutdown
!

Nevertheless, if I run:

Switch(config)# interface vlan 3
Switch(config)# managed

You can do

Switch(config)# no shutdown

and works nice: you can use the ip address of interface vlan 3, but in running-config appears:

!
interface VLAN1
no ip directed-broadcast
no ip route-cache
shutdown
!
interface VLAN3
ip address 192.168.4.213 255.255.254.0
no ip redirects
no ip directed-broadcast
no ip proxy-arp
no ip route-cache
!

I'm wondering if in this kind of switch you can only use an management ip address per vlan interface. Am I right?

Many thanks in advance!
 
You can only have 1 ip address on the box for administration purposes only so thus why would you need more than 1 SVI configured , you don't ,so the switch shuts down the other one . If you want it to be on vlan 3 just shutdown the vlan 1 SVI first and it should let you have the vlan 3 SVI as the management interface. Remember this is a layer 2 box only and the only reason you have an ip address is to manage the 2900. If you need to route between vlans you will need to trunk up to a router or L2/l3 switch capable of trunking.
 
That's the answer I was waiting for.

Thank you very much: I'm not very experienced and I'm only CCNA & CQS-WLSS (at the moment).

See you in the next Q&A :)
 
No problem thats what this board is for ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top