Forum Discussion
Deleting accidentially created interfaces
If making a typo using the modify /net tmsh command like this:
modify /net interface 1/1.1 nedia 10000SR-FD
It creates a new interface called "nedia" with status "pend". How does one delete this interface?
8 Replies
- nitass_89166
Noctilucent
it was gone after i restarted tmm. i could not find another method to get rid of it. :-/
- John_Heyer_1508
Cirrostratus
I've rebooted the entire Viprion chassis multiple times and still can't get rid of it.
- nitass
Employee
it was gone after i restarted tmm. i could not find another method to get rid of it. :-/
- John_Heyer_1508
Cirrostratus
I've rebooted the entire Viprion chassis multiple times and still can't get rid of it.
- What_Lies_Bene1
Cirrostratus
This relates to VE but as this is VIPRION perhaps it might help;
[tmsh] stop sys services all
rm /var/db/mcpd*
touch /service/mcpd/forceload
shutdown -r now
- nitass
Employee
steven is correct. this is tracked as ID248742.
ID248742 - CLI allows accidental creation of pending interfaces too easily
root@(VIP4400-R70-S37)(cfg-sync Standalone)(/S1-green-P:Active)(/Common)(tmos) show net interface nedia --------------------------------------------------------- Net::Interface Name Status Bits Bits Pkts Pkts Drops Errs Media In Out In Out --------------------------------------------------------- nedia pend 0 0 0 0 0 0 none root@(VIP4400-R70-S37)(cfg-sync Standalone)(/S1-green-P:Active)(/Common)(tmos) list net interface nedia net interface nedia { if-index 896 } root@(VIP4400-R70-S37)(cfg-sync Standalone)(/S1-green-P:Active)(/Common)(tmos) q [root@VIP4400-R70-S37:/S1-green-P:Active:Standalone] config [root@VIP4400-R70-S37:/S1-green-P:Active:Standalone] config clsh rm -rf /var/db/mcpdb.* === slot 2 addr 127.3.0.2 color red === === slot 3 addr 127.3.0.3 color red === === slot 4 addr 127.3.0.4 color red === === slot 1 addr 127.3.0.1 color green === [root@VIP4400-R70-S37:/S1-green-P:Active:Standalone] config clsh bigstart restart === slot 2 addr 127.3.0.2 color red === === slot 3 addr 127.3.0.3 color red === === slot 4 addr 127.3.0.4 color red === === slot 1 addr 127.3.0.1 color green === root@(VIP4400-R70-S37)(cfg-sync Standalone)(/S1-green-P:Active)(/Common)(tmos) show net interface nedia 01020036:3: The requested interface (nedia) was not found. root@(VIP4400-R70-S37)(cfg-sync Standalone)(/S1-green-P:Active)(/Common)(tmos) list net interface nedia 01020036:3: The requested interface (nedia) was not found. - John_Heyer_1508
Cirrostratus
Yeah, I had tried deleting the /var/db/mcpd* files but no luck there.
sol13468 finally pointed me to a working solution:
- What_Lies_Bene1
Cirrostratus
OK, great you got it fixed.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com