Re: [mpls-linux-general] clear tables
Status: Beta
Brought to you by:
jleu
|
From: Vincent U. <vin...@im...> - 2005-05-13 13:15:23
|
Le vendredi 13 mai 2005 =C3=A0 15:05 +0200, A fond Sur MPLS a =C3=A9crit : > Hi > I would like to know if there is a command that allows > destroying all the tables (NHLFE, ILM, XC), ie > reseting the configuration. >=20 > I've tried some commands such as mpls nhlfe del * but > nothing seems to work... Something like this should work: for i in $(mpls nhlfe show | grep NHLFE | cut -d ' ' -f 4); do mpls nhlfe del $i done ILM and XC are left as exercises ;-) Vincent --=20 Les gens heureux ne sont pas press=C3=A9s. |