Concept Guide

For a Loopback interface, enter the keyword loopback then a number from 0 to 16383.
For the Management interface on the stack-unit, enter the keyword ManagementEthernet then the slot/port information.
For a port channel interface, enter the keywords port-channel then a number.
For a VLAN interface, enter the keyword vlan then a number from 1 to 4094.
2 Enable the interface.
INTERFACE mode
no shutdown
3 Congure a primary IP address and mask on the interface.
INTERFACE mode
ip address ip-address mask [secondary]
ip-address mask: the IP address must be in dotted decimal format (A.B.C.D). The mask must be in slash prex-length format
(/24).
secondary: add the keyword secondary if the IP address is the interface’s backup IP address. You can congure up to eight
secondary IP addresses.
Example the show config Command
To view the conguration, use the show config command in INTERFACE mode or use the show ip interface command in EXEC
privilege mode, as shown in the second example.
DellEMC(conf-if)#show conf
!
interface GigabitEthernet 1/1
ip address 10.11.1.1/24
no shutdown
!
Conguring Static Routes
A static route is an IP address that you manually congure and that the routing protocol does not learn, such as open shortest path rst
(OSPF). Often, static routes are used as backup routes in case other dynamically learned routes are unreachable.
You can enter as many static IP addresses as necessary.
To congure a static route, use the following command.
Congure a static IP address.
CONFIGURATION mode
ip route [vrf vrf-name] ip-address mask {ip-address | interface [ip-address]} [distance]
[permanent] [tag tag-value] [vrf vrf-name]
Use the following required and optional parameters:
vrf vrf-name : use the VRF option after the ip route keyword to congure a static route on that particular VRF, use the VRF
option after the next hop to specify which VRF the next hop belongs to. This will be used in route leaking cases.
NOTE
: For more information on route leaking, see the Route Leaking Between VRFs section.
ip-address: enter an address in dotted decimal format (A.B.C.D).
mask: enter a mask in slash prex-length format (/X).
interface: enter an interface type then the slot/port information.
distance: the range is from 1 to 255. (optional)
permanent: keep the static route in the routing table (if you use the interface option) even if you disable the interface with
the route. (optional)
390
IPv4 Routing