資源描述:
《華為DHCP中繼配置.docx》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫(kù)。
1、華為DHCP中繼配置文件【DHCPServer配置】discurrent#sysnameDHCPServer#vlanbatch100#clusterenablentdpenablendpenable#dropillegal-macalarm#dhcpenable#diffservdomaindefault#drop-profiledefault#ippoolvlan10gateway-list192.168.10.1network192.168.10.0mask255.255.255.0leaseday999h
2、our0minute0dns-list192.168.100.2#ippoolvlan20gateway-list192.168.20.1network192.168.20.0mask255.255.255.0leaseday999hour0minute0dns-list192.168.100.2#aaaauthentication-schemedefaultauthorization-schemedefaultaccounting-schemedefaultdomaindefaultdomaindefault_adminlocal-u
3、seradminpasswordsimpleadminlocal-useradminservice-typehttp#interfaceVlanif1#interfaceVlanif100ipaddress192.168.100.2255.255.255.252dhcpselectglobal#interfaceMEth0/0/1#interfaceGigabitEthernet0/0/1portlink-typeaccessportdefaultvlan100#iproute-static0.0.0.00.0.0.0192.168.1
4、00.1#user-interfacecon0user-interfacevty04#Return【Switch配置】[Switch]discurrent#sysnameSwitch#vlanbatch1020100#clusterenablentdpenablendpenable#dropillegal-macalarm#dhcpenable#diffservdomaindefault#drop-profiledefault#aaaauthentication-schemedefaultauthorization-schemedefa
5、ultaccounting-schemedefaultdomaindefaultdomaindefault_adminlocal-useradminpasswordsimpleadminlocal-useradminservice-typehttp#interfaceVlanif1#interfaceVlanif10ipaddress192.168.10.1255.255.255.0dhcpselectrelaydhcprelayserver-ip192.168.100.2#interfaceVlanif20ipaddress192.1
6、68.20.1255.255.255.0dhcpselectrelaydhcprelayserver-ip192.168.100.2#interfaceVlanif100ipaddress192.168.100.1255.255.255.252#interfaceMEth0/0/1#interfaceGigabitEthernet0/0/1portlink-typeaccessportdefaultvlan100#interfaceGigabitEthernet0/0/2#interfaceGigabitEthernet0/0/3por
7、tlink-typeaccessportdefaultvlan10#interfaceGigabitEthernet0/0/4portlink-typeaccessportdefaultvlan20#user-interfacecon0user-interfacevty04#return【DHCPServer配置】[DHCPServer]discurrent#sysnameDHCPServer#vlanbatch100#clusterenablentdpenablendpenable#dropillegal-macalarm#dhcpe
8、nable#diffservdomaindefault#drop-profiledefault#ippoolvlan10gateway-list192.168.10.1network192.168.10.0