...做DHCP 功能 步骤。小弟没配置过华为交换机,请各高手指点。_百度知 ...
发布网友
发布时间:2023-12-28 05:28
我来回答
共2个回答
热心网友
时间:2024-08-10 11:55
vlan batch 1 to 3
#
dhcp enable
#
interface Vlanif1
ip address 192.168.10.1 255.255.255.0
dhcp select interface
dhcp server excluded-ip-address 192.168.10.2
dhcp server dns-list 192.168.10.2
dhcp server lease day 30 hour 0 minute 0
#
interface Vlanif2
iip address 192.168.20.1 255.255.255.0
dhcp select interface
dhcp server excluded-ip-address 192.168.20.2
dhcp server dns-list 192.168.20.2
dhcp server lease day 30 hour 0 minute 0
#
interface Vlanif3
iip address 192.168.30.1 255.255.255.0
dhcp select interface
dhcp server excluded-ip-address 192.168.30.2
dhcp server dns-list 192.168.30.2
dhcp server lease day 30 hour 0 minute 0
#
interface GigabitEthernet1/0/1
port hybrid pvid vlan 1
port hybrid untagged vlan 1
#
interface GigabitEthernet1/0/2
port hybrid pvid vlan 2
port hybrid untagged vlan 2
#
interface GigabitEthernet1/0/3
port hybrid pvid vlan 3
port hybrid untagged vlan 3
#
return
热心网友
时间:2024-08-10 11:55
http://wenku.baidu.com/view/b06ecb0ff78a6529647d539f.html