ghq>enable PassWord (輸入路由器的特權口令) ghq #config terminal (進入配置模式) Enter configuration commands one per line. End with CNTL/Z. ghqconfig # ip dhcp pool global(配置一個根地址池,global是地址池的名稱,你可以采用有意義的字符串來表示)
switch>enable (進入交換機的特權模式) Password switch #config t (進入配置模式)
Enter configuration commandsone per line. End with CNTL/Z. switch config #interface vlan1 (配置VLAN1) switch config-if #ip helper-address 192.168.1.4(指定DHCP服務器的地址,即路由器的地址)