这是配置:
[GYSW]dis cu
#
sysname GYSW
#
l2tp domain suffix-separator @
#
radius scheme system
#
domain system
#
local-user gysw
password simple gysw
service-type telnet
level 3
#
interface Aux0
async mode flow
#
interface Ethernet0/0
ip address 10.52.32.254 255.255.255.0
#
interface Ethernet0/1
shutdown
ip address dhcp-alloc
#
interface Serial0/0
clock DTECLK1
link-protocol ppp
ip address 10.254.254.132 255.255.255.0
#
interface NULL0
#
ip route-static 10.52.1.0 255.255.255.0 10.254.254.152 preference 60
#
user-interface con 0
user-interface aux 0
user-interface vty 0 4
authentication-mode scheme
#
return
这是S0口状态:
[GYSW]disp int s 0/0
Serial0/0 current state :UP
Line protocol current state

OWN
Description : Serial0/0 Interface
The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Internet Address is 10.254.254.132/24
Link layer protocol is PPP
LCP stopped
Output queue : (Urgent queuing : Size/Length/Discards) 0/50/802
Output queue : (Protocol queuing : Size/Length/Discards) 0/500/0
Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0
Physical layer is synchronous,
Interface is DTE, Cable type is V35
Last clearing of counters: Never
Last 300 seconds input rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec
Last 300 seconds output rate 2.09 bytes/sec, 16 bits/sec, 0.11 packets/sec
Input: 23 packets, 336 bytes
0 broadcasts, 0 multicasts
1 errors, 0 runts, 0 giants
0 CRC, 0 align errors, 0 overruns
0 dribbles, 0 aborts, 0 no buffers
1 frame errors
Output:317 packets, 5646 bytes
0 errors, 0 underruns, 0 collisions
0 deferred
DCD=UP DTR=UP DSR=UP RTS=UP CTS=UP