Resetting Link Impairments#
With the containerlab tools netem reset command users can remove (reset) all network impairments on a specified interface of a containerlab node. This command deletes the netem qdisc associated with the interface, restoring it to its default state. If no impairments are present, the command will complete successfully without error.
Usage#
Flags#
node#
With --topo | -t or --name, the mandatory --node | -n flag specifies a node name from the topology. Without topology context, it specifies a container name.
interface#
The mandatory --interface | -i flag specifies the interface on which the netem impairments should be reset.
Examples#
Resetting impairments using node name#
This example resets the impairments on the interface eth1 of node r1 defined in the topology:
Output:
Resetting impairments using container name#
This example resets the impairments on the interface eth1 of container clab-netem-r1:
Output:
Resetting impairments when none are set#
If no impairments are configured on the specified interface, the command will complete without error:
Output: