例子:ip route 192.168.1.0 255.255.255.0 192.168.10.2(这个是下一跳端口的IP) ip route 192.168.1.0 255.255.255.0 eth0(这个是你正在配置的设备去往目的地址的出口,也就是跟下一跳相连的那个端口)追问
你举的这个例子我能理解 但是我这个配置是通过 show running-config 看到的 例如 ip route 192.168.0.0 255.255.255.0 Se1/0 10.1.1.1 name shfe_front 如果是你上门那样配置 show running-config 看到的配置只是 ip route 192.168.0.0 255.255.255.0 Se1/0 这样的 求正解!