remove interface from dladm


 
Thread Tools Search this Thread
Operating Systems Solaris remove interface from dladm
# 1  
Old 11-26-2010
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 Smilie
Code:
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

Last edited by DukeNuke2; 11-26-2010 at 03:01 AM..
# 2  
Old 11-26-2010
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.
This User Gave Thanks to DukeNuke2 For This Post:
# 3  
Old 11-26-2010
Data ce3 and ce4 are not configured in ifconfig

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:

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


Last edited by DukeNuke2; 11-26-2010 at 11:10 AM..
# 4  
Old 11-26-2010
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!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 11.4.2.3.0 - dladm link names mapping

Hi all, I have never wondered where is the mapping of the link names to physical device path display under dladm show-phys until today. fmadm list reported nic port failure and i am trying to mapped it to the correct linkname in dladm show-link / dladm show-phys to see if the link is... (1 Reply)
Discussion started by: javanoob
1 Replies

2. UNIX for Dummies Questions & Answers

Adding a network interface to a bonded interface

I have a RHEL 5 system with a bonded interface configure using only one network port (eth0). So I have config file for ifcfg-bond0 and ifcfg-eth. I'd like to configure eth5 to be the second SLAVE in the bond. My question is, after I modify ifcfg-eth5, can I add eth5 to the bond0 interface without... (1 Reply)
Discussion started by: westmoreland
1 Replies

3. Shell Programming and Scripting

remove brackets and put it in a column and remove repeated entry

Hi all, I want to remove the remove bracket sign ( ) and put in the separate column I also want to remove the repeated entry like in first row in below input (PA156) is repeated ESR1 (PA156) leflunomide (PA450192) (PA156) leflunomide (PA450192) CHST3 (PA26503) docetaxel... (2 Replies)
Discussion started by: manigrover
2 Replies

4. Solaris

[beginner] dladm create-bridge

hello everyone, I'm a new user and unix-beginner. I've just installer solaris 11 on my home server, disabled some services, created a fallback BE, enabled speedstep, etc and now I'm trying to create some zones. I'd like to have an exclusive ip zone and, as far as I know, I sould assignate it... (12 Replies)
Discussion started by: kimj
12 Replies

5. Solaris

ifconfig -a vs dladm show-dev and IP ?

Can anyone please explain what does these means ? # dladm show-dev nxge0 link: up speed: 1000 Mbps duplex: full nxge1 link: up speed: 1000 Mbps duplex: full e1000g0 link: up speed: 1000 Mbps duplex: full e1000g1 ... (6 Replies)
Discussion started by: dehetoxic
6 Replies

6. IP Networking

Need a bridge from an ethernet interface to a serial interface

This is my situation DOS pc serial cable (sl0) Linux Pc eth1 192.168.0.10 <-------------------->192.168.0.2 <------------>192.168.0.1 (router) I connected the linux pc and the dos pc with a SLIP (serial line internet protocol), so they can communicate in the sl0 interface. ... (3 Replies)
Discussion started by: mghis
3 Replies

7. SCO

Change SCO - GUI or Desktop interface to DOS based interface

Hi all I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface? If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies

8. Solaris

Command line Interface or GUI Interface not shown on solaris

Dear all, I am a newbie in solaris and I need your advice. I have a Solaris version 5.9 installed on Sunfire V240. I am able to ssh the machine from putty remotely. My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies

9. Solaris

dladm use

Thanks to DukeNuke for the suggestion of dladm before. I was able to upgrade my machine to Solaris 10. I am checking out the sue of dladm, but I am a bit confused. In order to team 2 NIC ports together on my qud ethernet card do I just do this: dladm create aggr -d ce0 -d ce1 key Do I need to... (1 Reply)
Discussion started by: hshapiro
1 Replies
Login or Register to Ask a Question