![background image](http://html.mh-extra.com/html/smc-networks/6624fmst/6624fmst_management-manual_1300650075.webp)
5-7
Configuring IP Addressing, Time Synchronization, Interface Access, and System Information
IP Configuration
Co
n
fig
u
rin
g
IP Ad
d
re
ssin
g
,
T
im
e
S
ync
hr
o
n
iz
a
tio
n,
With multiple VLANs and some other features configured,
show ip
provides
additional information:
Figure 5-3. Example of Show IP Listing with Non-Default IP Addressing Configured
(If DHCP/Bootp acquires an IP address and Subnet Mask for VLAN_2, they
will appear in the appropriate columns.)
Configure an IP Address and Subnet Mask.
The following command
includes both the IP address and the subnet mask. You must either include the
ID of the VLAN for which you are configuring IP addressing or go to the
context configuration level for that VLAN. (If you are not using VLANs on the
switch—that is, if the only VLAN is the default VLAN—then the VLAN ID is
always “1”.)
N o t e
The default IP address setting for the DEFAULT_VLAN is
DHCP/Bootp
. On
additional VLANs you create, the default IP address setting is
Disabled
.
Syntax:
vlan
<vlan-id>
ip address
<ip-address/mask-length>
or
vlan
<vlan-id>
ip address
<ip-address> <mask-bits>
or
vlan
<vlan-id>
ip address
dhcp-bootp
This example configures IP addressing on the default VLAN with the subnet
mask specified in mask bits.
SMC6624M(config)# vlan 1 ip address 10.28.227.103/255.255.255.0
This example configures the same IP addressing as the preceding example,
but specifies the subnet mask by mask length.
SMC6624M(config)# vlan 1 ip address 10.28.227.103/24
An SMC6624M
with VLANs
Configured
SMC6624M# show ip
Internet (IP) Service
Default Gateway : 10.2.64.254
Default TTL
: 64
VLAN
| IP Config
IP Address
Subnet Mask
------------ + ---------- --------------- ---------------
DEFAULT_VLAN | Manual
10.2.13.15
255.255.0.0
VLAN_2
| DHCP/Bootp