OK, so recently I had been setting up NSX in my lab and I wanted to create some static routes on my SG300-20 so I could access the VMs that were on my NSX network.
I added the VLAN I wanted to use and added a VLAN interface. All good.
I went ahead and added the static route as shown below.
As you can see it was applied successfully.
However looking at the static routes I could not see the route I had just added.