Chapter 45: IP Interface Commands
IPv4 Interface
– 1340 –
B
ASIC
IP
V
4
C
ONFIGURATION
This section describes commands used to configure IP addresses for VLAN
interfaces on the switch.
ip address
This command sets the IPv4 address for the currently selected VLAN
interface. Use the
no
form to remove an IP address.
S
YNTAX
ip address
{
ip-address netmask
[
secondary
]
[
default-gateway
ip-address
] |
bootp
|
dhcp
}
no ip address [
ip-address netmask
[secondary] | dhcp]
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.
The network mask can be either in the traditional format
xxx.xxx.xxx.xxx or use classless format with the range /5 to /32.
For example the subnet 255.255.224.0 would be /19.
default-gateway
- The default gateway. (Refer to the
command which provides the same function.)
bootp
- Obtains IP address from BOOTP.
dhcp -
Obtains IP address from DHCP.
D
EFAULT
S
ETTING
DHCP
C
OMMAND
M
ODE
Interface Configuration (VLAN)
C
OMMAND
U
SAGE
•
An IP address must be assigned to this device to gain management
access over the network or to connect the to existing IP subnets. A
specific IP address can be manually configured, or the can be directed
to obtain an address from a BOOTP or DHCP server. Valid IP addresses
Table 45-3: Basic IP Configuration Commands
Command
Function
Mode
Sets the IP address for the current interface
IC
Defines the default gateway through which this switch
can reach other subnetworks
GC
Displays the IP settings for this device
PE
Displays specified entries in the routing table
PE
Displays statistics for IP, ICMP, UDP, TCP and ARP
protocols
PE
Shows the route packets take to the specified host
PE
Sends ICMP echo request packets to another node on
the network
NE, PE
Summary of Contents for SSE-G2252
Page 42: ...44 General IP Routing on page 627...
Page 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Page 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Page 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Page 1007: ...Chapter 33 Address Table Commands 1019...
Page 1137: ...Chapter 38 Quality of Service Commands 1150...