
2-29
<SwitchA> system-view
[SwitchA] dhcp enable
# Configure the IP addresses that are not dynamically assigned. (That is, the IP addresses of the DNS
server, WINS server, and gateways.)
[SwitchA] dhcp server forbidden-ip 10.1.1.2
[SwitchA] dhcp server forbidden-ip 10.1.1.4
[SwitchA] dhcp server forbidden-ip 10.1.1.126
[SwitchA] dhcp server forbidden-ip 10.1.1.254
# Configure DHCP address pool 0, including address range, domain name suffix of the clients, and
domain name server address.
[SwitchA] dhcp server ip-pool 0
[SwitchA-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0
[SwitchA-dhcp-pool-0] domain-name aabbcc.com
[SwitchA-dhcp-pool-0] dns-list 10.1.1.2
[SwitchA-dhcp-pool-0] quit
# Configure DHCP address pool 1, including address range, gateway, WINS server address and lease
time.
[SwitchA] dhcp server ip-pool 1
[SwitchA-dhcp-pool-1] network 10.1.1.0 mask 255.255.255.128
[SwitchA-dhcp-pool-1] gateway-list 10.1.1.126
[SwitchA-dhcp-pool-1] expired day 10 hour 12
[SwitchA-dhcp-pool-1] nbns-list 10.1.1.4
[SwitchA-dhcp-pool-1] quit
# Configure DHCP address pool 2, including address range, gateway and lease time.
[SwitchA] dhcp server ip-pool 2
[SwitchA-dhcp-pool-2] network 10.1.1.128 mask 255.255.255.128
[SwitchA-dhcp-pool-2] expired day 5
[SwitchA-dhcp-pool-2] gateway-list 10.1.1.254
DHCP Server with Option 184 Support Configuration Example
Network requirements
A 3COM VCX device operating as a DHCP client requests the DHCP server for all sub-options of Option
184. A switch operates as the DHCP server. The Option 184 support function is configured for a global
DHCP address pool. The sub-options of Option 184 are as follows:
z
NCP-IP: 3.3.3.3
z
AS-IP: 2.2.2.2
z
Voice VLAN configuration: voice VLAN: enabled; voice VLAN ID: 3
z
Fail-over routing: IP address: 1.1.1.1; dialer string: 99*
Содержание E4500-24
Страница 279: ...ii Configuring IGMP Snooping 1 16 Configuring Multicast VLAN 1 18 Troubleshooting IGMP Snooping 1 21...
Страница 390: ...2 31 Troubleshooting HWTACACS Configuration See the previous section if you encounter an HWTACACS fault...
Страница 487: ...5 4 Sysname Ethernet1 0 11 dhcp rate limit 100...