remove interface from dladm

Greetings

how can i remove an interface from dladm?
i want to remove ce3 and ce4 which are not even plumbed but still shown in dladm output :frowning:

dladm show-dev
ce0             link: unknown   speed: 1000  Mbps       duplex: full
ce1             link: unknown   speed: 1000  Mbps       duplex: full
ce2             link: unknown   speed: 100   Mbps       duplex: full
ce3             link: unknown   speed: 0     Mbps       duplex: unknown
ce4             link: unknown   speed: 0     Mbps       duplex: unknown
ce5             link: unknown   speed: 100   Mbps       duplex: full

dladm show-aggr does not show any output
how to determine key value?
System: SunOS studentrfc 5.10 Generic_144488-01 sun4u sparc SUNW,Netra-440
Best Regards
Thanks in Advance

you can't remove them from dladm... this command shows all available interfaces in the system. use "ifconfig -a" output.
and if "show-aggr" doensn't show an output, there is no aggregation set confugured.

1 Like

thanks but the question is still there . how can i remove these ce3 and ce4 from dladm output. ifconfig -a does not show ce3 and ce4 as they are not being used.

Code:

root@ussd13# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 172.16.191.1 netmask ffffffe0 broadcast 172.16.191.31
        ether 0:14:4f:8e:ff:6c 
ce1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 172.16.40.65 netmask ffff0000 broadcast 172.16.255.255
        ether 0:14:4f:b8:7c:ac 
ce2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
        inet 10.136.4.12 netmask fffffff8 broadcast 10.136.4.15
        ether 0:14:4f:b8:7c:ad 
ce5: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
        inet 10.136.4.4 netmask fffffff8 broadcast 10.136.4.7
        ether 0:14:4f:8e:ff:6d

as allready said in my first post:

you can't remove them... they are present in your system so dladm "show-dev" will show them!