Hello mates,
i will have to modify network interfaces on a gateway from single interfaces to bonds.
Gaia step with clish command is easy. Just remove all VLAN interfaces, create bonds and creating all VLANs on the bonds again.
Prepared text-file and copy&paste to ssh and this task is done within seconds.
Now i am playing around with management CLI on SmartConsole to rename the interfaces as well and have no idea how it works.
Examples
old new
"eth1.100" "bond1.100"
"eth1.123" "bond1.123"
In the mgmt api reference there is mentioned parameter name "new-name" for an interface but no clue how to use it.
Don't even have a clue what interface id to use.
When running "show simple-gateway name "test" " i get
> show simple-gateway name "test"
...
name: "test"
type: "simple-gateway"
....
interfaces:
- name: "eth1.111"
ipv4-address: "1.1.1.1"
ipv4-network-mask: "255.255.255.0"
ipv4-mask-length: 24
ipv6-address: ""
comments: ""
color: "black"
icon: "NetworkObjects/network"
topology: "automatic"
topology-automatic-calculation: "internal"
topology-settings:
ip-address-behind-this-interface: "network defined by the interface ip and net mask"
interface-leads-to-dmz: false
anti-spoofing: true
anti-spoofing-settings:
action: "prevent"
security-zone: false
....
and so on.
No ID for that interface.
I am rather at a loss now. I could do this using Topology and edit all interfaces but using api would be much better for dozens of VLAN interfaces 🙂
Ahy hints would be appreciated.
Cheers
Vincent
and now to something completely different - CCVS, CCAS, CCTE, CCCS, CCSM elite