Avatar of Mongo Peck
Mongo Peck
 asked on

Cisco 3548-XL Secondary IP

Hi,

I am trying to add a primary and secondary IP to a Vlan using the following command.

Config t
Int vlan41
ip address 10.10.0.19 255.255.248.0
ip address 10.10.0.83 255.255.248.0 secondary


The commands are accepted without any errors.

But when I show the config the primary IP is only listed.

interface VLAN41
 ip address 10.10.0.19 255.255.248.0


Can someone help.

Thank you in advance.
Switches / Hubs

Avatar of undefined
Last Comment
giltjr

8/22/2022 - Mon
Istvan Kalmar

Hi,

If you not enabled ip routing int the switch you not able to give secondary address to VLAN interface.

you need:

conf t
ip routing
Int vlan41
ip address 10.10.0.19 255.255.248.0
ip address 10.10.0.83 255.255.248.0 secondary

Open in new window

ASKER CERTIFIED SOLUTION
giltjr

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck