![background image](http://html1.mh-extra.com/html/smc-networks/2555w-ag/2555w-ag_user-manual_1301116067.webp)
Advanced Configuration
5-9
CLI Commands for TCP/IP Settings
– From the global
configuration 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
DNS server addresses use the
dns server
command. Then use
the
show interface ethernet
command from the Exec mode to
display the current IP settings.
SMC-AP(config)#interface ethernet
6-68
Enter Ethernet configuration commands, one per line.
SMC-AP(if-ethernet)#no ip dhcp
6-71
SMC-AP(if-ethernet)#ip address 192.168.1.2
255.255.255.0 192.168.1.253
6-69
SMC-AP(if-ethernet)#dns primary-server 192.168.1.55
6-68
SMC-AP(if-ethernet)#dns secondary-server 10.1.0.55
6-68
SMC-AP(config)#end
6-12
SMC-AP#show interface ethernet
6-72
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
========================================
SMC-AP#
Summary of Contents for 2555W-AG
Page 1: ...SMC2555W AG...
Page 2: ......
Page 18: ...COMPLIANCES xiv...
Page 24: ...TABLE OF CONTENTS xx...
Page 38: ...Introduction 1 14...
Page 48: ...Network Configuration 3 6...
Page 58: ...Initial Configuration 4 10...
Page 128: ...System Configuration 5 70...
Page 230: ...Command Line Interface 6 102...
Page 240: ...Cables and Pinouts B 6...
Page 246: ...Specifications C 6...
Page 254: ...Glossary Glossary 8...
Page 259: ......