29 ip command, Dhcp, Ip address – PLANET WGSW-28040P User Manual

Page 299: Ip default gateway

Advertising
background image

User’s Manual of WGSW-28040 / 28040P / 28040P4

299

6.3.29 IP Command

DHCP

Description:

Enable DHCP client

Syntax:

ip dhcp

Example:

To enable DHCP client:

WGSW-28040(config)# ip dhcp

IP Address

Description:

Set IP address

Syntax:

ip address <ip_address> <subnet_mask>

Parameters:

Ip_address : IP Address format is A.B.C.D where (A/B/C/D = 0 ~ 254)

Subnet_mask : subnet mask format is A.B.C.D where (A/B/C/D = 0 ~ 255)

Example:

To set IP address:

WGSW-28040(config)# ip address 192.168.0.20 255.255.255.0

IP Default Gateway

Description:

Set IP default gateway

Syntax:

ip default-gateway <A.B.C.D>

Parameters:

A.B.C.D : IP default gateway format is A.B.C.D where (A/B/C/D = 0 ~ 254)

Example:

To set IP default-gateway:

WGSW-28040(config)# ip default-gateway 192.168.0.254

Advertising
This manual is related to the following products: