DHCP Relay Ethernet Link Aggregation

Source: Internet
Author: User





650) this.width=650; "style=" width:800px;height:388px; "title=" qq20160512001747.png "border=" 0 "hspace=" 0 "alt=" Wkiom1czw4gqtt1oaan4akpkuw0209.png "src=" http://s2.51cto.com/wyfs02/M01/7F/FD/ Wkiom1czw4gqtt1oaan4akpkuw0209.png "width=" "height=" 388 "/>






sw2========================================================================================






[Sw2]dis CU



#



sysname SW2



VLAN batch------ adding VLANs



#



Interface Eth-trunk1 Link Aggregation



Port Link-type Trunk set interface to trunk mode allows VLAN 10 20 through



Port Trunk Allow-pass VLAN 10 20



#



Interface Eth-trunk2



Port Link-type Trunk



Port Trunk Allow-pass VLAN 10 20



#



Interface ETHERNET0/0/1



Port Link-type Access joins the interface in Access mode to VLAN ten



Port Default VLAN 10



#



Interface ETHERNET0/0/10



Eth-trunk 1 Interface added to Eth-trunk 1



#



Interface ETHERNET0/0/11



Eth-trunk 1



#



Interface ETHERNET0/0/12



Port Link-type Access joins the interface in Access mode to VLAN



Port default VLAN 20



#



Interface GIGABITETHERNET0/0/1



Eth-trunk 2 interface added to Eth-trunk 2



#



Interface GIGABITETHERNET0/0/2



Eth-trunk 2



#



sw3========================================================================================






sysname 



#



VLAN Batch 10 20



#



#



Interface Eth-trunk1 Inlet Interface



Port Link-type Trunk sets the interface to trunk



Port Trunk allow-pass VLAN Ten trunking allowed through Vlan10



#



Interface ETHERNET0/0/1



#



Interface ETHERNET0/0/2



Port Link-type Access joins the interface in Access mode to VLAN ten



Port Default VLAN 10



#



Interface ETHERNET0/0/12



Eth-trunk 1



# Add interface to Eth-trunk 1



Interface ETHERNET0/0/13



Eth-trunk 1



#



sw1=============================================================================================



sysname SW1



#



VLAN batch add VLAN



#



Cluster enable



NTDP Enable



NDP enable



#



Drop Illegal-mac Alarm



#



DHCP enable DHCP enabled



#



DiffServ domain Default



#



Drop-profile Default



#



IP Pool Vlan20



Gateway-list 192.168.20.1



Network 192.168.20.0 Mask 255.255.255.0 Set the address pool to Vlan20



Dns-list 2.2.2.2



#



Interface VLANIF1



#



Interface VLANIF10



IP address 192.168.10.1 255.255.255.0



DHCP Select interface sets DHCP Port-based for Vlan10



DHCP server Dns-list 1.1.1.1



#



Interface Vlanif20



IP address 192.168.20.1 255.255.255.0 set the gateway for Vlan20



DHCP Select global DHCP address pool selection globally



#



Interface VLANIF30



IP address 192.168.30.1 255.255.255.0 vlan30 setting up the gateway



DHCP Select Global



DHCP Select relay DHCP Relay Agent



DHCP relay SERVER-IP 23.0.0.3 point to proxy IP address



#



Interface Vlanif100



IP address 11.0.0.1 255.255.255.0 vlan100 setting up the gateway



#



Interface METH0/0/1



#



Interface Eth-trunk2 into the interface interface ETH-TRUNK2 and set it to trunk, allow VLAN 10 20 through



Port Link-type Trunk



Port Trunk Allow-pass VLAN 10 20



#



Interface Eth-trunk3



Port Link-type access into the interface interface Eth-trunk3 and set it to trunk, allowing VLAN 100 to pass



Port default VLAN 100



#



Interface GIGABITETHERNET0/0/1



Eth-trunk 2 Add interface to Eth-trunk 2



#



Interface GIGABITETHERNET0/0/2



Eth-trunk 2



#



Interface GIGABITETHERNET0/0/3



Port Link-type Access interface, set interface to access port belongs to Vlan30



Port default VLAN 30



#



Interface GIGABITETHERNET0/0/4



Eth-trunk 3



# Add the interface to Eth-trunk



Interface GIGABITETHERNET0/0/5



Eth-trunk 3



#






RIP 1 dynamic routing protocol



Undo summary Turn off Route rollup



Version 2 Release 2



Network 192.168.10.0



Network 192.168.20.0 tells neighbors that they know the IP



Network 192.168.30.0



Network 11.0.0.0



ar1========================================================================================



Interface Eth-trunk3 into Eth-trunk3



Undo Portswitch Switch from two-layer mode to layer three



IP address 11.0.0.2 255.255.255.0 set IP to Eth-trunk3



#



Interface gigabitethernet0/0/0



Eth-trunk 3 Add interface to Eth-trunk 3 (link aggregation)



#



Interface GIGABITETHERNET0/0/1



Eth-trunk 3



#



Interface GIGABITETHERNET0/0/2



IP address 12.0.0.1 255.255.255.0 set IP



#



Interface NULL0



#



RIP 1



Undo Summary



Version 2



Network 11.0.0.0



Network 12.0.0.0



ar2================================================================================================



Interface Eth-trunk4



Undo Portswitch Switch from two-layer mode to layer three



IP address 23.0.0.2 255.255.255.0 set IP



#



Interface gigabitethernet0/0/0



IP address 12.0.0.2 255.255.255.0 IP



#



Interface GIGABITETHERNET0/0/1



Eth-trunk 4 Add interface to Eth-trunk 4 (link aggregation)



#



Interface GIGABITETHERNET0/0/2



Eth-trunk 4



#



Interface NULL0



#



RIP 1



Undo Summary



Version 2



Network 23.0.0.0



Network 12.0.0.0



#



ar3==========================================================================================



#



DHCP Enable DHCP enabled



#



Undo DHCP Server BOOTP



#



IP Pool Vlan30



Gateway-list 192.168.30.1



Network 192.168.30.0 mask 255.255.255.0 set address pool



Dns-list 3.3.3.3 4.4.4.4



#



Interface Eth-trunk4



Undo Portswitch switch from two-layer mode to layer three



IP address 23.0.0.3 255.255.255.0



DHCP Select global address pool is used for DHCP clients



#



Interface gigabitethernet0/0/0



Eth-trunk 4 Add interface to Eth-trunk 4 (link aggregation)



#



Interface GIGABITETHERNET0/0/1



#



Interface GIGABITETHERNET0/0/2



Eth-trunk 4 Add interface to Eth-trunk 4 (link aggregation)



#



Interface NULL0



#



RIP 1



Undo Summary



Version 2



Network 23.0.0.0



#






This article is from the "10991541" blog, please be sure to keep this source http://11001541.blog.51cto.com/10991541/1772686



DHCP Relay Ethernet Link Aggregation


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.