router local cmd implementation