Set interface eth1 vif 111
set interfaces ethernet eth1 vif 111 commit
Show interfaces
sever@r11# run show interfaces ethernet Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address S/L Description --------- ---------- --- ----------- eth0 192.168.122.11/24 u/u eth0.100 - u/u eth1 - u/u eth1.111 - u/u
Delele vif interface
sever@r11# delete interfaces ethernet eth1 vif [edit] sever@r11# commit [ interfaces ethernet eth1 ] Cannot get device pause settings: Operation not supported Cannot change udp-fragmentation-offload [edit] sever@r11# run show int Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address S/L Description --------- ---------- --- ----------- eth0 192.168.122.11/24 u/u eth0.100 - u/u eth1 - u/u eth1.111 - u/u
Ip link show
[edit] sever@# sudo ip link show | grep "eth1.1" 5: eth1.111@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 [edit] sever@#