Show bridge FDB and ports
Show the L2 forwarding table (MAC->port) and bridge port states
bridge fdb show br <name>; bridge link show
- tool
- iproute212 commands
More iproute2 commands
-
ss -tip state established '( dport = :443 )'Show rtt, cwnd and retransmits for each connection to remote port 443. Helps find slow or lossy peers
-
ss -K dst <ip> dport = :8080Force-close matching sockets (kernel 4.9+). Needs CONFIG_INET_DIAG_DESTROY
-
ip addr add 10.0.0.5/24 dev <name> && ip addr show dev <name>Add a secondary IP with a prefix on the fly. Note: it is not saved after reboot
-
ip link set dev <name> mtu 9000 && ip link set dev <name> upSet a jumbo MTU and bring the link up. Note: the MTU must match along the whole path
-
ip -j a | jq -r '.[] | select(.operstate=="UP") | .ifname + " " + (.addr_info[]?.local // "-")'Get interfaces as JSON and list UP links with their local IPs