Use Interface Configuration when assigning or checking an IPv4 address on a router or Layer 3 switch interface: ip address, no shutdown, the connected route and the interface status.
Interface Configuration
IPv4 interface configuration assigns an address and mask with ip address <ip> <mask> and enables the interface with no shutdown; verify with show ip interface brief and show ip interface <if>.
1. show ip interface brief — correct address? Status up/up?
2. administratively down → no shutdown.
3. up/down → Layer 1/2 problem (cable, speed, encapsulation).
4. show ip route connected — the subnet appears as C and the address as L?
5. Ping the neighbour on the same subnet.
address and mask configured → no shutdown → interface up/up → connected and local routes installed → neighbour on the subnet reachable
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
interface <interface>Primary Commands
Configuration and operational commands for this Topic.
interface <interface>ReferenceEnter interface configuration mode.
Use when: Use at the IOS / IOS XE Fundamentals boundary after prerequisite state is verified.
Quick note: Operational guidance. A command accepted by the parser does not prove feature support, correct scope, persistence or desired forwarding behavior.
Cisco IOS / IOS XE · mixedip address <address> <mask>ReferenceAssign an IPv4 address and mask to an interface.
Use when: Use this command at the GRE Tunnels boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. An up tunnel interface does not prove overlay routing, MTU safety or application reachability.
Cisco IOS / IOS XE · mixedno shutdownConfigureEnable an administratively shut down interface.
Use when: Use at the Copper, Fiber and Ethernet Physical Links boundary after prerequisite state is verified.
Quick note: Operational guidance. Link-up does not prove clean signal, correct duplex, sufficient optical margin or loss-free forwarding under load.
Cisco IOS / IOS XE · mixedShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show ip interfaceShowDisplay detailed IPv4 settings per interface, including applied ACLs.
Cisco IOS / IOS XE · mixedshow ip interface briefShowCompact IPv4 interface/address/protocol state.
Use when: Use as the prior manifest-approved bounded observation/validation surface for this exact Topic.
Quick note: Restores exact/ ownership only; this authored guidance is not observed production Evidence.
Cisco IOS XE · stateVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Known-good, broken and proof-boundary verification Verify boundary
Known-good state is the intended address/prefix on the intended interface and VRF, interface up/up, connected/local routes installed, and the original endpoint or routed workload passing. Broken state can be duplicate/wrong address, wrong prefix, down line protocol, wrong VRF or missing adjacency. Verify with interface summary/detail, route lookup and one neighbor test using the same source. Address presence does not show usable L2 adjacency or end-to-end routing; the limit of what it shows closes only after the original traffic test succeeds and the route/neighbor state remains stable.
Step 2 Native known-good discriminator and proof boundary — Interface Configuration Verify boundary
Known-good Interface Configuration means the intended interface is selected, no shutdown is effective when service is expected, the configured IPv4 address/mask is present in the correct context, and show ip interface brief plus show ip interface report the expected administrative/protocol and addressing state. Broken evidence includes the address on the wrong interface/VRF, administratively down state, unexpected secondary addressing, line-protocol failure or a configuration that is accepted but not usable because the adjacent subnet/ARP path is wrong. These commands show local interface configuration and state only; they cannot show peer reachability or application success. Repeat the original same-source traffic test and inspect the adjacent neighbor/return path before closure.
Step 3 Verification and output interpretation Verify boundary
Verify the configured address/prefix and administrative/line state, then confirm the connected route exists. Test ARP for a same-subnet peer and inspect CEF/adjacency for representative destinations. If the interface is an SVI, verify the VLAN is active and the SVI’s autostate conditions are met. Compare the peer’s mask and gateway because asymmetric subnet interpretation can make one direction look healthy while the reverse fails.
Step 4 Failure isolation: observation → implication → next check Narrow the fault
If the IPv4 address is absent, inspect the exact interface and running configuration. If the address is present but protocol is down, check physical/L2 state before IP. If the interface is up/up but the connected prefix is missing, verify VRF and prefix interpretation; if the connected route exists but the gateway or peer is unreachable, inspect ARP and the adjacent segment. If local adjacency works but remote traffic fails, follow the RIB/FIB, ACL/NAT and return path. Do not treat a successful self-ping as closure.
ip address <ip> <mask> replaces the primary address (add secondary for more). The interface must be up/up for its connected route to appear. On a Layer 3 switch port use no switchport first, or use an SVI. Duplicate addresses produce %IP-4-DUPADDR log messages.
show ip interface brief— address, status and protocol.show ip interface <if>— address with prefix, helper address, ACLs.show running-config interface <if>— configuration as entered.show ip route connected— connected and local routes from the interface.show logging | include DUPADDR— duplicate address conflicts.
ReferenceHow it works2 sections · depth on demand
Quick reference
IPv4 interface configuration assigns an address and mask to a router or Layer 3 switch interface, which automatically creates a connected and a local route for that subnet when the interface comes up.
interface GigabitEthernet0/1
description Uplink to ISP
ip address 203.0.113.2 255.255.255.252
no shutdown
interface Vlan20
ip address 10.20.0.1 255.255.255.0
ip helper-address 10.0.0.53
Documented example, not captured output.
| Check | Command |
|---|---|
| Status and IP | show ip interface brief |
| Details (helpers, ACLs) | show ip interface Gi0/1 |
| Routes created | show ip route connected |
Mechanics, state owner and dependency boundary
IPv4 interface configuration binds an address/prefix to a specific Layer-3 interface and causes IOS XE to create connected/local routes when the interface is operational. Administrative state, line protocol, address uniqueness, VRF membership and connected-route installation are different state owners. A correctly typed address on an administratively down or wrong-VRF interface cannot provide the expected adjacency, while an up interface can still fail because ARP, VLAN encapsulation or upstream routing is broken.
ReferenceImportant terms & boundaries3 sections · depth on demand
In depth
IPv4 interface configuration
To route, an interface needs an IP address. Cisco's Catalyst 9300 interface guide puts it plainly: Layer 3 interfaces need an IP address to route traffic; on a switch, that's either a routed port (no switchport) or an SVI (interface vlan <id>), and on a router, a physical or sub-interface.
Interface types
| Interface | Configuration |
|---|---|
| Router physical port | ip address <ip> <mask>, no shutdown |
| Router sub-interface (router on a stick) | encapsulation dot1Q <vlan> + ip address |
| Switch routed port | no switchport + ip address |
| SVI | interface vlan <id> + ip address; needs ip routing to route between VLANs |
| Loopback | interface loopback <n> + /32 address; always up |
| DHCP client | ip address dhcp (for example an Internet uplink) |
R1(config)# interface GigabitEthernet0/0/1
R1(config-if)# description to-SW1
R1(config-if)# ip address 10.0.12.1 255.255.255.252
R1(config-if)# no shutdown
R1(config)# interface GigabitEthernet0/0/2.110
R1(config-subif)# encapsulation dot1Q 110
R1(config-subif)# ip address 10.110.0.1 255.255.255.0
R1(config)# interface Loopback0
R1(config-if)# ip address 10.255.0.1 255.255.255.255
R1# show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0/1 10.0.12.1 YES manual up up
GigabitEthernet0/0/2 unassigned YES unset up up
Gi0/0/2.110 10.110.0.1 YES manual up up
Loopback0 10.255.0.1 YES manual up up
Status columns
| Status / Protocol | Meaning |
|---|---|
| up / up | Working |
| administratively down / down | shutdown configured |
| down / down | No link (cable, far end down) |
| up / down | Link but no keepalives or line protocol (encapsulation mismatch, SVI without active VLAN ports) |
Secondary addresses and IP unnumbered
ip address <ip> <mask> secondary adds extra subnets (useful during migrations); ip unnumbered loopback0 borrows an address on point-to-point links.
Checks
Confirm the mask matches the neighbour's, the interface is up/up, and the connected route appears (show ip route connected).
Documented example, not captured output.
State model and technical mechanics
Assigning an IPv4 address and mask to a routed interface or SVI creates the router’s local address and, when the interface is operational, a connected route for that prefix. Destinations inside the connected prefix require ARP resolution to a local MAC; remote destinations use a routing-table decision and then resolve the selected next hop. An SVI additionally depends on the VLAN and switching state, whereas a physical routed port depends directly on its own link state. The address configuration is therefore one layer in a chain: interface operational state → connected route → ARP/next-hop resolution → CEF → packet forwarding. Read the mechanism as a chain of dependent state rather than a single boolean. The same configured object can be healthy locally while an adjacent interface, policy, route, neighbor or endpoint prevents the intended service, so the reference keeps those state boundaries explicit.
Limits and common misconceptions
A configured address does not guarantee the connected route is active; the interface must satisfy its operational conditions. Likewise, a connected route does not show a host exists or will answer ARP. Successful ping to the local interface address shows the local control plane responded, not that packets can traverse the attached segment or reach a remote application.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration model
Choose the address/prefix from the documented plan, add a meaningful interface description and enable the interface intentionally. Avoid overlapping connected networks unless the platform/design explicitly supports the intended behavior because overlapping interfaces make source selection and route ownership difficult to reason about. For point-to-point links, use a prefix sized for the design; for LAN gateway interfaces, align the prefix with host configuration and redundancy requirements. Treat secondary addressing, proxy ARP and similar exceptions as explicit design choices rather than defaults to reach for when basic subnetting is wrong.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IP Fundamentals → IPv4 → Interface Configuration. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc791.html · confidence 94%Quick lookup tables
Interface Configuration · technical reference
Compact mechanics, configuration and evidence boundaries for fast lookup.
| Stage | Expected evidence |
|---|---|
| Interface | Address/prefix configured |
| Operational | Interface/SVI up |
| RIB | Connected route present |
| Forwarding | ARP + CEF adjacency as needed |