Assign an IP address to interface GigabitEthernet 1/0/1.
Select the IPv4 address configuration method according to the service provider: DHCP is selected in this example.
If you select PPPoE, enter the PPPoE account and password provided by the service provider.
If you select DHCP, the DHCP server automatically assigns the public IP addresses for accessing the WAN.
If you select manual assignment, enter the IP address, subnet mask, and gateway address of the WAN.
# Assign an IP address to interface GigabitEthernet 1/0/1.
<FW>
[FW]
[FW-GigabitEthernet1/0/1]
[FW-GigabitEthernet1/0/1]
Add interface GigabitEthernet 1/0/1 to security zone
[FW]
[FW-security-zone-WAN]
[FW-security-zone-WAN]