D-Link DGS-1510 Series Reference Manual page 116

Gigabit ethernet smartpro switch
Hide thumbs Also See for DGS-1510 Series:
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
9-4 ip address
This command is used to set a primary or secondary IPv4 address for an interface, or acquire an IP
address on an interface from the DHCP. Use the no form of this command to remove the
configuration of an IP address or disable DHCP on the interface.
ip address {IP-ADDRESS SUBNET-MASK [secondary] | dhcp}
no ip address [IP-ADDRESS SUBNET-MASK | dhcp]
Parameters
IP-ADDRESS
SUBNET-MASK
secondary
dhcp
Default
The default IP address for VLAN 1 is 10.90.90.90/8.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The IPv4 address of an interface can be either manually assigned by the user or dynamically
assigned by the DHCP server. For manual assignment, the user can assign multiple networks to a
VLAN, each with an IP address. Among these multiple IP addresses, one of them must be the primary
IP address and the rest are secondary IP address. The primary address will be used as the source IP
address for SNMP trap messages or SYSLOG messages that are sent out from the interface. Use the
no ip address command to delete the configured IP address entry.
Example
This example shows how to set 10.108.1.27 is the primary address and 192.31.7.17 and 192.31.8.17
are secondary addresses for VLAN 100.
Switch# configure terminal
Switch(config)# interface vlan100
Switch(config-if)# ip address 10.108.1.27 255.255.255.0
Switch(config-if)# ip address 192.31.7.17 255.255.255.0 secondary
Switch(config-if)# ip address 192.31.8.17 255.255.255.0 secondary
Switch(config-if)#
9-5 ip proxy-arp
This command is used to enable the proxy ARP option for an interface. Use the no form of this
command to revert to the default setting.
ip proxy-arp
no ip proxy-arp
Specifies the IP address.
Specifies the subnet mask for the associated IP address.
(Optional) Specifies that the configured address is a secondary IP
address. If this keyword is not specified, the configured address is
the primary IP address.
Specifies to acquire an IP address configuration on an interface
from the DHCP protocol.
113

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents