42
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
remotely log in the Residential Gateway
via the Management Interface’s IP address
if the source IP address is allowed using
management command. And if the
Management Interface is not created on
the Residential Gateway, the network
administrator can remotely log in the
Residential Gateway via the data
Interface’s IP address. The difference
between the two scenarios is illustrated in
the following diagram.
Gateway(config-management-
1)# active
Enable the WAN interface entry specified.
Gateway(config- management -
1)# connection-type [dhcp |
[dhcp |
static-ip]
Specify the way of IP distribution, either
DHCP or static IP mode.