650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>
650) this.width=650; "src=" http://s2.51cto.com/wyfs02/M02/7E/54/wKiom1b8knTwU7boAABkU8KBu4I756.jpg "title=" 1.jpg " alt= "Wkiom1b8kntwu7boaabku8kbu4i756.jpg"/>
Function: 1.router 2901 as DHCP server
The 2.SW1 core switch acts as a server for VTP.
3.vlan10 agent, Vlan20 BackOffice, Vlan30 ADM
SW1:
interface Gigabitethernet 0/2
switchport trunk Encapsulation dot1q
switchport mode trunk//Set 0/2 trunk, dot1q type
Interface Range FastEthernet 0/1-3
switchport trunk Encapsulation dot1q
switchport mode trunk
VTP Domain 123.com
VTP VTP Password 123.com
VTP mode server//config VTP, pattern for server mode
sw0,2,3 the same configuration:
interface fastethernet 0/1
switchport trunk Encapsulation dot1q
switchport mode trunk
VTP Domain 123.com
VTP VTP Password 123.com
VTP mode client//config VTP in client mode
Router configuration:
interface gigabitethernet 0/0
No shutdown
Exit
Interface Gigabitethernet 0/0.1 Enter sub-interface
Encapsulation dot1q 10 Setting the package type
IP Add 172.26.1.254 255.255.255.0
Exit
Interface Gigabitethernet 0/0.2 Enter sub-interface
Encapsulation dot1q 20 Setting the package type
IP Add 172.26.2.254 255.255.255.0
Exit
Interface Gigabitethernet 0/0.3 Enter sub-interface
Encapsulation dot1q 20 Setting the package type
IP Add 172.26.3.254 255.255.255.0
Exit
Add the computer to the corresponding VLAN to obtain the IP
This article is from the "Tommy Lin" blog, so be sure to keep this source http://linyingyong.blog.51cto.com/6609544/1758746
Configuration of multiple VLAN,DHCP,VTP, such as multi-test via Cisco simulator