TCP / IP Settings
Using the CLI to Configure TCP/IP
TCP/IP Configuration
From the config mode, enter the interface configuration mode with the interface ethernet
command. Use the ip dhcp command to enable the DHCP client, or no ip dhcp to disable it. To
manually configure an address, specify the new IP address, subnet mask, and default gateway
using the ip address command. To specify a DNS server address, use the dns server command.
Then use the show interface ethernet command from the Executive mode to display the current
IP settings.
Example
RoamAbout 4102#configure
Enter configuration commands, one per line. End with CTRL/Z
RoamAbout 4102(config)#interface ethernet
Enter Ethernet configuration commands, one per line.
RoamAbout 4102(if-ethernet)#no ip dhcp
DHCP client state has changed. Please reset AP for change to take effect.
RoamAbout 4102(if-ethernet)#exit
RoamAbout 4102#reset board
Reboot system now? <y/n>: y
Username: admin
Password:********
RoamAbout 4102#configure
Enter configuration commands, one per line. End with CTRL/Z
RoamAbout 4102(config)#interface ethernet
Enter Ethernet configuration commands, one per line.
RoamAbout 4102(if-ethernet)#ip address 192.168.1.2 255.255.255.0 192.168.1.253
RoamAbout 4102(if-ethernet)#dns primary-server 192.168.1.55
RoamAbout 4102(if-ethernet)#dns secondary-server 10.1.0.55
RoamAbout 4102(if-ethernet)#end
RoamAbout 4102(config)#end
RoamAbout 4102#show interface ethernet
Ethernet Interface Information
========================================
IP Address
Subnet Mask
Default Gateway
Primary DNS
Secondary DNS
Admin status
Operational status
Untagged VlanId
========================================
RoamAbout 4102#
4-8 Advanced Configuration
: 192.168.1.2
: 255.255.255.0
: 192.168.1.253
: 192.168.1.55
: 10.1.0.55
: Up
: Up
: 1