RA(config)#vpdn enable
RA(config)#vpdn-group pppoe
RA(config)#protocol pppoe
RA(config)#int atm0/0
RA(config-if)#pvc 8/35
RA(config-if)#pppoe-client dial-poo;-number l
RA(config)#int dialer0
RA(config-if)#ip addr negotiated
RA(config-if)#encap ppp
RA(config-if)#dialer pool l
RA(config-if)#ip mtu 1492
RA(config-if)#ppp authentication chap callin
RA(config-if)#ppp chap hostname cisco
RA(config)#ip rounte 0.0.0.0 0.0.0.0 dialer0
RA(config)#int fa0/1
RA(config)#ip addr 192.168.0.1 255.255.255.0
RA(config)#no shut
RA(config)#ip nat pool dyn 202.110.100.2 202.110.100.10 netmask
RA(config)#access-list 1 permit 192.168.0.0 0.0.255.255
RA(config)ip nat inside source list 1 pool dyn overload
RA(config)#interface fa0/1
RA(config)#ip nat inside
RA(config)#interface atm0/0
RA(config)#ip nat outside
RA(config)#copy run start
RB(config)#int f0/1
RB(config-if)#ip addr 192.168.1.1 255.255.255.0
RB(config-if)no shut
RB(config)#int s0/0
RB(config-if)#ip addr 202.110.100.1 255.255.255.0
RB(config-if)#encap ppp
RB(config-if)#backup interface br1/0
RB(config-if)#bacup delay 20 40
RB(config-if)#no shut
RB(config)#username cisco password 123
RB(config)#dialer-list 1 protocol ip permit
RB(config)#isdn switch-type basic-ni
RB(config)#int bri1/0
RB(config-if)#ip addr 200.200.1 255.255.255.0
RB(config-if)#encap ppp
RB(config-if)#ppp authen chap
RB(config-if)#dialer string7782001
RB(config-if)#dialer-group 1
RB(config-if)#no shut
RB(config)#int fa0/1
RB(config-if)#ip addr 192.168.1.1 255.255.255.0
RB(config-if)#no shut
RB(config)#int s0/0
RB(config-if)ip addr 202.110.100.1 255.255.255.0
RB(config-if)encap ppp
RB(config-if)backup interface bri1/0
RB(config-if)#no shut
RB(config)#username cicso password 123
RB(configdialer-list 1 protocol ip permit
RB(config)#isdn switch-tpe basic-ni
RB(config)#int bri1/0
RB(config-if)#ip addr 202.200.200.1 255.255.255.0
RB(config-if)#encap ppp
RB(config-if)#ppp authen chap
RB(config-if)#dialer string7782001
RB(config-if)#dialer-group 1
RB9config-if)#no shut
Switch3560#vlan database
Switch3560(vlan)#vtp domain itat
Switch3560(vlan)#vtp server
Switch3560(vlan)v#vlan 10 name account
其他VLAN依次建立
Switch3560(vlan)#apply
Switch3560(config)#int fa0/5
Switch3560(config-if)#switchport mode trunk
Switch3560(config-if)#Switchport trunk encap dotlq
Switch3560(config)3ip routing
Switch3560(config)#interface vlan10
Switch3560(config-if)#ip addr 192.168.10.1 255.255.255.0
Switch3560(config-if)no shut
Switch3560(config)#interface fa0/1
Switch3560(config-if)#no switchport
Switch3560(config-if)#ip address 192.168.0.2 255.255.255.0
Switch3560(config-if)#no shut
Switch3560(config-if)ip addr 192.168.0.2 255.255.255.0
Switch3560(config-if)#no shut
Switch3560(config)#ip route 0.0.0.0 0.0.0.0 192.168.0.1
Switch3560(config)#interface fa0/2
Switch3560(config-if)#no switchport
Switch3560(config-if)#ip address 192.168.1.2 255.255.255.0
Switch3560(config-if)#no shut
Switch3560(config)#ip route 分支机构IP 分支机构掩码 192.168.1.1
Switch3560#copy run start
Switch2960(config)#int fa0/1
Switch2960(config-if)#switchport mode trunk
Switch2960#vlan database
Switch2960(vlan)#vtp domain itat
Switch2960(vlan)#vtp client
Switch2960(config)#int fa0/2
Switch2960(config-if)#switchport mode access
Switch2960(config-if)#switchport access vlan 10
其他端口依次添加相应的VLAN
Switch2960#copy run start