Pcornel
Browse topics
Options
Recent
Favorites
Command · Cisco IOS / IOS XE

interface <interface>.<subinterface>

interface <interface>.<subinterface>

Create or enter a subinterface.

Execution context

Global configuration → subinterface configuration

Use when

Create/enter a router subinterface for router-on-a-stick or other tagged Layer 3 designs.

Then verify

Compare control-plane and programmed state for the same object, then generate the original packet and verify counters/return path tied to that test. Repeat the original workload/request before closure.

Privilege Not recordedState impact Changes stateProduction Unknown

Operational impact: Creates/changes a logical Layer 3 interface.
Command detailsSafety model · family · platform · verification · bundle
PrivilegeNot recorded
Execution contextGlobal configuration → subinterface configuration
State impactChanges state
Safe during productionUnknown
CategoryRouter-on-a-Stick
Evidence levelmixed
Primary DomainNetworking
Historical technical verificationNeeds verification dateCurrent command content requires review after a Git edit.
Family Outer On A Tick
PlatformCisco IOS / IOS XE
PrerequisiteGlobal configuration → subinterface configuration
Output fields

Field glossary

Important fields projected from persisted Command guidance.

Physical parent interface and logical subinterface number.

Important persisted output field; use surrounding guidance for interpretation.

Command → Topic semantics

Used in these Topics

Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.

DomainsNetworking

Find another Command

Reference enrichment

Evidence boundary

What this output can establish — and where you must not over-claim.

Proves

Supports the state directly exposed by interface <interface>.<subinterface> for the selected object and execution context.

Does not prove

Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.

Next check

Compare control-plane and programmed state for the same object, then generate the original packet and verify counters/return path tied to that test. Repeat the original workload/request before closure.

Depth when you need it

Command guidance

Execution context

Global configuration → subinterface configuration

Use when

Create/enter a router subinterface for router-on-a-stick or other tagged Layer 3 designs.

Important fields

Physical parent interface and logical subinterface number.

Common problems

Wrong parent/subinterface; parent down; assuming subinterface number must equal VLAN ID (it is convention, not forwarding requirement).

Operational impact

Creates/changes a logical Layer 3 interface.

Runtime cautions

Can affect one VLAN without affecting other subinterfaces on the same physical link.

Technical context

The encapsulation dot1q VLAN ID, not the subinterface number, controls 802.1Q classification.

Command Output Deep Dive

Variants · known-good and broken output

Read the stored sample against its authored expected state and interpretation, then return to the Command evidence boundary for what the observation can and cannot prove.

Known-good · 1Broken · 1Transitional · 1Observed · 0
1 · Observe the exact persisted fields/state.2 · Compare with authored known-good, broken or transitional samples.3 · Apply the Command evidence boundary; output is not end-to-end proof.4 · Run the next discriminating check and repeat the original workload/test when relevant.
Known-good interpretationKnown-good · Cisco IOS / IOS XE first; hardware programming and command presentation vary by platform/release.
Expected object/state present; identifiers and counters align with the controlled test.
Expected state

healthy/terminal

Interpretation

interface <interface>.<subinterface> — Known-good. Expected object/state present; identifiers and counters align with the controlled test. Compare control-plane and programmed state for the same object, then generate the original packet and verify counters/return path tied to that test. Why it looks this way: the displayed fields belong to the network forwarding/control state boundary, so interpret identifiers, state, timers/counters and error/result fields in that scope. What it proves: only the state directly exposed by this command for the selected object/context. What it does not prove: adjacent dependency health, root cause, effective end-to-end behavior or the return path. Next check: follow discriminating boundaries: physical/interface → protocol/classification → learned/selected state → RIB/MAC/policy result → FIB/adjacency/hardware state → packet → return/application. and repeat the original workload/request.

Evidence boundary

Supports the state directly exposed by interface <interface>.<subinterface> for the selected object and execution context.

Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.
Next check

Compare control-plane and programmed state for the same object, then generate the original packet and verify counters/return path tied to that test. Repeat the original workload/request before closure.

Transitional interpretationTransitional · Cisco IOS / IOS XE first; hardware programming and command presentation vary by platform/release.
State is pending/negotiating/reconciling/recovering; progress/timer/counter changes between samples.
Expected state

in-progress

Interpretation

interface <interface>.<subinterface> — Transitional. State is pending/negotiating/reconciling/recovering; progress/timer/counter changes between samples. Compare control-plane and programmed state for the same object, then generate the original packet and verify counters/return path tied to that test. Why it looks this way: the displayed fields belong to the network forwarding/control state boundary, so interpret identifiers, state, timers/counters and error/result fields in that scope. What it proves: only the state directly exposed by this command for the selected object/context. What it does not prove: adjacent dependency health, root cause, effective end-to-end behavior or the return path. Next check: follow discriminating boundaries: physical/interface → protocol/classification → learned/selected state → RIB/MAC/policy result → FIB/adjacency/hardware state → packet → return/application. and repeat the original workload/request.

Evidence boundary

Supports the state directly exposed by interface <interface>.<subinterface> for the selected object and execution context.

Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.
Next check

Compare control-plane and programmed state for the same object, then generate the original packet and verify counters/return path tied to that test. Repeat the original workload/request before closure.

Broken interpretationBroken · Cisco IOS / IOS XE first; hardware programming and command presentation vary by platform/release.
Expected object/state is absent, failed, denied, unresolved or diverges from the controlled test context.
Expected state

failed/degraded

Interpretation

interface <interface>.<subinterface> — Broken. Expected object/state is absent, failed, denied, unresolved or diverges from the controlled test context. Compare control-plane and programmed state for the same object, then generate the original packet and verify counters/return path tied to that test. Why it looks this way: the displayed fields belong to the network forwarding/control state boundary, so interpret identifiers, state, timers/counters and error/result fields in that scope. What it proves: only the state directly exposed by this command for the selected object/context. What it does not prove: adjacent dependency health, root cause, effective end-to-end behavior or the return path. Next check: follow discriminating boundaries: physical/interface → protocol/classification → learned/selected state → RIB/MAC/policy result → FIB/adjacency/hardware state → packet → return/application. and repeat the original workload/request.

Evidence boundary

Supports the state directly exposed by interface <interface>.<subinterface> for the selected object and execution context.

Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.
Next check

Compare control-plane and programmed state for the same object, then generate the original packet and verify counters/return path tied to that test. Repeat the original workload/request before closure.

Confirmation

Confirm action

Continue?