1. Test topology:
Reference: http://www.clnchina.com.cn/associate_certs/2012/0823/21890.shtml
2. Basic configuration:
A.R1:
Interface fastethernet0/0
IP address 202.100.1.1 255.255.255.0
No shut
Interface FASTETHERNET0/1
Shut
Interface fastethernet0/1.10
Encapsulation dot1q 10
IP address 10.1.1.1 255.255.255.0
Interface fastethernet0/1.11
Encapsulation dot1q 11
IP Address 1.1.1.1 255.255.255.0
IP DHCP Pool telephonepool
Network 1.1.1.0 255.255.255.0
Default-router 1.1.1.1
Option IP 1.1.1.1
IP DHCP Pool pcpool
Network 10.1.1.0 255.255.255.0
Default-router 10.1.1.1
B.SWITCH1:
int F0/1
SW Trunk Encapsulation dot1q
SW Mode Trunk
VLAN 10
Name PC
VLAN 11
Name Telephone
int rang F0/2-3
SW Mode ACC
SW ACC VLAN 10
Switchport Voice VLAN 11
Spanning-tree Portfast
C.R2:
Interface fastethernet0/0
IP address 202.100.1.2 255.255.255.0
No shut
Interface FASTETHERNET0/1
IP address 202.100.2.2 255.255.255.0
No shut