Enterasys Networks 9033900-04 manual Using the CLI

Models: 9033900-04

1 316
Download 316 pages 29.09 Kb
Page 42
Image 42

TCP / IP Settings

Using the CLI

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 Exec mode to display the current IP settings.

RoamAbout 3000#configure

Enter configuration commands, one per line. End with CTRL/Z RoamAbout 3000(config)#interface ethernet

Enter Ethernet configuration commands, one per line. RoamAbout 3000(if-ethernet)#no ip dhcp

DHCP client state has changed. Please reset AP for change to take effect. RoamAbout 3000(if-ethernet)#exit

RoamAbout 3000#reset board Reboot system now? <y/n>: y Username: admin Password:******** RoamAbout 3000#configure

Enter configuration commands, one per line. End with CTRL/Z RoamAbout 3000(config)#interface ethernet

Enter Ethernet configuration commands, one per line.

RoamAbout 3000(if-ethernet)#ip address 192.168.1.2 255.255.255.0 192.168.1.253

RoamAbout 3000(if-ethernet)#dns primary-server 192.168.1.55 RoamAbout 3000(if-ethernet)#dns secondary-server 10.1.0.55 RoamAbout 3000(if-ethernet)#end

RoamAbout 3000(config)#end

RoamAbout 3000#show interface ethernet Ethernet Interface Information

========================================

IP Address

: 192.168.1.2

Subnet Mask

: 255.255.255.0

Default Gateway

: 192.168.1.253

Primary DNS

: 192.168.1.55

Secondary DNS

: 10.1.0.55

Admin status

: Up

Operational status

: Up

Untagged VlanId

: 1

========================================

RoamAbout 3000#

4-8 Advanced Configuration

Page 42
Image 42
Enterasys Networks 9033900-04 manual Using the CLI