
Chapter 3 Network Commands
X6004 CLI Reference Guide
22
• Displays DDNS settings.
3.2 Network Interface Commands
This section describes the commands used to configure the LAN and WAN port settings on
the X6004.
The following table lists the commands for this feature.
3.2.1 Network Interface Command Examples
This example:
• Sets the LAN IP address (192.168.1.10) and subnet mask (255.255.255.0).
• Sets the WAN IP address (172.16.1.201) and subnet mask (255.255.255.0).
• Sets the default gateway (172.16.1.254) for the WAN interface.
• Sets the primary DNS server (172.16.5.1) for the WAN interface.
> network ddns on
success
> network ddns set host 172.168.0.1
ok
> network ddns set user ddnsuser:ddnspass
ok
> network ddns show
host=172.168.0.1
interface=eth0.4000
user=ddnsuser:ddnspass
Table 6 Network Interface Commands
COMMAND
DESCRIPTION
network interface lan ip address <ip-
address> netmask <subnet-mask>
Specifies the LAN IP address and subnet mask.
network interface show ip all Displays the LAN and WAN IP address configuration on
the X6004.
network interface wan ip address <ip-
address> netmask <subnet-mask>
Specifies the WAN IP address and subnet mask.
network interface wan ip address dhcp Either disables or enables DHCP on the X6004.
network interface wan ip address dhcp
renew
Renews the IP address from the DHCP server.
network interface wan ip address static Sets the WAN IP address to static.
network interface wan ip first-dns-server
<ip-address>
Specifies the IP address of the primary DNS server.
network interface wan ip gateway <ip-
address>
Specifies the IP address of the WAN default gateway.
network interface wan ip second-dns-
server <ip-address>
Specifies the IP address of the secondary DNS server.
Comentarios a estos manuales