DELete
Delete entry by key from a sorted table
- DELete
Shortest form:
del.Delete an entry from a hashed, sorted or CAM table by its key; fields other than the key are ignored.
quietsuppresses “not found”. The grammar is that ofInsert.Warning
Deleting an entry that SONiC programmed breaks forwarding for it until SONiC programs it again.
Unvalidated
drivshell> delete quiet L2X KEY_TYPE=0 L2:VLAN_ID=100 L2:MAC_ADDR=0x020000000022Built-in help
Parameters 1: [quiet] [<COUNT>] [bank#] <TABLE> <DW0> .. <DWN> Parameters 2: [quiet] [<COUNT>] <TABLE> <FIELD>=<VALUE> ... Number of <DW> must be appropriate to table entry size. The entry is deleted by key. All fields other than the key field(s) are ignored. The quiet option indicates not to complain on entry not found. Some tables allow restricting the delete to a single bank.