CNC#sh run
Building configuration...
Current configuration : 956 bytes
hostname CNC
vpdn enable
!
vpdn-group 1
accept-dialin
protocol pppoe
virtual-template 2
!
username cisco password 0 cisco
!
interface Loopback0
ip address 10.1.1.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
pppoe enable
!
interface Virtual-Template2
ip unnumbered Loopback0
peer default ip address pool cisco
ppp authentication chap
!
ip local pool cisco 10.1.1.2 10.1.1.10
!
end
client#sh run
Building configuration...
Current configuration : 1086 bytes
hostname client
!
vpdn enable
vpdn-group 1
vpdn-group 2
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 2
!
interface Dialer0
ip address negotiated
encapsulation ppp
dialer pool 1
dialer-group 1
ppp chap hostname cisco
ppp chap password 0 cisco
!
interface Dialer1
ip address negotiated
encapsulation ppp
dialer pool 2
dialer-group 2
ppp chap hostname cisco
ppp chap password 0 cisco
!
dialer-list 1 protocol ip permit
dialer-list 2 protocol ip permit
!
end
ISP#sh run
Building configuration...
Current configuration : 936 bytes
hostname ISP
vpdn enable
!
vpdn-group 1
accept-dialin
protocol pppoe
virtual-template 1
!
username cisco password 0 cisco
!
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
pppoe enable
!
interface Virtual-Template1
ip unnumbered Loopback0
peer default ip address pool cisco
ppp authentication chap
!
ip local pool cisco 1.1.1.2 1.1.1.10
End
client#
*Sep 12 22:04:44.139: %DIALER-6-BIND: Interface Vi2 bound to profile Di0
*Sep 12 22:04:44.143: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state to up
*Sep 12 22:04:47.695: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access2, changed state to up
client#
*Sep 12 22:03:38.787: %DIALER-6-BIND: Interface Vi1 bound to profile Di1
*Sep 12 22:03:38.875: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up
*Sep 12 22:03:42.387: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access1, changed state to up
client#sh int dialer 0
Dialer0 is up, line protocol is up (spoofing)
Hardware is Unknown
Internet address is 10.1.1.2/32
MTU 1500 bytes, BW 56 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set
Keepalive set (10 sec)
DTR is pulsed for 1 seconds on reset
Interface is bound to Vi2
Last input never, output never, output hang never
Last clearing of "show interface" counters 00:14:07
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/16 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 42 kilobits/sec
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
120 packets input, 1680 bytes
120 packets output, 1800 bytes
Bound to:
Virtual-Access2 is up, line protocol is up
Hardware is Virtual Access interface
MTU 1500 bytes, BW 56 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, LCP Open
Listen: CDPCP
Open: IPCP
PPPoE vaccess, cloned from Dialer0
Vaccess status 0x44, loopback not set
Keepalive set (10 sec)
DTR is pulsed for 5 seconds on reset
Interface is bound to Di0 (Encapsulation PPP)
Last input 00:10:14, output never, output hang never
Last clearing of "show interface" counters 00:10:17
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
129 packets input, 1814 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
128 packets output, 1929 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
CNC#sh int virtual-access 1.1
Virtual-Access1.1 is up, line protocol is up
Hardware is Virtual Access interface
Interface is unnumbered. Using address of Loopback0 (10.1.1.1)
MTU 1492 bytes, BW 100000 Kbit, DLY 100000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, LCP Open
Open: IPCP
PPPoE vaccess, cloned from Virtual-Template2
Vaccess status 0x0
Keepalive set (10 sec)
154 packets input, 2157 bytes
156 packets output, 2199 bytes
Last clearing of "show interface" counters never
ISP#sh int virtual-template 1
Virtual-Template1 is down, line protocol is down
Hardware is Virtual Template interface
Interface is unnumbered. Using address of Loopback0 (1.1.1.1)
MTU 1500 bytes, BW 100000 Kbit, DLY 100000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, LCP Closed, loopback not set
Keepalive set (10 sec)
DTR is pulsed for 5 seconds on reset
Last input never, output never, output hang never
Last clearing of "show interface" counters 00:16:55
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
本文出自 “cuter” 博客,谢绝转载!