JetStream 52-Port Gigabit Stackable L3 Managed Switch CLI Guide
38.14 default-gateway
Description
The default-gateway command is used to specify the default gateway of the
address pool. To delete the configuration, please use no default-gateway.
Syntax
default-gateway
gateway-list
no default-gateway
Parameter
gateway-list
—— Specify the gateway list, with the format of A.B.C.D,E.F.G.H.
At most 8 gateways can be configured, separated by comma.
Command Mode
DHCP Configuration Mode
Example
Specify the address pool product’s default gateways as 192.168.0.1 and
192.168.1.1:
T3700G-52TQ(config)# ip dhcp server pool product
T3700G-52TQ(dhcp-config)# default-gateway
192.168.0.1,192.168.1.1
38.15 dns-server
Description
The dns-server command is used to specify the DNS server of the address
pool. To delete this configuration, please use no dns-server command.
Syntax
dns-server
dns-list
no dns-server
Parameter
dns-list
—— Specify the DNS server list, with the format of A.B.C.D,E.F.G.H. At
most 8 DNS servers can be configured, separated by comma.
Command Mode
DHCP Configuration Mode
336