命令:
username cisco privilege 0 password 0 cisco
privilege exec level 0 show ip route
效果:
R1#telnet 192.168.0.1
Trying 192.168.0.1 ... Open
User Access Verification
Username: cisco
Password:
R2>sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
C 10.0.23.0 is directly connected, Ethernet0/1
C 192.168.0.0/24 is directly connected, Ethernet0/0
R2>
希望以上的內容能夠幫助到你。