Chapter 25
| IP Interface Commands
IPv4 Interface
– 538 –
Basic IPv4 Configuration
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.
Syntax
ip address
{
ip-address netmask
[
default-gateway
] |
bootp
|
dhcp
} [
secondary
]
no ip address
ip-address netmask
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.
default-gateway
- The default gateway. (Refer to the
ip default-gateway
command which provides the same function.)
bootp
- Obtains IP address from BOOTP.
dhcp -
Obtains IP address from DHCP.
secondary
- Specifies a secondary IP address.
Default Setting
DHCP
Command Mode
Interface Configuration (VLAN)
Command Usage
◆
If this router is directly connected to end node devices (or connected to end
nodes via shared media) that will be assigned to a specific subnet, then you
must create a router interface for each VLAN that will support routing. The
router interface consists of an IP address and subnet mask. This interface
address defines both the network number to which the router interface is
Table 119: Basic IP Configuration Commands
Command
Function
Mode
ip address
Sets the IP address for the current interface
IC
ip default-gateway
Defines the default gateway through which this router can
reach other subnetworks
GC
show ip interface
Displays the IP settings for this device
PE
show ip route
Displays specified entries in the routing table
PE
show ip traffic
Displays statistics for IP, ICMP, UDP, TCP and ARP protocols
PE
traceroute
Shows the route packets take to the specified host
PE
ping
Sends ICMP echo request packets to another node on the
network
NE, PE
Summary of Contents for EX-3524
Page 2: ......
Page 28: ...Figures 28 ...
Page 34: ...Section I Getting Started 34 ...
Page 58: ...Chapter 1 Initial Switch Configuration Setting the System Clock 58 ...
Page 72: ...Chapter 2 Using the Command Line Interface CLI Command Groups 72 ...
Page 156: ...Chapter 5 SNMP Commands Notification Log Commands 156 ...
Page 164: ...Chapter 6 Remote Monitoring Commands 164 ...
Page 218: ...Chapter 7 Authentication Commands Management IP Filter 218 ...
Page 268: ...Chapter 8 General Security Measures Port based Traffic Segmentation 268 ...
Page 292: ...Chapter 9 Access Control Lists ACL Information 292 ...
Page 312: ...Chapter 10 Interface Commands Power Savings 312 ...
Page 324: ...Chapter 11 Link Aggregation Commands Trunk Status Display Commands 324 ...
Page 366: ...Chapter 15 Address Table Commands 366 ...
Page 428: ...Chapter 17 VLAN Commands Configuring Voice VLANs 428 ...
Page 572: ...Chapter 25 IP Interface Commands IPv6 Interface 572 ...
Page 578: ...Section I Appendices 578 ...