Reference Guide
IPv4 Routing | 463
To assign an IP address to an interface, use these commands in the following sequence, starting in the
CONFIGURATION mode:
To view the configuration, use the
show config command in the INTERFACE mode as shown in the
example below or
show ip interface in the EXEC privilege mode as shown in the second example.
To view the configuration, use the
show config command (Figure 24-1) in the INTERFACE mode or show
ip interface
in the EXEC privilege mode (Figure 24-2).
Figure 24-1. show config Command Example in the INTERFACE Mode
Step Command Syntax Command Mode Purpose
1
interface interface CONFIGURATION Enter the keyword interface followed by the type of interface
and slot/port information:
• For a Loopback interface, enter the keyword
loopback
followed by a number from 0 to 16383.
• For the Management interface, enter the keyword
ManagementEthernet followed by the slot/port
information. The slot range is 0-1 and the port range is 0.
• For a port channel interface, enter the keyword
port-channel followed by a number from 1 to 255.
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port
information.
• For a VLAN interface, enter the keyword vlan followed
by a number from 1 to 4094.
• For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE followed by the slot/port information.
2
no shutdown
INTERFACE Enable the interface.
3
ip address ip-address
mask [secondary]
INTERFACE Configure a primary IP address and mask on the interface.
• ip-address mask: IP address must be in dotted decimal
format (A.B.C.D) and the mask must be in slash
prefix-length format (/24).
Add the keyword secondary if the IP address is the
interface’s backup IP address. You can configure up to eight
secondary IP addresses.
Dell(conf-if)#show conf
!
interface TenGigabiEthernet 0/0
ip address 10.11.1.1/24
no shutdown
!
Dell(conf-if)#










