net namespace and the read-only methods in Reth’s admin namespace.
Use these commands to answer questions such as:
- is the node listening, and how many peer sessions are established?
- what devp2p identity and ports does this node advertise?
- which clients, directions, and protocol capabilities are represented by its peers?
Status
Show listening state, peer count, and network ID.
Node
Show this node’s identity, addresses, ports, and protocols.
Peers
Inspect established peer sessions and capabilities.
Prerequisites
Enablenet for network status and admin for network node and network peers:
http://127.0.0.1:8545 (localhost:8545) by default:
--rpc <URL> flag to target a different endpoint.
Namespace Boundary
network status uses portable net methods. network node and network peers use the non-standard admin methods supported by Reth and other execution clients.
If an admin-backed command returns method not found, add admin to --http.api and restart the node.