Comware Based
1753830 Members
8841 Online
108806 Solutions
New Discussion

HP Flexfabric A5900 L3 Switch will not accept a static route using only a exit interface

 
UberMac
Occasional Contributor

HP Flexfabric A5900 L3 Switch will not accept a static route using only a exit interface

Hi I hope someone can take a moment and answer this for me.. I have a A5900 Comware 7 switch that I am trying to get to static route exiting a vlan interface. The docs say it is supported. However I cannot get any of multiple CLI syntax to work. What is the correct syntax?

I have tried what seems to be correct ip route-static 172.27.128.0 17 Vlan-interface2710

This demands a next-hop address.

1 REPLY 1
parnassus
Honored Contributor

Re: HP Flexfabric A5900 L3 Switch will not accept a static route using only a exit interface

Shouldn't be in the form:

ip route-static <destination-address> <mask> <interface-type> <interface-number> <next-hop-address>

as example:

ip route-static 1.1.1.1 32 vlan-interface 100 12.12.12.1

I'm not an HPE Employee
Kudos and Accepted Solution banner