VTY line configuration mode.
access-class <acl> in
access-class <acl> in
Apply an ACL to VTY lines to restrict which source addresses may open management sessions.
Restrict remote VTY access to approved source addresses.
Use counters or packet trace for the exact test tuple, confirm the intended rule/action and translated/session state, then verify forwarding and the reverse/application transaction. Repeat the original workload/request before closure.
Privilege Not recordedState impact Changes stateProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
ACL reference and inbound management-session source filter.Important persisted output field; use surrounding guidance for interpretation.
Used in these Topics
Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.
Evidence boundary
What this output can establish — and where you must not over-claim.
Supports the state directly exposed by access-class <acl> in for the selected object and execution context.
Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.
Use counters or packet trace for the exact test tuple, confirm the intended rule/action and translated/session state, then verify forwarding and the reverse/application transaction. Repeat the original workload/request before closure.
Command guidance
Execution context
VTY line configuration mode.
Use when
Restrict remote VTY access to approved source addresses.
Important fields
ACL reference and inbound management-session source filter.
Common problems
Actual management source differs because of NAT/routing; ACL omits admin subnet; applied without recovery path.
Operational impact
Can lock out remote management sessions.
Runtime cautions
Keep an existing session and alternate recovery path until a new allowed session is proven.
Technical context
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 state patternKnown-good · Cisco IOS / IOS XE
State pattern: expected object is present, identity/scope matches the controlled test, terminal state is healthy and relevant counters/results are internally consistent.healthy/terminal
access-class <acl> in — Known-good. State pattern: expected object is present, identity/scope matches the controlled test, terminal state is healthy and relevant counters/results are internally consistent. Why: this command exposes classification, policy and forwarding decision state. What it proves: only the selected object/context and fields directly returned here. What it does not prove: root cause, adjacent dependency health or end-to-end workload success. Next check: Use counters or packet trace for the exact test tuple, confirm the intended rule/action and translated/session state, then verify forwarding and the reverse/application transaction. Then repeat the original workload/request and verify the return path.
Supports the state directly exposed by access-class <acl> in 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.Use counters or packet trace for the exact test tuple, confirm the intended rule/action and translated/session state, then verify forwarding and the reverse/application transaction. Repeat the original workload/request before closure.
Transitional state patternTransitional · Cisco IOS / IOS XE
State pattern: object exists but negotiation, convergence, reconciliation, retry or recovery is still progressing; timers/counters or stage markers should change between samples.in-progress
access-class <acl> in — Transitional. State pattern: object exists but negotiation, convergence, reconciliation, retry or recovery is still progressing; timers/counters or stage markers should change between samples. Why: this command exposes classification, policy and forwarding decision state. What it proves: only the selected object/context and fields directly returned here. What it does not prove: root cause, adjacent dependency health or end-to-end workload success. Next check: Use counters or packet trace for the exact test tuple, confirm the intended rule/action and translated/session state, then verify forwarding and the reverse/application transaction. Then repeat the original workload/request and verify the return path.
Supports the state directly exposed by access-class <acl> in 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.Use counters or packet trace for the exact test tuple, confirm the intended rule/action and translated/session state, then verify forwarding and the reverse/application transaction. Repeat the original workload/request before closure.
Broken state patternBroken · Cisco IOS / IOS XE
State pattern: expected object is absent, denied, unresolved, failed or divergent from the controlled test; error/result fields identify the directly observed boundary, not automatic root cause.failed/degraded
access-class <acl> in — Broken. State pattern: expected object is absent, denied, unresolved, failed or divergent from the controlled test; error/result fields identify the directly observed boundary, not automatic root cause. Why: this command exposes classification, policy and forwarding decision state. What it proves: only the selected object/context and fields directly returned here. What it does not prove: root cause, adjacent dependency health or end-to-end workload success. Next check: Use counters or packet trace for the exact test tuple, confirm the intended rule/action and translated/session state, then verify forwarding and the reverse/application transaction. Then repeat the original workload/request and verify the return path.
Supports the state directly exposed by access-class <acl> in 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.Use counters or packet trace for the exact test tuple, confirm the intended rule/action and translated/session state, then verify forwarding and the reverse/application transaction. Repeat the original workload/request before closure.