Link to home
Start Free TrialLog in
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.
Avatar of Istvan Kalmar
Istvan Kalmar
Flag of Hungary image

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
Avatar of giltjr
giltjr
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial