Interface Commands

Default Setting

None

Command Mode

Global Configuration

Command Usage

The primary and secondary name servers are queried in sequence.

Example

This example specifies two domain-name servers.

SMC-AP(if-ethernet)#dns primary-server 192.168.1.55 SMC-AP(if-ethernet)#dns secondary-server 10.1.0.55 SMC-AP(if-ethernet)#

Related Commands

show interface ethernet (page 6-72)

ip address

This command sets the IP address for the (10/100Base-TX) Ethernet interface. Use the no form to restore the default IP address.

Syntax

ip address <ip-address> <netmask> <gateway> no ip address

ip-address- IP address

netmask - Network mask for the associated IP subnet. This mask identifies the host address bits used for routing to specific subnets.

gateway - IP address of the default gateway

6-69

Page 197
Image 197
SMC Networks SMC2555W-AG manual Ip address, This example specifies two domain-name servers