8 月 202014
 

Router#sh run
Building configuration…

Current configuration : 4088 bytes
!
! Last configuration change at 06:56:36 UTC Tue Aug 19 2014
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
enable password cisco
!
no aaa new-model
!
ip cef
!
!
!
ip dhcp excluded-address 192.168.100.1 192.168.100.50
ip dhcp excluded-address 192.168.200.1 192.168.200.50
ip dhcp excluded-address 192.168.150.1 192.168.150.50
ip dhcp excluded-address 192.168.200.66
!
ip dhcp pool 100
network 192.168.100.0 255.255.255.0
default-router 192.168.100.1
dns-server 202.96.134.133 202.96.128.68
lease 8
!
ip dhcp pool 200
network 192.168.200.0 255.255.255.0
default-router 192.168.200.1
dns-server 202.96.134.133 202.96.128.68
lease 8
!
ip dhcp pool 150
network 192.168.150.0 255.255.255.0
default-router 192.168.150.1
dns-server 202.96.134.133 202.96.128.68
lease 8
!
!
!
no ip domain lookup
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
license udi pid CISCO2911/K9 sn FGL18081058
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
no ip address
ip accounting output-packets
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1
!
interface GigabitEthernet0/1
no ip address
ip accounting output-packets
ip nat inside
ip virtual-reassembly in
ip policy route-map load
duplex auto
speed auto
!
interface GigabitEthernet0/1.1
encapsulation dot1Q 1 native
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
ip policy route-map load
!
interface GigabitEthernet0/1.10
encapsulation dot1Q 100
ip address 192.168.100.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
ip policy route-map load
!
interface GigabitEthernet0/1.15
encapsulation dot1Q 150
ip address 192.168.150.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
ip policy route-map load
!
interface GigabitEthernet0/1.20
encapsulation dot1Q 200
ip address 192.168.200.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
ip policy route-map load
!
interface GigabitEthernet0/2
no ip address
ip accounting output-packets
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 2
!
interface Dialer100
ip address negotiated
ip mtu 1492
ip nat outside
ip virtual-reassembly in
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 1
dialer-group 20
ppp authentication pap callin
ppp chap hostname 075512345678@163.gd
ppp chap password 0 87654321
ppp pap sent-username 075512345678@163.gd password 0 87654321
!
interface Dialer200
ip address negotiated
ip mtu 1492
ip nat outside
ip virtual-reassembly in
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 2
dialer-group 22
ppp authentication pap callin
ppp chap hostname 075587654321@163.gd
ppp chap password 0 12345678
ppp pap sent-username 075587654321@163.gd password 0 12345678
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source list 10 interface Dialer100 overload
ip nat inside source list 15 interface Dialer100 overload
ip nat inside source list 20 interface Dialer200 overload
ip route 0.0.0.0 0.0.0.0 Dialer100
ip route 0.0.0.0 0.0.0.0 Dialer200
!
access-list 10 permit 192.168.100.0 0.0.0.255
access-list 15 permit 192.168.150.0 0.0.0.255
access-list 20 permit 192.168.200.0 0.0.0.255
dialer-list 20 protocol ip permit
dialer-list 22 protocol ip permit
!
route-map load permit 100
match ip address 10
set default interface Dialer100
!
route-map load permit 200
match ip address 20
set default interface Dialer200
!
route-map load permit 300
match ip address 15
set default interface Dialer100
!
!
!
control-plane
!
!
!
line con 0
password cisco
logging synchronous
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0
password cisco
login
transport input all
line vty 1 4
login
transport input all
!
scheduler allocate 20000 1000
!
end

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据