神州数码交换机设备设置DHCP自动分配IP地址
神州数码交换机设备设置DHCP自动分配IP地址DCRS-5526S配置:
假设DHCP地址池的名字为shenzhi,租期为5天
switch#config
switch(Config)#service dhcp
switch(Config)#hostname SwitchA
SwitchA(Config)#vlan 10
SwitchA(Config-Vlan10)#switchport interface ethernet 0/0/1-8
SwitchA(Config)#ip dhcp excluded-address 192.168.10.1 192.168.10.50
SwitchA(Config)#ip dhcp pool shenzhi
SwitchA(dhcp-shenzhi-config)#network-address 192.168.10.0
SwitchA(dhcp-shenzhi-config)#default-router 192.168.10.10
SwitchA(dhcp-shenzhi-config)#dns-server 192.168.10.1
SwitchA(dhcp-shenzhi-config)#netbios-name-server 192.168.10.2
SwitchA(dhcp-shenzhi-config)#lease 5
页:
[1]