43
6. Configure WAN Interface
Command
Parameter Description
Gateway(config)# ip wan-
interface apply
Apply all WAN interface configuration and
all VLAN configuration.
Gateway(config)# ip wan-
interface data [1]
[1]
Specify the number of WAN data interface.
The data interface is the default WAN
Interface of the Residential Gateway. It is
open to remote management from the IP
specified using management command
when the management interface is not
created on the Residential Gateway.
Gateway(config-data-1)# active
Enable the WAN interface entry specified.
Gateway(config-data-1)#
connection-type [dhcp | static-ip]
[dhcp |
static-ip]
Specify the way of IP distribution, either
DHCP or static IP mode.
Gateway(config-data-1)# dhcp
mtu [68-1500]
[68-1500]
Specify the DHCP MTU for optimal
performance.
Gateway(config-data-1)# dns
Enable DNS automatically.
Gateway(config-data-1)# dns
server-1 [A.B.C.D]
[A.B.C.D]
If you choose to set the DNS manually,
please specify the IP address of the
primary DNS server of this interface. ( This
parameter is only available for the data
interface. )
Gateway(config-data-1)# dns
server-2 [A.B.C.D]
[A.B.C.D]
If you choose to set the DNS manually,
please specify the IP address of the
primary DNS server of this interface. ( This
parameter is only available for the data
interface. )
Gateway(config-data-1)# dns
server-3 [A.B.C.D]
[A.B.C.D]
If you choose to set the DNS manually,
please specify the IP address of the
primary DNS server of this interface. ( This
parameter is only available for the data
interface. )
Gateway(config-data-1)# ping-
access
Allow the WAN interface to reply the ICMP
echo requests which it receives from the
public network.
Gateway(config-data-1)# static-
ip [A.B.C.D]
[A.B.C.D]
Specify an IP address to assign the
interface an IP address.
Gateway(config-data-1)# static-
ip mtu [68-1500]
[68-1500]
Specify the maximal size of Ethernet
packets which the Residential Gateway will
transmit. MTU stands for
“Maximum
Transmission Unit.
”
Gateway(config-data-1)# vlan-id
[1-4094]
[1-4094]
Specify a VLAN ID for the WAN interface.
And the WAN interface will add this VLAN
ID to the egress untagged packets. ( This
parameter is only available when the WAN
information is Data, Management)
Gateway(config)# ip wan-
interface management [1]
[1]
Specify the number of WAN management
interface. The Management Interface
enables the network administrator to