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?
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?
it was gone after i restarted tmm. i could not find another method to get rid of it. :-/
it was gone after i restarted tmm. i could not find another method to get rid of it. :-/
I’ve rebooted the entire Viprion chassis multiple times and still can’t get rid of it.
I’ve rebooted the entire Viprion chassis multiple times and still can’t get rid of it.
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
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.
Yeah, I had tried deleting the /var/db/mcpd* files but no luck there.
sol13468 finally pointed me to a working solution:
OK, great you got it fixed.