Pcornel
H3 · Practical network exams · Cisco IOS / IOS XE

Finals

Configuration first, verification second, theory third. Reference templates require task-specific adaptation.

Content version 1.1-draft

Golden Scripts

Case Skills Exam · 6 hours

Router

Static Golden Script

Open TXT

L3 Switch

Static Golden Script

Open TXT

L2 Switch

Static Golden Script

Open TXT

Skills Exam · 2 hours

Router

Static Golden Script

Open TXT

L3 Switch

Static Golden Script

Open TXT

L2 Switch

Static Golden Script

Open TXT

Keyboard shortcuts

/ Finals search · Ctrl K global command palette · Alt E Exam Mode · Alt G Golden Scripts · Alt T Exam Topics · Alt V Verify · Esc close dialog.

Exam topics and checklists

Case Skills Exam

0 / 21 completed

Skills Exam

0 / 17 completed

Configuration order

Recommended sequence. The actual exam task takes precedence.

  1. Basic configuration
  2. VLAN and interface types · VLAN
  3. Trunking and EtherChannel · 802.1Q Trunking · EtherChannel
  4. Spanning Tree · STP · PortFast · BPDU Guard
  5. IPv4 and IPv6 addressing · IPv4 and IPv6 Addressing
  6. Static routing and summarization · Static Routing (IPv4/IPv6) · Route Summarization
  7. OSPF · OSPFv2 · OSPFv3 (Traditional/Legacy)
  8. MP-BGP · MP-BGP (IPv4/IPv6)
  9. IP SLA and tracking · IP SLA · Object Tracking
  10. HSRPv2 · HSRPv2 (IPv4/IPv6)
  11. Security · Password Hashing Algorithms · AAA · RADIUS · ACL
  12. Management · NTP · Syslog · SNMPv2c
  13. Final verification and save

Layer 2

VLAN

VLANs divide a switched network into separate Layer 2 broadcast domains. A switch virtual interface (SVI) provides IP management or inter-VLAN routing when supported and configured.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Use the VLAN IDs specified by the task.
  • Create the VLAN before assigning access ports.
Create a VLAN Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
vlan [VLAN-ID]
 name [VLAN-NAME]
 exit
end
Command parameters
[VLAN-ID]
VLAN identifier.
[VLAN-NAME]
Descriptive VLAN name.
Assign an access interface Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
vlan [VLAN-ID]
 name [VLAN-NAME]
 exit
interface [INTERFACE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
Command parameters
[VLAN-ID]
VLAN identifier.
[VLAN-NAME]
Descriptive VLAN name.
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
Layer 2 management SVI Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • Use the default gateway only when the device is not routing IP.
enable
configure terminal
vlan [VLAN-ID]
 name [VLAN-NAME]
 exit
interface vlan [VLAN-ID]
 ip address [IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
ip default-gateway [NEXT-HOP]
end
Command parameters
[VLAN-ID]
VLAN identifier.
[VLAN-NAME]
Descriptive VLAN name.
[IP-ADDRESS]
Local IPv4 interface address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
[NEXT-HOP]
IPv4 next-hop address.
Layer 3 SVI Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
ip routing
vlan [VLAN-ID]
 name [VLAN-NAME]
 exit
interface vlan [VLAN-ID]
 ip address [IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
Command parameters
[VLAN-ID]
VLAN identifier.
[VLAN-NAME]
Descriptive VLAN name.
[IP-ADDRESS]
Local IPv4 interface address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
IPv6 routed SVI Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
ip routing
ipv6 unicast-routing
vlan [VLAN-ID]
 exit
interface vlan [VLAN-ID]
 ipv6 address [IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
Command parameters
[VLAN-ID]
VLAN identifier.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
Voice VLAN (only if requested) Optional when requested
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
vlan [VLAN-ID]
 exit
vlan [VOICE-VLAN]
 exit
interface [INTERFACE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 switchport voice vlan [VOICE-VLAN]
 no shutdown
 exit
end
Command parameters
[VLAN-ID]
VLAN identifier.
[VOICE-VLAN]
Voice VLAN identifier distinct from the access VLAN.
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.

Show / Verify

Primary verification Section link
show vlan brief
Example output
10   USERS   active   Gi0/1

Check that the requested VLAN exists and that access ports are assigned correctly.

Detailed verification Section link
show interfaces [INTERFACE] switchport
Example output
Operational Mode: static access
Access Mode VLAN: 10 (USERS)

Check the actual switchport mode and access VLAN.

Detailed verification Section link
show ip interface brief
Example output
Vlan10   192.0.2.1   YES manual   up   up

Check the SVI status when an IPv4 SVI is configured.

Detailed verification Section link
show ipv6 interface brief
Example output
Vlan10   [up/up]
    2001:DB8:10::1

Check the IPv6 SVI address and line state.

Open full topic, examples, mistakes and removal

An 802.1Q trunk transports multiple VLANs across one link. Frames are tagged except for native VLAN traffic under the usual native VLAN behavior.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Create the required VLANs.
  • Use compatible settings on both endpoints.
Static 802.1Q trunk Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • On a switch with fixed 802.1Q encapsulation, omit the encapsulation selection command if it is not supported. Match native VLAN and allowed VLANs at both ends.
enable
configure terminal
interface [INTERFACE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[NATIVE-VLAN]
Matching native VLAN ID on trunk peers.
[ALLOWED-VLANS]
Comma-separated VLAN IDs and ranges; replace the whole list only when intended.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: NATIVE-VLAN, ALLOWED-VLANS

enable
configure terminal
interface [INTERFACE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end

Show / Verify

Primary verification Section link
show interfaces trunk
Example output
Port      Mode   Encapsulation  Status    Native vlan
Gi0/1     on     802.1q         trunking  99

Confirm operational trunking, encapsulation and native VLAN. Inspect allowed, active and forwarding VLAN lists.

Detailed verification Section link
show interfaces [INTERFACE] switchport
Example output
Administrative Mode: trunk
Operational Mode: trunk

The interface is operating as a trunk, not only administratively configured as one.

Open full topic, examples, mistakes and removal

STP

Spanning Tree prevents Layer 2 loops by electing a root bridge and selecting forwarding and non-forwarding ports. PVST+ and Rapid PVST+ maintain per-VLAN spanning-tree instances.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Identify the desired root and secondary root for each VLAN.
  • Ensure the relevant VLANs and links exist.
Rapid PVST+ Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: stp-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
spanning-tree mode rapid-pvst
end
PVST+ Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: stp-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
spanning-tree mode pvst
end
Root primary Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: stp-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
spanning-tree vlan [VLAN-ID] root primary
end
Command parameters
[VLAN-ID]
VLAN identifier.
Root secondary Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: stp-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
spanning-tree vlan [VLAN-ID] root secondary
end
Command parameters
[VLAN-ID]
VLAN identifier.
Explicit bridge priority Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: stp-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Use an allowed multiple of 4096; a lower bridge ID is preferred.
enable
configure terminal
spanning-tree vlan [VLAN-ID] priority [BRIDGE-PRIORITY]
end
Command parameters
[VLAN-ID]
VLAN identifier.
[BRIDGE-PRIORITY]
STP bridge priority, normally a multiple of 4096.
Explicit port cost Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: stp-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
interface [INTERFACE]
 spanning-tree vlan [VLAN-ID] cost [STP-COST]
 exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[VLAN-ID]
VLAN identifier.
[STP-COST]
Spanning-tree port path cost.
Explicit port priority Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: stp-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Port priority is an additional tie-breaker; select a supported increment.
enable
configure terminal
interface [INTERFACE]
 spanning-tree vlan [VLAN-ID] port-priority [PORT-PRIORITY]
 exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[VLAN-ID]
VLAN identifier.
[PORT-PRIORITY]
STP port priority using a supported increment.

Show / Verify

Primary verification Section link
show spanning-tree vlan [VLAN-ID]
Example output
This bridge is the root

On the intended root, this bridge should be the root for the selected VLAN.

Detailed verification Section link
show spanning-tree
Example output
Gi0/1   Root FWD   4   128.1   P2p

Check the port role, forwarding state and path cost.

Detailed verification Section link
show spanning-tree summary
Example output
Switch is in rapid-pvst mode

Confirm the configured spanning-tree mode.

Open full topic, examples, mistakes and removal

PortFast

PortFast allows an edge interface to enter forwarding rapidly instead of waiting for normal spanning-tree convergence. It does not disable spanning tree.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Use only an edge port connected to an end device.
  • Do not enable on an ordinary inter-switch link.
Access edge port Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
interface [INTERFACE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 spanning-tree portfast
 no shutdown
 exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[VLAN-ID]
VLAN identifier.
Default on access edge ports Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • Review all affected non-trunk interfaces first.
enable
configure terminal
spanning-tree portfast default
end
Trunk to an edge endpoint Optional when requested
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • On a switch with fixed 802.1Q encapsulation, omit the encapsulation selection command if it is not supported. Match native VLAN and allowed VLANs at both ends.
  • Use only for an explicitly intended edge trunk, never a normal switch-to-switch trunk.
enable
configure terminal
interface [INTERFACE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 spanning-tree portfast trunk
 exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[NATIVE-VLAN]
Matching native VLAN ID on trunk peers.
[ALLOWED-VLANS]
Comma-separated VLAN IDs and ranges; replace the whole list only when intended.

Show / Verify

Primary verification Section link
show spanning-tree interface [INTERFACE] detail
Example output
The port is in the portfast mode

Confirm the interface is an intended edge port.

Detailed verification Section link
show spanning-tree summary
Example output
Portfast Default is enabled

Check global default when configured.

Open full topic, examples, mistakes and removal

BPDU Guard

BPDU Guard protects an edge port by placing it into err-disabled state when a BPDU is received under the configured guard policy.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Identify edge ports.
  • Remove the unexpected BPDU source before recovering an affected port.
Interface BPDU Guard Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
interface [INTERFACE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 spanning-tree portfast
 spanning-tree bpduguard enable
 no shutdown
 exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[VLAN-ID]
VLAN identifier.
Global PortFast BPDU Guard Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
spanning-tree portfast default
spanning-tree portfast bpduguard default
end
Optional timed recovery Optional when requested
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • Only enable automatic recovery if requested. A persistent BPDU source can repeatedly disable the port.
enable
configure terminal
errdisable recovery cause bpduguard
errdisable recovery interval [RECOVERY-SECONDS]
end
Command parameters
[RECOVERY-SECONDS]
Errdisable recovery interval in seconds.

Show / Verify

Primary verification Section link
show spanning-tree summary
Example output
PortFast BPDU Guard Default is enabled

Confirm the global guard policy if configured.

Detailed verification Section link
show interfaces status err-disabled
Example output
Gi0/1   err-disabled   bpduguard

An unexpected BPDU can disable a guarded port; locate and remove the cause before recovery.

Detailed verification Section link
show errdisable recovery
Example output
bpduguard   Enabled

Confirm timed recovery only if requested.

Open full topic, examples, mistakes and removal

EtherChannel

EtherChannel bundles compatible physical links into a single logical port-channel. LACP and PAgP negotiate membership; static mode does not negotiate.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Use compatible member speeds, duplex and switchport or routed settings.
  • Use the same protocol and compatible negotiation modes at both endpoints.
  • For a new group, use an unused port-channel ID; do not overwrite unrelated interfaces.
TRUNK – LACP active / active Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • On a switch with fixed 802.1Q encapsulation, omit the encapsulation selection command if it is not supported. Match native VLAN and allowed VLANs at both ends.
enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[NATIVE-VLAN]
Matching native VLAN ID on trunk peers.
[ALLOWED-VLANS]
Comma-separated VLAN IDs and ranges; replace the whole list only when intended.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: NATIVE-VLAN, ALLOWED-VLANS

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
TRUNK – LACP active / passive Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • On a switch with fixed 802.1Q encapsulation, omit the encapsulation selection command if it is not supported. Match native VLAN and allowed VLANs at both ends.
enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[NATIVE-VLAN]
Matching native VLAN ID on trunk peers.
[ALLOWED-VLANS]
Comma-separated VLAN IDs and ranges; replace the whole list only when intended.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: NATIVE-VLAN, ALLOWED-VLANS

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode passive
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
TRUNK – PAgP desirable / desirable Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • On a switch with fixed 802.1Q encapsulation, omit the encapsulation selection command if it is not supported. Match native VLAN and allowed VLANs at both ends.
  • PAgP support is platform-dependent.
enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[NATIVE-VLAN]
Matching native VLAN ID on trunk peers.
[ALLOWED-VLANS]
Comma-separated VLAN IDs and ranges; replace the whole list only when intended.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: NATIVE-VLAN, ALLOWED-VLANS

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
TRUNK – PAgP desirable / auto Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • On a switch with fixed 802.1Q encapsulation, omit the encapsulation selection command if it is not supported. Match native VLAN and allowed VLANs at both ends.
  • PAgP support is platform-dependent.
enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[NATIVE-VLAN]
Matching native VLAN ID on trunk peers.
[ALLOWED-VLANS]
Comma-separated VLAN IDs and ranges; replace the whole list only when intended.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: NATIVE-VLAN, ALLOWED-VLANS

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode auto
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
TRUNK – Static on / on Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • On a switch with fixed 802.1Q encapsulation, omit the encapsulation selection command if it is not supported. Match native VLAN and allowed VLANs at both ends.
  • Both endpoints must be explicitly configured on; incorrect static bundling can cause loops or loss of traffic.
enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode on
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[NATIVE-VLAN]
Matching native VLAN ID on trunk peers.
[ALLOWED-VLANS]
Comma-separated VLAN IDs and ranges; replace the whole list only when intended.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: NATIVE-VLAN, ALLOWED-VLANS

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 channel-group [CHANNEL-GROUP] mode on
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
ACCESS – LACP active / active Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[VLAN-ID]
VLAN identifier.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: VLAN-ID

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
ACCESS – LACP active / passive Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[VLAN-ID]
VLAN identifier.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: VLAN-ID

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode passive
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
ACCESS – PAgP desirable / desirable Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • PAgP support is platform-dependent.
enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[VLAN-ID]
VLAN identifier.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: VLAN-ID

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
ACCESS – PAgP desirable / auto Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • PAgP support is platform-dependent.
enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[VLAN-ID]
VLAN identifier.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: VLAN-ID

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode auto
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
ACCESS – Static on / on Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Both endpoints must be explicitly configured on; incorrect static bundling can cause loops or loss of traffic.
enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode on
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[VLAN-ID]
VLAN identifier.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: VLAN-ID

enable
configure terminal
interface range [INTERFACE-RANGE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 channel-group [CHANNEL-GROUP] mode on
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
ROUTED – LACP active / active Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IP-ADDRESS]
Local IPv4 interface address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: SUBNET-MASK

enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [REMOTE-IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
ROUTED – LACP active / passive Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IP-ADDRESS]
Local IPv4 interface address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: SUBNET-MASK

enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode passive
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [REMOTE-IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
ROUTED – PAgP desirable / desirable Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • PAgP support is platform-dependent.
enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IP-ADDRESS]
Local IPv4 interface address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: SUBNET-MASK

enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [REMOTE-IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
ROUTED – PAgP desirable / auto Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • PAgP support is platform-dependent.
enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IP-ADDRESS]
Local IPv4 interface address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: SUBNET-MASK

enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode auto
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [REMOTE-IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
ROUTED – Static on / on Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Both endpoints must be explicitly configured on; incorrect static bundling can cause loops or loss of traffic.
enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode on
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IP-ADDRESS]
Local IPv4 interface address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: SUBNET-MASK

enable
configure terminal
ip routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode on
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [REMOTE-IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
ROUTED – LACP active / active (IPv6) Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: PREFIX-LENGTH

enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [PEER-IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
ROUTED – LACP active / passive (IPv6) Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode active
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: PREFIX-LENGTH

enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode passive
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [PEER-IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
ROUTED – PAgP desirable / desirable (IPv6) Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • PAgP support is platform-dependent.
enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: PREFIX-LENGTH

enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [PEER-IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
ROUTED – PAgP desirable / auto (IPv6) Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • PAgP support is platform-dependent.
enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode desirable
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: PREFIX-LENGTH

enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode auto
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [PEER-IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
ROUTED – Static on / on (IPv6) Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: etherchannel-link. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Both endpoints must be explicitly configured on; incorrect static bundling can cause loops or loss of traffic.
enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode on
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end
Command parameters
[INTERFACE-RANGE]
Local Cisco interface range expression.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
Peer configuration — Other switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: PREFIX-LENGTH

enable
configure terminal
ip routing
ipv6 unicast-routing
interface range [INTERFACE-RANGE]
 no switchport
 channel-group [CHANNEL-GROUP] mode on
 no shutdown
 exit
interface port-channel [CHANNEL-GROUP]
 no switchport
 ipv6 address [PEER-IPV6-ADDRESS]/[PREFIX-LENGTH]
 no shutdown
 exit
end

Show / Verify

Primary verification Section link
show etherchannel summary
Example output
1   Po1(SU)   LACP   Gi0/1(P) Gi0/2(P)

S = Layer 2, U = in use, P = bundled; routed Port-channels normally show RU.

Detailed verification Section link
show etherchannel port-channel
Example output
Port-channel: Po1

Inspect the logical bundle and active members.

Detailed verification Section link
show interfaces trunk
Example output
Po1   on   802.1q   trunking   99

For a trunk bundle, verify the logical Port-channel and VLANs.

Detailed verification Section link
show lacp neighbor
Example output
Channel group 1 neighbors

Use on LACP bundles to inspect the partner.

Detailed verification Section link
show pagp neighbor
Example output
Channel group 1 neighbors

Use on PAgP bundles to inspect the partner.

Detailed verification Section link
show ip interface brief
Example output
Port-channel1  192.0.2.1  YES manual  up  up

For a routed IPv4 bundle, verify the logical interface.

Detailed verification Section link
show ipv6 interface brief
Example output
Port-channel1  [up/up]
    2001:DB8::1

For a routed IPv6 bundle, inspect its logical interface.

Open full topic, examples, mistakes and removal

Layer 3

Static routes manually select a next hop or outgoing interface for a destination prefix. A floating route uses a higher administrative distance to serve as a backup.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Next hop must be resolvable; exit interfaces must be operational.
  • Enable routing on L3 switches and IPv6 routing for IPv6.
Next-hop route Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: static-routing-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
ip route [NETWORK] [SUBNET-MASK] [NEXT-HOP]
end
Command parameters
[NETWORK]
IPv4 destination or matching network address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
[NEXT-HOP]
IPv4 next-hop address.
Exit-interface route Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: static-routing-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Prefer this on a point-to-point link; on multiaccess Ethernet use a next hop or fully specified route.
enable
configure terminal
ip route [NETWORK] [SUBNET-MASK] [INTERFACE]
end
Command parameters
[NETWORK]
IPv4 destination or matching network address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
Fully specified route Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: static-routing-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
ip route [NETWORK] [SUBNET-MASK] [INTERFACE] [NEXT-HOP]
end
Command parameters
[NETWORK]
IPv4 destination or matching network address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[NEXT-HOP]
IPv4 next-hop address.
Default route Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: static-routing-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
ip route 0.0.0.0 0.0.0.0 [NEXT-HOP]
end
Command parameters
[NEXT-HOP]
IPv4 next-hop address.
Floating backup route Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: static-routing-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Choose a distance greater than the preferred route.
enable
configure terminal
ip route [NETWORK] [SUBNET-MASK] [NEXT-HOP] [BACKUP-DISTANCE]
end
Command parameters
[NETWORK]
IPv4 destination or matching network address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
[NEXT-HOP]
IPv4 next-hop address.
[BACKUP-DISTANCE]
Administrative distance of the floating route; greater than the primary.
Next-hop route Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: static-routing-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Use a resolvable global-unicast next hop in this form. If the next hop is link-local, include the outgoing interface (fully specified route).
enable
configure terminal
ipv6 route [IPV6-PREFIX]/[PREFIX-LENGTH] [NEXT-HOP-IPV6]
end
Command parameters
[IPV6-PREFIX]
IPv6 destination network prefix without slash length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
[NEXT-HOP-IPV6]
IPv6 next-hop address; a link-local next hop needs an exit interface.
Exit-interface route Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: static-routing-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Prefer this on a point-to-point link; on multiaccess Ethernet use a next hop or fully specified route.
enable
configure terminal
ipv6 route [IPV6-PREFIX]/[PREFIX-LENGTH] [INTERFACE]
end
Command parameters
[IPV6-PREFIX]
IPv6 destination network prefix without slash length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
Fully specified route Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: static-routing-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
ipv6 route [IPV6-PREFIX]/[PREFIX-LENGTH] [INTERFACE] [NEXT-HOP-IPV6]
end
Command parameters
[IPV6-PREFIX]
IPv6 destination network prefix without slash length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[NEXT-HOP-IPV6]
IPv6 next-hop address; a link-local next hop needs an exit interface.
Default route Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: static-routing-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Use a resolvable global-unicast next hop in this form. If the next hop is link-local, include the outgoing interface (fully specified route).
enable
configure terminal
ipv6 route ::/0 [NEXT-HOP-IPV6]
end
Command parameters
[NEXT-HOP-IPV6]
IPv6 next-hop address; a link-local next hop needs an exit interface.
Floating backup route Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: static-routing-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Choose a distance greater than the preferred route.
  • Use a resolvable global-unicast next hop in this form. If the next hop is link-local, include the outgoing interface (fully specified route).
enable
configure terminal
ipv6 route [IPV6-PREFIX]/[PREFIX-LENGTH] [NEXT-HOP-IPV6] [BACKUP-DISTANCE]
end
Command parameters
[IPV6-PREFIX]
IPv6 destination network prefix without slash length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
[NEXT-HOP-IPV6]
IPv6 next-hop address; a link-local next hop needs an exit interface.
[BACKUP-DISTANCE]
Administrative distance of the floating route; greater than the primary.

Show / Verify

Primary verification Section link
show ip route static
Example output
S    198.51.100.0/24 [1/0] via 192.0.2.2

Check the installed route and resolved next hop.

Detailed verification Section link
show ipv6 route static
Example output
S   2001:DB8:2::/64 [1/0]
     via FE80::2, GigabitEthernet0/0

Check the IPv6 next hop and exit interface.

Detailed verification Section link
show ip route [DESTINATION-IP]
Example output
Routing entry for 198.51.100.0/24

Inspect the longest matching route.

Detailed verification Section link
show ipv6 route [DESTINATION-IPV6]
Example output
Routing entry for 2001:DB8:2::/64

Inspect the longest matching IPv6 route.

Open full topic, examples, mistakes and removal

Summarization advertises or installs an aggregate prefix covering multiple contiguous, aligned networks. It reduces route count but may attract traffic for unused addresses within the aggregate.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Calculate the common leading bits and confirm the aggregate boundary.
  • Check return routing and whether a discard route is appropriate.
IPv4 summary route Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
ip route [SUMMARY-NETWORK] [SUMMARY-MASK] [NEXT-HOP]
end
Command parameters
[SUMMARY-NETWORK]
Aligned IPv4 aggregate network address.
[SUMMARY-MASK]
IPv4 aggregate subnet mask.
[NEXT-HOP]
IPv4 next-hop address.
IPv6 summary route Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
ipv6 route [SUMMARY-IPV6-PREFIX]/[SUMMARY-PREFIX-LENGTH] [NEXT-HOP-IPV6]
end
Command parameters
[SUMMARY-IPV6-PREFIX]
Aligned IPv6 aggregate prefix without slash length.
[SUMMARY-PREFIX-LENGTH]
IPv6 aggregate prefix length without slash.
[NEXT-HOP-IPV6]
IPv6 next-hop address; a link-local next hop needs an exit interface.
OSPFv2 ABR summary Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
router ospf [PROCESS-ID]
 area [AREA-ID] range [SUMMARY-NETWORK] [SUMMARY-MASK]
 exit
end
Command parameters
[PROCESS-ID]
Local routing process identifier.
[AREA-ID]
OSPF area number or dotted area ID.
[SUMMARY-NETWORK]
Aligned IPv4 aggregate network address.
[SUMMARY-MASK]
IPv4 aggregate subnet mask.
Legacy OSPFv3 ABR summary Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
ipv6 router ospf [PROCESS-ID]
 area [AREA-ID] range [SUMMARY-IPV6-PREFIX]/[SUMMARY-PREFIX-LENGTH]
 exit
end
Command parameters
[PROCESS-ID]
Local routing process identifier.
[AREA-ID]
OSPF area number or dotted area ID.
[SUMMARY-IPV6-PREFIX]
Aligned IPv6 aggregate prefix without slash length.
[SUMMARY-PREFIX-LENGTH]
IPv6 aggregate prefix length without slash.
OSPFv2 ASBR external summary Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
router ospf [PROCESS-ID]
 summary-address [SUMMARY-NETWORK] [SUMMARY-MASK]
 exit
end
Command parameters
[PROCESS-ID]
Local routing process identifier.
[SUMMARY-NETWORK]
Aligned IPv4 aggregate network address.
[SUMMARY-MASK]
IPv4 aggregate subnet mask.
BGP IPv4 aggregate Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • Requires contributing more-specific BGP routes. summary-only suppresses their advertisement.
enable
configure terminal
router bgp [LOCAL-AS]
 address-family ipv4 unicast
  aggregate-address [SUMMARY-NETWORK] [SUMMARY-MASK] summary-only
 exit-address-family
 exit
end
Command parameters
[LOCAL-AS]
Local BGP autonomous system number.
[SUMMARY-NETWORK]
Aligned IPv4 aggregate network address.
[SUMMARY-MASK]
IPv4 aggregate subnet mask.
Traditional OSPFv3 ASBR external summary Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • Use on the ASBR for redistributed external routes, not inter-area summarization.
enable
configure terminal
ipv6 router ospf [PROCESS-ID]
 summary-prefix [SUMMARY-IPV6-PREFIX]/[SUMMARY-PREFIX-LENGTH]
 exit
end
Command parameters
[PROCESS-ID]
Local routing process identifier.
[SUMMARY-IPV6-PREFIX]
Aligned IPv6 aggregate prefix without slash length.
[SUMMARY-PREFIX-LENGTH]
IPv6 aggregate prefix length without slash.
BGP IPv6 aggregate Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • Requires contributing more-specific BGP routes; summary-only suppresses their advertisement.
enable
configure terminal
router bgp [LOCAL-AS]
 address-family ipv6 unicast
  aggregate-address [SUMMARY-IPV6-PREFIX]/[SUMMARY-PREFIX-LENGTH] summary-only
 exit-address-family
 exit
end
Command parameters
[LOCAL-AS]
Local BGP autonomous system number.
[SUMMARY-IPV6-PREFIX]
Aligned IPv6 aggregate prefix without slash length.
[SUMMARY-PREFIX-LENGTH]
IPv6 aggregate prefix length without slash.

Show / Verify

Primary verification Section link
show ip route [SUMMARY-NETWORK]
Example output
Routing entry for 10.0.0.0/16

Check the aggregate prefix and next hop.

Detailed verification Section link
show ipv6 route [SUMMARY-IPV6-PREFIX]/[SUMMARY-PREFIX-LENGTH]
Example output
Routing entry for 2001:DB8::/48

Check the aggregate boundary.

Detailed verification Section link
show ip ospf database summary
Example output
Summary Net Link States (Area 0)

Inspect inter-area summaries on the receiving side.

Detailed verification Section link
show ipv6 ospf summary-prefix
Example output
Summary-prefix 2001:DB8::/48

Inspect configured external summary prefixes on the ASBR.

Detailed verification Section link
show bgp ipv6 unicast
Example output
*> 2001:DB8::/48  ::

Check that the aggregate exists and inspect advertisements on the intended peer.

Detailed verification Section link
show bgp ipv4 unicast
Example output
*> 10.0.0.0/16  0.0.0.0

Check the IPv4 aggregate and whether more-specific advertisements are suppressed as required.

Open full topic, examples, mistakes and removal

OSPFv2

OSPFv2 is an IPv4 link-state routing protocol. Routers establish adjacencies, synchronize link-state databases and calculate paths by cost.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Assign IPv4 addresses and enable routing on L3 switches.
  • Use unique router IDs and matching area, timers, authentication and network type.
Network statement Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: ospfv2-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
router ospf [PROCESS-ID]
 router-id [ROUTER-ID]
 network [NETWORK] [WILDCARD-MASK] area [AREA-ID]
 exit
end
Command parameters
[PROCESS-ID]
Local routing process identifier.
[ROUTER-ID]
Unique 32-bit routing protocol router ID in dotted decimal notation.
[NETWORK]
IPv4 destination or matching network address.
[WILDCARD-MASK]
Inverse IPv4 mask used for matching.
[AREA-ID]
OSPF area number or dotted area ID.
Peer configuration — Adjacent router or L3 switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: AREA-ID

  • Use the peer's own addresses and interfaces. Process IDs are locally significant. Match area and compatible link parameters.
enable
configure terminal
router ospf [PROCESS-ID]
 router-id [PEER-ROUTER-ID]
 network [PEER-NETWORK] [WILDCARD-MASK] area [AREA-ID]
 exit
end
Interface activation Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: ospfv2-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
router ospf [PROCESS-ID]
 router-id [ROUTER-ID]
 exit
interface [INTERFACE]
 ip ospf [PROCESS-ID] area [AREA-ID]
 exit
end
Command parameters
[PROCESS-ID]
Local routing process identifier.
[ROUTER-ID]
Unique 32-bit routing protocol router ID in dotted decimal notation.
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[AREA-ID]
OSPF area number or dotted area ID.
Peer configuration — Adjacent router or L3 switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: AREA-ID

  • Use the peer's own addresses and interfaces. Process IDs are locally significant. Match area and compatible link parameters.
enable
configure terminal
router ospf [PROCESS-ID]
 router-id [PEER-ROUTER-ID]
 exit
interface [INTERFACE]
 ip ospf [PROCESS-ID] area [AREA-ID]
 exit
end
Passive by default with selected neighbors Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: ospfv2-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
router ospf [PROCESS-ID]
 passive-interface default
 no passive-interface [NEIGHBOR-INTERFACE]
 exit
end
Command parameters
[PROCESS-ID]
Local routing process identifier.
[NEIGHBOR-INTERFACE]
Local interface on which routing neighbors are expected.
Multi-area interfaces Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: ospfv2-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
router ospf [PROCESS-ID]
 router-id [ROUTER-ID]
 exit
interface [BACKBONE-INTERFACE]
 ip ospf [PROCESS-ID] area 0
 exit
interface [OTHER-INTERFACE]
 ip ospf [PROCESS-ID] area [AREA-ID]
 exit
end
Command parameters
[PROCESS-ID]
Local routing process identifier.
[ROUTER-ID]
Unique 32-bit routing protocol router ID in dotted decimal notation.
[BACKBONE-INTERFACE]
Local interface connected to area 0.
[OTHER-INTERFACE]
Local interface in the non-backbone area.
[AREA-ID]
OSPF area number or dotted area ID.
Originate default route Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: ospfv2-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Normally requires an installed default route; use always only if specified.
enable
configure terminal
router ospf [PROCESS-ID]
 default-information originate
 exit
end
Command parameters
[PROCESS-ID]
Local routing process identifier.
Legacy MD5 interface authentication Optional when requested
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: ospfv2-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Legacy lab authentication; match key ID and secret on both peers.
enable
configure terminal
interface [INTERFACE]
 ip ospf authentication message-digest
 ip ospf message-digest-key [KEY-ID] md5 [SHARED-SECRET]
 exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[KEY-ID]
Matching authentication key identifier.
[SHARED-SECRET]
Matching shared authentication secret on participating systems.

Show / Verify

Primary verification Section link
show ip ospf neighbor
Example output
2.2.2.2  1  FULL/DR  00:00:34  192.0.2.2  Gi0/0

A required adjacency should reach FULL. DROTHER peers on a broadcast segment may remain 2-WAY by design.

Detailed verification Section link
show ip ospf interface brief
Example output
Gi0/0  1  0  192.0.2.1/24  1  DR  1/1

Verify process, area and neighbor count.

Detailed verification Section link
show ip route ospf
Example output
O    198.51.100.0/24 [110/2] via 192.0.2.2

Check learned routes.

Detailed verification Section link
show ip protocols
Example output
Routing Protocol is "ospf 1"

Check process configuration.

Open full topic, examples, mistakes and removal

Traditional OSPFv3 uses the IPv6-specific router process and interface activation syntax. It exchanges IPv6 prefixes and uses IPv6 link-local addresses for adjacencies.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Enable IPv6 unicast routing and IPv6 on participating interfaces.
  • Set unique 32-bit router IDs; match the area and link parameters.
Traditional IPv6 OSPFv3 Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: ospfv3-legacy-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
ipv6 unicast-routing
ipv6 router ospf [PROCESS-ID]
 router-id [ROUTER-ID]
 exit
interface [INTERFACE]
 ipv6 ospf [PROCESS-ID] area [AREA-ID]
 exit
end
Command parameters
[PROCESS-ID]
Local routing process identifier.
[ROUTER-ID]
Unique 32-bit routing protocol router ID in dotted decimal notation.
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[AREA-ID]
OSPF area number or dotted area ID.
Peer configuration — Adjacent router or L3 switch

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: AREA-ID

  • Use the peer's own addresses and interfaces. Process IDs are locally significant. Match area and compatible link parameters.
enable
configure terminal
ipv6 unicast-routing
ipv6 router ospf [PROCESS-ID]
 router-id [PEER-ROUTER-ID]
 exit
interface [INTERFACE]
 ipv6 ospf [PROCESS-ID] area [AREA-ID]
 exit
end
Passive interface Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: ospfv3-legacy-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
ipv6 router ospf [PROCESS-ID]
 passive-interface [INTERFACE]
 exit
end
Command parameters
[PROCESS-ID]
Local routing process identifier.
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
Traditional multi-area Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: ospfv3-legacy-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
ipv6 router ospf [PROCESS-ID]
 router-id [ROUTER-ID]
 exit
interface [BACKBONE-INTERFACE]
 ipv6 ospf [PROCESS-ID] area 0
 exit
interface [OTHER-INTERFACE]
 ipv6 ospf [PROCESS-ID] area [AREA-ID]
 exit
end
Command parameters
[PROCESS-ID]
Local routing process identifier.
[ROUTER-ID]
Unique 32-bit routing protocol router ID in dotted decimal notation.
[BACKBONE-INTERFACE]
Local interface connected to area 0.
[OTHER-INTERFACE]
Local interface in the non-backbone area.
[AREA-ID]
OSPF area number or dotted area ID.

Show / Verify

Primary verification Section link
show ipv6 ospf neighbor
Example output
2.2.2.2  1  FULL/DR  00:00:34  2  Gi0/0

Check expected adjacencies.

Detailed verification Section link
show ipv6 ospf interface brief
Example output
Gi0/0  1  0  1  DR  1/1

Verify participating interfaces and area.

Detailed verification Section link
show ipv6 route ospf
Example output
O   2001:DB8:2::/64 [110/2]
     via FE80::2, GigabitEthernet0/0

Check routes learned through legacy IPv6 OSPFv3.

Open full topic, examples, mistakes and removal

Multiprotocol BGP exchanges routes using address families. eBGP connects different autonomous systems; iBGP connects peers within one AS.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Ensure TCP reachability to peers.
  • Advertised network statements must match an existing route exactly.
  • Use correct remote AS and activate the intended address family.
IPv4 eBGP address family Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: mp-bgp-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
router bgp [LOCAL-AS]
 bgp router-id [ROUTER-ID]
 no bgp default ipv4-unicast
 neighbor [NEIGHBOR-IP] remote-as [REMOTE-AS]
 address-family ipv4 unicast
  neighbor [NEIGHBOR-IP] activate
  network [NETWORK] mask [SUBNET-MASK]
 exit-address-family
 exit
end
Command parameters
[LOCAL-AS]
Local BGP autonomous system number.
[ROUTER-ID]
Unique 32-bit routing protocol router ID in dotted decimal notation.
[NEIGHBOR-IP]
Remote IPv4 peer address.
[REMOTE-AS]
BGP autonomous system number of the remote peer.
[NETWORK]
IPv4 destination or matching network address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
Peer configuration — BGP peer

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

  • Use this from the other peer's perspective; peer network advertisements and loopback IDs are local to that peer.
enable
configure terminal
router bgp [REMOTE-AS]
 bgp router-id [PEER-ROUTER-ID]
 no bgp default ipv4-unicast
 neighbor [LOCAL-PEER-IP] remote-as [LOCAL-AS]
 address-family ipv4 unicast
  neighbor [LOCAL-PEER-IP] activate
  network [PEER-NETWORK] mask [PEER-SUBNET-MASK]
 exit-address-family
 exit
end
IPv6 eBGP address family Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: mp-bgp-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
router bgp [LOCAL-AS]
 bgp router-id [ROUTER-ID]
 no bgp default ipv4-unicast
 neighbor [NEIGHBOR-IPV6] remote-as [REMOTE-AS]
 address-family ipv6 unicast
  neighbor [NEIGHBOR-IPV6] activate
  network [IPV6-PREFIX]/[PREFIX-LENGTH]
 exit-address-family
 exit
end
Command parameters
[LOCAL-AS]
Local BGP autonomous system number.
[ROUTER-ID]
Unique 32-bit routing protocol router ID in dotted decimal notation.
[NEIGHBOR-IPV6]
Remote IPv6 peer address.
[REMOTE-AS]
BGP autonomous system number of the remote peer.
[IPV6-PREFIX]
IPv6 destination network prefix without slash length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
Peer configuration — BGP peer

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

  • Use this from the other peer's perspective; peer network advertisements and loopback IDs are local to that peer.
enable
configure terminal
router bgp [REMOTE-AS]
 bgp router-id [PEER-ROUTER-ID]
 no bgp default ipv4-unicast
 neighbor [LOCAL-PEER-IPV6] remote-as [LOCAL-AS]
 address-family ipv6 unicast
  neighbor [LOCAL-PEER-IPV6] activate
  network [PEER-IPV6-PREFIX]/[PEER-PREFIX-LENGTH]
 exit-address-family
 exit
end
IPv4 iBGP using loopback Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: mp-bgp-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Loopbacks need reachability before the session can establish. Use next-hop-self where needed.
enable
configure terminal
router bgp [LOCAL-AS]
 bgp router-id [ROUTER-ID]
 neighbor [NEIGHBOR-IP] remote-as [LOCAL-AS]
 neighbor [NEIGHBOR-IP] update-source loopback [LOOPBACK-ID]
 address-family ipv4 unicast
  neighbor [NEIGHBOR-IP] activate
  neighbor [NEIGHBOR-IP] next-hop-self
 exit-address-family
 exit
end
Command parameters
[LOCAL-AS]
Local BGP autonomous system number.
[ROUTER-ID]
Unique 32-bit routing protocol router ID in dotted decimal notation.
[NEIGHBOR-IP]
Remote IPv4 peer address.
[LOOPBACK-ID]
Local loopback interface number.
Peer configuration — BGP peer

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

  • Use this from the other peer's perspective; peer network advertisements and loopback IDs are local to that peer.
enable
configure terminal
router bgp [LOCAL-AS]
 bgp router-id [PEER-ROUTER-ID]
 neighbor [LOCAL-PEER-IP] remote-as [LOCAL-AS]
 neighbor [LOCAL-PEER-IP] update-source loopback [LOOPBACK-ID]
 address-family ipv4 unicast
  neighbor [LOCAL-PEER-IP] activate
  neighbor [LOCAL-PEER-IP] next-hop-self
 exit-address-family
 exit
end
IPv6 iBGP using loopback Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: mp-bgp-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Loopbacks need IPv6 reachability.
enable
configure terminal
router bgp [LOCAL-AS]
 bgp router-id [ROUTER-ID]
 no bgp default ipv4-unicast
 neighbor [NEIGHBOR-IPV6] remote-as [LOCAL-AS]
 neighbor [NEIGHBOR-IPV6] update-source loopback [LOOPBACK-ID]
 address-family ipv6 unicast
  neighbor [NEIGHBOR-IPV6] activate
  neighbor [NEIGHBOR-IPV6] next-hop-self
 exit-address-family
 exit
end
Command parameters
[LOCAL-AS]
Local BGP autonomous system number.
[ROUTER-ID]
Unique 32-bit routing protocol router ID in dotted decimal notation.
[NEIGHBOR-IPV6]
Remote IPv6 peer address.
[LOOPBACK-ID]
Local loopback interface number.
Peer configuration — BGP peer

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

  • Use this from the other peer's perspective; peer network advertisements and loopback IDs are local to that peer.
enable
configure terminal
router bgp [LOCAL-AS]
 bgp router-id [PEER-ROUTER-ID]
 no bgp default ipv4-unicast
 neighbor [LOCAL-PEER-IPV6] remote-as [LOCAL-AS]
 neighbor [LOCAL-PEER-IPV6] update-source loopback [LOOPBACK-ID]
 address-family ipv6 unicast
  neighbor [LOCAL-PEER-IPV6] activate
  neighbor [LOCAL-PEER-IPV6] next-hop-self
 exit-address-family
 exit
end

Show / Verify

Primary verification Section link
show bgp ipv4 unicast summary
Example output
Neighbor     V  AS     ... State/PfxRcd
192.0.2.2    4  65002  ... 3

A numeric received-prefix count indicates an established peer.

Detailed verification Section link
show bgp ipv6 unicast summary
Example output
2001:DB8::2  4  65002  ... 3

Inspect IPv6 peer state and prefixes.

Detailed verification Section link
show bgp ipv4 unicast
Example output
*> 198.51.100.0/24  192.0.2.2

The valid/best flags identify a selected path.

Detailed verification Section link
show bgp ipv6 unicast
Example output
*> 2001:DB8:2::/64  2001:DB8::2

Check received IPv6 prefixes and next hop.

Open full topic, examples, mistakes and removal

High Availability

IP SLA

IP SLA generates active probes, such as ICMP echo, to measure reachability or performance. The operation must be scheduled to run.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Ensure routing to the target and a meaningful source.
  • Choose timeout shorter than the probe interval.
ICMP echo with source interface Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
ip sla [SLA-ID]
 icmp-echo [DESTINATION-IP] source-interface [SOURCE-INTERFACE]
 timeout [TIMEOUT-MS]
 frequency [FREQUENCY-SECONDS]
 exit
ip sla schedule [SLA-ID] life forever start-time now
end
Command parameters
[SLA-ID]
Local IP SLA operation number.
[DESTINATION-IP]
IPv4 destination or probe target.
[SOURCE-INTERFACE]
Local source interface used for probes or management traffic.
[TIMEOUT-MS]
IP SLA timeout in milliseconds.
[FREQUENCY-SECONDS]
IP SLA operation interval in seconds.
ICMP echo with source IPv4 address Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
ip sla [SLA-ID]
 icmp-echo [DESTINATION-IP] source-ip [SOURCE-IP]
 timeout [TIMEOUT-MS]
 frequency [FREQUENCY-SECONDS]
 exit
ip sla schedule [SLA-ID] life forever start-time now
end
Command parameters
[SLA-ID]
Local IP SLA operation number.
[DESTINATION-IP]
IPv4 destination or probe target.
[SOURCE-IP]
Local IPv4 source address.
[TIMEOUT-MS]
IP SLA timeout in milliseconds.
[FREQUENCY-SECONDS]
IP SLA operation interval in seconds.

Show / Verify

Primary verification Section link
show ip sla statistics
Example output
Latest operation return code: OK
Number of successes: 5

Check probe results, not just configuration.

Detailed verification Section link
show ip sla configuration
Example output
Entry number: 1
Operation type: icmp-echo

Check source, target, frequency and scheduling.

Open full topic, examples, mistakes and removal

Object tracking converts a monitored condition into an up/down state. Routing and HSRP can use the state to respond to failures.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Configure and schedule IP SLA first when tracking SLA reachability.
  • Choose delays based on the requested failover behavior.
Track IP SLA reachability Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
track [TRACK-ID] ip sla [SLA-ID] reachability
 delay down [DOWN-SECONDS] up [UP-SECONDS]
 exit
end
Command parameters
[TRACK-ID]
Local tracking object identifier.
[SLA-ID]
Local IP SLA operation number.
[DOWN-SECONDS]
Tracking delay before reporting down.
[UP-SECONDS]
Tracking delay before reporting up.
Track interface line protocol Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
track [TRACK-ID] interface [INTERFACE] line-protocol
 exit
end
Command parameters
[TRACK-ID]
Local tracking object identifier.
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
Tracked static IPv4 route Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • Create the tracked object before applying this route.
enable
configure terminal
ip route [NETWORK] [SUBNET-MASK] [NEXT-HOP] track [TRACK-ID]
end
Command parameters
[NETWORK]
IPv4 destination or matching network address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
[NEXT-HOP]
IPv4 next-hop address.
[TRACK-ID]
Local tracking object identifier.

Show / Verify

Primary verification Section link
show track
Example output
Track 1
 IP SLA 1 reachability
 Reachability is Up

Check that the tracked condition reflects the real state.

Detailed verification Section link
show track [TRACK-ID]
Example output
Reachability is Down

Inspect the specified tracked object and dependencies.

Open full topic, examples, mistakes and removal

HSRP provides redundant default gateways using active and standby roles. Version 2 supports IPv4 and IPv6; the IPv6 virtual gateway uses a link-local address.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Configure unique real interface addresses in the same segment.
  • Match the group, virtual address and compatible timers; create tracked objects first.
IPv4 HSRPv2 Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: hsrpv2-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
interface [INTERFACE]
 standby version 2
 standby [HSRP-GROUP] ip [VIRTUAL-IP]
 standby [HSRP-GROUP] priority [PRIORITY]
 standby [HSRP-GROUP] preempt
 exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[HSRP-GROUP]
Shared HSRPv2 group number; use an appropriate unused group.
[VIRTUAL-IP]
Shared HSRP virtual IPv4 address.
[PRIORITY]
Local HSRP priority.
Peer configuration — Standby peer

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: HSRP-GROUP, VIRTUAL-IP

enable
configure terminal
interface [INTERFACE]
 standby version 2
 standby [HSRP-GROUP] ip [VIRTUAL-IP]
 standby [HSRP-GROUP] priority [PEER-PRIORITY]
 standby [HSRP-GROUP] preempt
 exit
end
IPv6 HSRPv2 autoconfig Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: hsrpv2-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Ensure a real IPv6 interface address or appropriate IPv6 enabling is present before configuring HSRP.
enable
configure terminal
ipv6 unicast-routing
interface [INTERFACE]
 standby version 2
 standby [HSRP-GROUP] ipv6 autoconfig
 standby [HSRP-GROUP] priority [PRIORITY]
 standby [HSRP-GROUP] preempt
 exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[HSRP-GROUP]
Shared HSRPv2 group number; use an appropriate unused group.
[PRIORITY]
Local HSRP priority.
Peer configuration — Standby peer

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: HSRP-GROUP

enable
configure terminal
ipv6 unicast-routing
interface [INTERFACE]
 standby version 2
 standby [HSRP-GROUP] ipv6 autoconfig
 standby [HSRP-GROUP] priority [PEER-PRIORITY]
 standby [HSRP-GROUP] preempt
 exit
end
IPv6 HSRPv2 manual virtual link-local Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: hsrpv2-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Ensure a real IPv6 interface address or appropriate IPv6 enabling is present before configuring HSRP.
enable
configure terminal
ipv6 unicast-routing
interface [INTERFACE]
 standby version 2
 standby [HSRP-GROUP] ipv6 [VIRTUAL-LINK-LOCAL]
 standby [HSRP-GROUP] priority [PRIORITY]
 standby [HSRP-GROUP] preempt
 exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[HSRP-GROUP]
Shared HSRPv2 group number; use an appropriate unused group.
[VIRTUAL-LINK-LOCAL]
Shared HSRP virtual IPv6 link-local address.
[PRIORITY]
Local HSRP priority.
Peer configuration — Standby peer

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: HSRP-GROUP, VIRTUAL-LINK-LOCAL

enable
configure terminal
ipv6 unicast-routing
interface [INTERFACE]
 standby version 2
 standby [HSRP-GROUP] ipv6 [VIRTUAL-LINK-LOCAL]
 standby [HSRP-GROUP] priority [PEER-PRIORITY]
 standby [HSRP-GROUP] preempt
 exit
end
HSRP object tracking Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: hsrpv2-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
interface [INTERFACE]
 standby [HSRP-GROUP] track [TRACK-ID] decrement [DECREMENT]
 exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[HSRP-GROUP]
Shared HSRPv2 group number; use an appropriate unused group.
[TRACK-ID]
Local tracking object identifier.
[DECREMENT]
Amount to reduce HSRP priority when tracking fails.
Custom HSRP timers Optional when requested
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: hsrpv2-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Match on both peers.
enable
configure terminal
interface [INTERFACE]
 standby [HSRP-GROUP] timers [HELLO-SECONDS] [HOLD-SECONDS]
 exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[HSRP-GROUP]
Shared HSRPv2 group number; use an appropriate unused group.
[HELLO-SECONDS]
HSRP hello interval in seconds.
[HOLD-SECONDS]
HSRP hold time in seconds.

Show / Verify

Primary verification Section link
show standby brief
Example output
Vl10  10  110  P  Active  local  192.0.2.3  192.0.2.254

Confirm one active and one standby, the intended priority and virtual address.

Detailed verification Section link
show standby
Example output
State is Active
Virtual IP address is 192.0.2.254

Inspect detailed group state, timers and tracking.

Detailed verification Section link
show track
Example output
Reachability is Up

Check the tracking condition before a controlled failover test.

Open full topic, examples, mistakes and removal

Security

Cisco credential types describe how a password or key is stored. Type 0 is plaintext, type 7 is reversible obfuscation, type 5 is legacy MD5 hashing, and types 8 and 9 use stronger password hashing. Type 6 is reversible AES encryption for credentials that must be recovered by the device; it is not a password hash.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Use placeholders for new secrets. Never paste an existing production hash into shared notes.
  • Prefer the strongest supported secret algorithm unless the exam explicitly requires another type.
Generate type 9 (scrypt) local secret Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: password-hashing-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
username [USERNAME] algorithm-type scrypt secret [PASSWORD]
enable algorithm-type scrypt secret [ENABLE-SECRET]
end
Command parameters
[USERNAME]
Local user account name.
[PASSWORD]
New local or line password; never include a real password in shared material.
[ENABLE-SECRET]
New enable password, not a pre-encoded hash.
Generate type 8 (PBKDF2-SHA256) secret Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: password-hashing-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
username [USERNAME] algorithm-type sha256 secret [PASSWORD]
enable algorithm-type sha256 secret [ENABLE-SECRET]
end
Command parameters
[USERNAME]
Local user account name.
[PASSWORD]
New local or line password; never include a real password in shared material.
[ENABLE-SECRET]
New enable password, not a pre-encoded hash.
Generate legacy type 5 (MD5) secret Optional when requested
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: password-hashing-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Legacy exam compatibility only; modern platforms may reject or convert type 5.
enable
configure terminal
username [USERNAME] algorithm-type md5 secret [PASSWORD]
enable algorithm-type md5 secret [ENABLE-SECRET]
end
Command parameters
[USERNAME]
Local user account name.
[PASSWORD]
New local or line password; never include a real password in shared material.
[ENABLE-SECRET]
New enable password, not a pre-encoded hash.
Explicit type 0 line password Optional when requested
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: password-hashing-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Plaintext input and storage unless password encryption is enabled.
enable
configure terminal
line console 0
 password 0 [PASSWORD]
 login
 exit
end
Command parameters
[PASSWORD]
New local or line password; never include a real password in shared material.
Legacy service password encryption Optional when requested
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: password-hashing-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Obfuscates applicable plaintext line passwords as type 7. It does not create a strong hash.
enable
configure terminal
service password-encryption
end
Import an already encoded type 9 secret Optional when requested
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: password-hashing-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • The value must already be a valid encoded type 9 secret, not a plaintext password.
enable
configure terminal
username [USERNAME] secret 9 [ENCODED-TYPE9-SECRET]
end
Command parameters
[USERNAME]
Local user account name.
[ENCODED-TYPE9-SECRET]
Existing valid type 9 encoded hash, not plaintext.

Show / Verify

Primary verification Section link
show running-config | include ^username
Example output
username exam-user secret 9 [REDACTED]

Check the numeric storage type, not the contents of the secret. Never share unredacted output.

Detailed verification Section link
show running-config | include ^enable secret
Example output
enable secret 8 [REDACTED]

Check the enable secret storage type.

Detailed verification Section link
show running-config | include ^service password-encryption
Example output
service password-encryption

Confirms legacy password obfuscation setting only.

Open full topic, examples, mistakes and removal

AAA

AAA separates authentication (identity), authorization (permissions) and accounting (recording activity). A method list selects authentication methods in order.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Keep a working console or other recovery session.
  • Create a local fallback account before enabling AAA.
AAA local default login Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
! Secret hash depends on the IOS/IOS XE release and platform.
! Prefer type 9 (scrypt) or type 8 (PBKDF2-SHA-256) where supported; type 5 (MD5) is legacy.
! See Password Hashing for algorithm-type examples; secret 8/9 requires an encoded hash.
username [USERNAME] privilege 15 secret [PASSWORD]
aaa new-model
aaa authentication login default local
end
Command parameters
[USERNAME]
Local user account name.
[PASSWORD]
New local or line password; never include a real password in shared material.
Explicit local console list Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
aaa new-model
aaa authentication login [CONSOLE-LIST] local
line console 0
 login authentication [CONSOLE-LIST]
 exit
end
Command parameters
[CONSOLE-LIST]
Named AAA method list for console login.
Named VTY login list Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
aaa new-model
aaa authentication login [LOGIN-LIST] local
line vty 0 [VTY-LAST]
 login authentication [LOGIN-LIST]
 exit
end
Command parameters
[LOGIN-LIST]
AAA authentication method-list name.
[VTY-LAST]
Last VTY line number supported by the device; configure remaining lines as needed.
RADIUS with local fallback Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • Create the RADIUS group first. Local fallback normally occurs if the server is unavailable, not when it rejects credentials.
enable
configure terminal
aaa new-model
aaa authentication login [LOGIN-LIST] group [RADIUS-GROUP] local
line vty 0 [VTY-LAST]
 login authentication [LOGIN-LIST]
 exit
end
Command parameters
[LOGIN-LIST]
AAA authentication method-list name.
[RADIUS-GROUP]
Named AAA RADIUS server group.
[VTY-LAST]
Last VTY line number supported by the device; configure remaining lines as needed.
Optional local EXEC authorization Optional when requested
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
aaa authorization exec [EXEC-LIST] local
line vty 0 [VTY-LAST]
 authorization exec [EXEC-LIST]
 exit
end
Command parameters
[EXEC-LIST]
AAA EXEC authorization list name.
[VTY-LAST]
Last VTY line number supported by the device; configure remaining lines as needed.

Show / Verify

Primary verification Section link
show running-config | section ^aaa
Example output
aaa new-model
aaa authentication login VTY local

Inspect enabled AAA and method-list order.

Detailed verification Section link
show running-config | section ^line
Example output
line vty 0 4
 login authentication VTY

Verify the correct list is bound to the required lines.

Detailed verification Section link
show users
Example output
*  2 vty 0  exam-user

A separate successful login demonstrates actual authentication; do not close the recovery session until verified.

Open full topic, examples, mistakes and removal

RADIUS

RADIUS centralizes authentication and accounting using a shared secret and a server or server group. Cisco AAA method lists reference the server group.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Set up the RADIUS service and define this device as a permitted client on the server.
  • Confirm reachability, matching ports, source address and shared secret.
  • Keep a local recovery account.
Named RADIUS server Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
aaa new-model
radius server [RADIUS-SERVER-NAME]
 address ipv4 [SERVER-IP] auth-port 1812 acct-port 1813
 key [SHARED-SECRET]
 exit
end
Command parameters
[RADIUS-SERVER-NAME]
Local name for the RADIUS server definition.
[SERVER-IP]
IPv4 address of the relevant server.
[SHARED-SECRET]
Matching shared authentication secret on participating systems.
RADIUS server group Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
aaa group server radius [RADIUS-GROUP]
 server name [RADIUS-SERVER-NAME]
 exit
end
Command parameters
[RADIUS-GROUP]
Named AAA RADIUS server group.
[RADIUS-SERVER-NAME]
Local name for the RADIUS server definition.
Optional RADIUS source interface Optional when requested
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
ip radius source-interface [SOURCE-INTERFACE]
end
Command parameters
[SOURCE-INTERFACE]
Local source interface used for probes or management traffic.
Bind RADIUS with local fallback to VTY Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
! Secret hash depends on the IOS/IOS XE release and platform.
! Prefer type 9 (scrypt) or type 8 (PBKDF2-SHA-256) where supported; type 5 (MD5) is legacy.
! See Password Hashing for algorithm-type examples; secret 8/9 requires an encoded hash.
username [USERNAME] privilege 15 secret [PASSWORD]
aaa new-model
aaa authentication login [LOGIN-LIST] group [RADIUS-GROUP] local
line vty 0 [VTY-LAST]
 login authentication [LOGIN-LIST]
 exit
end
Command parameters
[USERNAME]
Local user account name.
[PASSWORD]
New local or line password; never include a real password in shared material.
[LOGIN-LIST]
AAA authentication method-list name.
[RADIUS-GROUP]
Named AAA RADIUS server group.
[VTY-LAST]
Last VTY line number supported by the device; configure remaining lines as needed.

Show / Verify

Primary verification Section link
show aaa servers
Example output
RADIUS: id 1, priority 1, host 192.0.2.10
State: current UP

Inspect server state and counters.

Detailed verification Section link
show radius statistics
Example output
Auth. Access-Accepts: 1

Check authentication responses after a test.

Functional verification Section link
test aaa group [RADIUS-GROUP] [TEST-USERNAME] [TEST-PASSWORD] legacy
Example output
User was successfully authenticated.

Run from privileged EXEC using a disposable test account. Avoid recording real passwords in terminal history.

Open full topic, examples, mistakes and removal

ACL

Access control lists match packets in sequence and permit or deny them. Standard IPv4 ACLs match source addresses; extended IPv4 and IPv6 ACLs can match protocol, addresses and ports.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Determine required traffic, direction and interface.
  • Remember the implicit deny and add all required permits before applying an ACL.
Named standard IPv4 ACL Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: acl-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
ip access-list standard [ACL-NAME]
 permit [SOURCE-NETWORK] [SOURCE-WILDCARD]
 deny any
 exit
interface [INTERFACE]
 ip access-group [ACL-NAME] [DIRECTION]
 exit
end
Command parameters
[ACL-NAME]
Access control list name.
[SOURCE-NETWORK]
IPv4 source network address.
[SOURCE-WILDCARD]
IPv4 source wildcard mask.
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[DIRECTION]
in or out, according to the policy.
Numbered standard IPv4 ACL Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: acl-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
access-list [STANDARD-ACL-NUMBER] permit [SOURCE-NETWORK] [SOURCE-WILDCARD]
access-list [STANDARD-ACL-NUMBER] deny any
interface [INTERFACE]
 ip access-group [STANDARD-ACL-NUMBER] [DIRECTION]
 exit
end
Command parameters
[STANDARD-ACL-NUMBER]
Valid numbered standard IPv4 ACL ID.
[SOURCE-NETWORK]
IPv4 source network address.
[SOURCE-WILDCARD]
IPv4 source wildcard mask.
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[DIRECTION]
in or out, according to the policy.
Named extended IPv4 ACL Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: acl-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
ip access-list extended [ACL-NAME]
 permit tcp [SOURCE-NETWORK] [SOURCE-WILDCARD] host [DESTINATION-IP] eq [PORT]
 deny ip any any
 exit
interface [INTERFACE]
 ip access-group [ACL-NAME] [DIRECTION]
 exit
end
Command parameters
[ACL-NAME]
Access control list name.
[SOURCE-NETWORK]
IPv4 source network address.
[SOURCE-WILDCARD]
IPv4 source wildcard mask.
[DESTINATION-IP]
IPv4 destination or probe target.
[PORT]
Transport-layer port number or supported service keyword.
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[DIRECTION]
in or out, according to the policy.
Numbered extended IPv4 ACL Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: acl-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
access-list [EXTENDED-ACL-NUMBER] permit tcp [SOURCE-NETWORK] [SOURCE-WILDCARD] host [DESTINATION-IP] eq [PORT]
access-list [EXTENDED-ACL-NUMBER] deny ip any any
interface [INTERFACE]
 ip access-group [EXTENDED-ACL-NUMBER] [DIRECTION]
 exit
end
Command parameters
[EXTENDED-ACL-NUMBER]
Valid numbered extended IPv4 ACL ID.
[SOURCE-NETWORK]
IPv4 source network address.
[SOURCE-WILDCARD]
IPv4 source wildcard mask.
[DESTINATION-IP]
IPv4 destination or probe target.
[PORT]
Transport-layer port number or supported service keyword.
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[DIRECTION]
in or out, according to the policy.
IPv6 ACL Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: acl-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

  • Allow required IPv6 control traffic such as router advertisements, solicitations and ICMPv6 error messages as appropriate before the final deny.
enable
configure terminal
ipv6 access-list [ACL-NAME]
 permit tcp [SOURCE-IPV6-PREFIX]/[PREFIX-LENGTH] host [DESTINATION-IPV6] eq [PORT]
 permit icmp any any nd-ns
 permit icmp any any nd-na
 deny ipv6 any any
 exit
interface [INTERFACE]
 ipv6 traffic-filter [ACL-NAME] [DIRECTION]
 exit
end
Command parameters
[ACL-NAME]
Access control list name.
[SOURCE-IPV6-PREFIX]
Source IPv6 network without slash length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
[DESTINATION-IPV6]
IPv6 destination address.
[PORT]
Transport-layer port number or supported service keyword.
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[DIRECTION]
in or out, according to the policy.
Restrict IPv4 management sources Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link

Alternative group: acl-method. Select the applicable method; do not apply mutually exclusive variants in sequence.

enable
configure terminal
ip access-list standard [MGMT-ACL]
 permit [SOURCE-NETWORK] [SOURCE-WILDCARD]
 exit
line vty 0 [VTY-LAST]
 access-class [MGMT-ACL] in
 exit
end
Command parameters
[MGMT-ACL]
Management ACL name.
[SOURCE-NETWORK]
IPv4 source network address.
[SOURCE-WILDCARD]
IPv4 source wildcard mask.
[VTY-LAST]
Last VTY line number supported by the device; configure remaining lines as needed.

Show / Verify

Primary verification Section link
show ip access-lists
Example output
Standard IP access list MGMT
    10 permit 192.0.2.0, wildcard bits 0.0.0.255 (5 matches)

Check sequence, match conditions and counters.

Detailed verification Section link
show ip interface [INTERFACE]
Example output
Inbound access list is EDGE-IN

Confirm actual direction and binding.

Detailed verification Section link
show ipv6 access-list
Example output
IPv6 access list EDGE-V6
    permit tcp ...

Check IPv6 entries and sequence.

Detailed verification Section link
show ipv6 interface [INTERFACE]
Example output
Inbound access list EDGE-V6

Inspect IPv6 ACL attachment where displayed.

Open full topic, examples, mistakes and removal

Network Management

NTP

Network Time Protocol synchronizes clocks. An NTP client uses a server; peers form symmetric associations. A lab device can serve time using ntp master when specified.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Ensure reachability and a meaningful time source.
  • For authentication, match key ID, algorithm and secret on both sides.
NTP lab server Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • Only use as a local reference when the task requests it; prefer a real upstream time source in production.
enable
configure terminal
ntp master [STRATUM]
end
Command parameters
[STRATUM]
NTP master stratum specified by the task.
NTP client Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • Point the client at an existing reachable time server. For a local lab time source, use the separate NTP lab server example when requested.
enable
configure terminal
ntp server [SERVER-IP]
end
Command parameters
[SERVER-IP]
IPv4 address of the relevant server.
NTP peer Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
ntp peer [PEER-IP]
end
Command parameters
[PEER-IP]
Remote IPv4 NTP peer address.
Peer configuration — Other NTP peer

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

  • Each peer points to the other device. Both need compatible authentication if configured.
enable
configure terminal
ntp peer [SOURCE-IP]
end
Authenticated local NTP server Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
ntp authentication-key [KEY-ID] md5 [SHARED-SECRET]
ntp authenticate
ntp trusted-key [KEY-ID]
ntp master [STRATUM]
end
Command parameters
[KEY-ID]
Matching authentication key identifier.
[SHARED-SECRET]
Matching shared authentication secret on participating systems.
[STRATUM]
NTP master stratum specified by the task.
Authenticated client Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • Point the client at an existing reachable time server. For a local lab time source, use the separate Authenticated local NTP server example when requested.
enable
configure terminal
ntp authentication-key [KEY-ID] md5 [SHARED-SECRET]
ntp authenticate
ntp trusted-key [KEY-ID]
ntp server [SERVER-IP] key [KEY-ID]
end
Command parameters
[KEY-ID]
Matching authentication key identifier.
[SHARED-SECRET]
Matching shared authentication secret on participating systems.
[SERVER-IP]
IPv4 address of the relevant server.
Authenticated peer Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
ntp authentication-key [KEY-ID] md5 [SHARED-SECRET]
ntp authenticate
ntp trusted-key [KEY-ID]
ntp peer [PEER-IP] key [KEY-ID]
end
Command parameters
[KEY-ID]
Matching authentication key identifier.
[SHARED-SECRET]
Matching shared authentication secret on participating systems.
[PEER-IP]
Remote IPv4 NTP peer address.
Peer configuration — Other NTP peer

Peer blocks use the peer's own local interfaces and identifiers. Shared values must agree; other placeholders are interpreted from that device's perspective.

Shared: KEY-ID, SHARED-SECRET

  • Each peer points to the other device. Both need compatible authentication if configured.
enable
configure terminal
ntp authentication-key [KEY-ID] md5 [SHARED-SECRET]
ntp authenticate
ntp trusted-key [KEY-ID]
ntp peer [SOURCE-IP] key [KEY-ID]
end

Show / Verify

Primary verification Section link
show ntp associations
Example output
*~192.0.2.10   ...  377

An asterisk indicates the selected synchronization peer; reach 377 indicates successful recent polls.

Detailed verification Section link
show ntp status
Example output
Clock is synchronized, stratum 3

Confirm synchronization; it may take several polling intervals.

Detailed verification Section link
show clock detail
Example output
Time source is NTP

Check the current clock source.

Open full topic, examples, mistakes and removal

Syslog

Syslog sends event messages to local destinations or a remote collector. Severity levels run from 0 (emergencies) to 7 (debugging).

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Configure reachable collector and correct source interface if required.
  • Configure time synchronization for useful timestamps.
Local logging buffer Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
service timestamps log datetime msec
logging buffered [BUFFER-BYTES] [SEVERITY]
end
Command parameters
[BUFFER-BYTES]
Local logging buffer capacity in bytes.
[SEVERITY]
Syslog severity name or number from 0 to 7.
Remote IPv4 Syslog Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
service timestamps log datetime msec
logging host [SERVER-IP]
logging trap [SEVERITY]
logging on
end
Command parameters
[SERVER-IP]
IPv4 address of the relevant server.
[SEVERITY]
Syslog severity name or number from 0 to 7.
Optional logging source interface Optional when requested
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
logging source-interface [SOURCE-INTERFACE]
end
Command parameters
[SOURCE-INTERFACE]
Local source interface used for probes or management traffic.

Show / Verify

Primary verification Section link
show logging
Example output
Syslog logging: enabled
    Trap logging: level informational

Verify enabled logging, severity and destination; check collector reception separately.

Detailed verification Section link
show running-config | include ^logging
Example output
logging host 192.0.2.10
logging trap informational

Confirm the configured collector.

Open full topic, examples, mistakes and removal

SNMPv2c

SNMPv2c allows a manager to poll device information and receive notifications using a community string. It lacks modern authenticated encryption and is included for the exam.

Quick configuration and verification

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Ensure manager reachability and restrict access to authorized management hosts.
  • Use RO for ordinary monitoring; RW only if explicitly required.
Read-only community with ACL Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
ip access-list standard [MGMT-ACL]
 permit host [MANAGER-IP]
 exit
snmp-server community [COMMUNITY] RO [MGMT-ACL]
end
Command parameters
[MGMT-ACL]
Management ACL name.
[MANAGER-IP]
Authorized SNMP manager IPv4 address.
[COMMUNITY]
SNMPv2c community string; keep secret.
Optional read-write community with ACL Optional when requested
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • Allows write operations; use only where requested.
enable
configure terminal
ip access-list standard [MGMT-ACL]
 permit host [MANAGER-IP]
 exit
snmp-server community [COMMUNITY] RW [MGMT-ACL]
end
Command parameters
[MGMT-ACL]
Management ACL name.
[MANAGER-IP]
Authorized SNMP manager IPv4 address.
[COMMUNITY]
SNMPv2c community string; keep secret.
SNMPv2c trap destination Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
snmp-server host [MANAGER-IP] traps version 2c [COMMUNITY]
snmp-server enable traps snmp linkdown linkup
end
Command parameters
[MANAGER-IP]
Authorized SNMP manager IPv4 address.
[COMMUNITY]
SNMPv2c community string; keep secret.
Device location and contact Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
snmp-server location [LOCATION]
snmp-server contact [CONTACT]
end
Command parameters
[LOCATION]
SNMP device location string.
[CONTACT]
SNMP administrative contact string.

Show / Verify

Primary verification Section link
show snmp
Example output
SNMP packets input
    10 Get-request PDUs

Inspect SNMP counters after manager polling.

Detailed verification Section link
show snmp host
Example output
Notification host: 192.0.2.10

Check the notification destination; receiver-side testing is still needed.

Detailed verification Section link
show running-config | include ^snmp-server
Example output
snmp-server community [REDACTED] RO MGMT

Check configured access and destinations without disclosing the community.

Open full topic, examples, mistakes and removal

Checklist backup

Reset affects only this exam. Progress stays in this browser.

Export / import checklist backup

Backup contains both exam checklists, no passwords or configurations.

Interface Type Reference

Supporting reference for both exams. Use switchport for Layer 2 and no switchport for routed interfaces where supported.

Access port

Carries untagged traffic for the access VLAN.

enable
configure terminal
interface [INTERFACE]
 switchport
 switchport mode access
 switchport access vlan [VLAN-ID]
 no shutdown
 exit
end
show interfaces [INTERFACE] switchport
show vlan brief
Trunk port

Transports multiple VLANs. Omit encapsulation selection only on fixed-802.1Q devices that reject it.

enable
configure terminal
interface [INTERFACE]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan [NATIVE-VLAN]
 switchport trunk allowed vlan [ALLOWED-VLANS]
 no shutdown
 exit
end
show interfaces trunk
show interfaces [INTERFACE] switchport
Routed port

A Layer 3 switch interface used for routing rather than VLAN switching.

enable
configure terminal
ip routing
interface [INTERFACE]
 no switchport
 ip address [IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
show ip interface brief
show interfaces [INTERFACE] switchport
SVI

Logical VLAN interface for management or routing. L3 routing requires ip routing.

enable
configure terminal
vlan [VLAN-ID]
 exit
interface vlan [VLAN-ID]
 ip address [IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
show ip interface brief
show vlan brief
Loopback

Logical interface not tied to a physical link.

enable
configure terminal
interface loopback [LOOPBACK-ID]
 ip address [LOOPBACK-IP] 255.255.255.255
 exit
end
show ip interface brief
show ip route
Subinterface

Logical tagged interface on a physical router link.

enable
configure terminal
interface [INTERFACE]
 no shutdown
 exit
interface [INTERFACE].[SUBINTERFACE-ID]
 encapsulation dot1Q [VLAN-ID]
 ip address [IP-ADDRESS] [SUBNET-MASK]
 exit
end
show ip interface brief
show interfaces [INTERFACE].[SUBINTERFACE-ID]
Layer 2 Port-channel

Logical switched bundle. Configure matching members using the EtherChannel topic; omit encapsulation selection if unsupported.

enable
configure terminal
interface port-channel [CHANNEL-GROUP]
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
 no shutdown
 exit
end
show etherchannel summary
show interfaces trunk
Layer 3 Port-channel

Logical routed bundle; members must also be routed.

enable
configure terminal
ip routing
interface port-channel [CHANNEL-GROUP]
 no switchport
 ip address [IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
show etherchannel summary
show ip interface brief
VRF interface

Assigns a routed interface to a separate routing table. Define the VRF first; on a routed switchport use no switchport, and enable routing. VRF assignment may remove existing addresses.

enable
configure terminal
interface [INTERFACE]
 vrf forwarding [VRF-NAME]
 ip address [IP-ADDRESS] [SUBNET-MASK]
 no shutdown
 exit
end
show vrf
show ip route vrf [VRF-NAME]

Quick Reference Tables

Administrative distance
SourceDefault distance
Connected0
Static1
eBGP20
Internal EIGRP90
OSPF110
RIP120
External EIGRP170
iBGP200
Routing table codes
CodeMeaning
CConnected
LLocal host route
SStatic
OOSPF
O IAOSPF inter-area
O E1 / E2OSPF external
BBGP
*Candidate default
IPv4 prefix reference
PrefixSubnet maskWildcard
/00.0.0.0255.255.255.255
/1128.0.0.0127.255.255.255
/2192.0.0.063.255.255.255
/3224.0.0.031.255.255.255
/4240.0.0.015.255.255.255
/5248.0.0.07.255.255.255
/6252.0.0.03.255.255.255
/7254.0.0.01.255.255.255
/8255.0.0.00.255.255.255
/9255.128.0.00.127.255.255
/10255.192.0.00.63.255.255
/11255.224.0.00.31.255.255
/12255.240.0.00.15.255.255
/13255.248.0.00.7.255.255
/14255.252.0.00.3.255.255
/15255.254.0.00.1.255.255
/16255.255.0.00.0.255.255
/17255.255.128.00.0.127.255
/18255.255.192.00.0.63.255
/19255.255.224.00.0.31.255
/20255.255.240.00.0.15.255
/21255.255.248.00.0.7.255
/22255.255.252.00.0.3.255
/23255.255.254.00.0.1.255
/24255.255.255.00.0.0.255
/25255.255.255.1280.0.0.127
/26255.255.255.1920.0.0.63
/27255.255.255.2240.0.0.31
/28255.255.255.2400.0.0.15
/29255.255.255.2480.0.0.7
/30255.255.255.2520.0.0.3
/31255.255.255.2540.0.0.1
/32255.255.255.2550.0.0.0
IPv6 address types
PrefixMeaning
FE80::/10Link-local
2000::/3Global unicast
FC00::/7Unique local
FF00::/8Multicast
::/128Unspecified
::1/128Loopback
::/0Default route
STP roles and states
Role or stateMeaning
RootBest path toward root bridge
DesignatedForwarding port for a segment
AlternateAlternative root path
BackupAlternative segment port
DiscardingRSTP non-forwarding state
LearningLearning MAC addresses
ForwardingForwarding traffic
Blocking / ListeningTraditional STP non-forwarding states
STP priorities
SettingReference
Bridge priority32768 commonly; increments of 4096
Port priority128 commonly; increments of 16
Root electionLowest bridge ID wins
Root pathLowest total path cost wins
DTP compatibility
LocalRemoteTrunk?
DesirableAutoYes
DesirableDesirableYes
AutoAutoNo
Trunk (DTP on)Auto or desirableYes
Trunk (nonegotiate)Static trunkYes
AccessAnyNo negotiated trunk
EtherChannel negotiation
LocalRemoteResult
ActiveActive/passiveLACP
PassivePassiveNo
DesirableDesirable/autoPAgP
AutoAutoNo
OnOnStatic
LACPPAgPIncompatible
EtherChannel flags
FlagMeaning
SLayer 2
RLayer 3
UIn use
PBundled
IStand-alone
DDown
sSuspended
OSPF neighbor states
StateMeaning
DownNo recent hello
InitHello received; not bidirectional yet
2-WayBidirectional hello; normal between DROTHERs
ExStart / ExchangeDatabase description negotiation/exchange
LoadingRequesting missing LSAs
FullDatabases synchronized with adjacent peer
BGP session states
StateMeaning
IdleNo established session
Connect / ActiveTCP connection attempt
OpenSent / OpenConfirmBGP negotiation
EstablishedRoute exchange; numeric prefix count in summary
HSRP states and defaults
State or valueMeaning
ActiveCurrent virtual gateway
StandbyCandidate to take over
Listen / SpeakParticipating state/election
Priority 100Default priority
Hello 3 s / Hold 10 sCommon default timers
PreemptNot enabled by default
Cisco credential types
TypeStorage
0Plaintext
5Legacy MD5 hash
6Reversible AES encryption, where supported
7Reversible obfuscation
8PBKDF2-SHA256 hash
9scrypt hash
Syslog severity
LevelName
0Emergency
1Alert
2Critical
3Error
4Warning
5Notification
6Informational
7Debugging
Port Security violation modes
ModeAction
ProtectDrop unauthorized frames
RestrictDrop and report/count violations
ShutdownErr-disable interface (default commonly)
SNMPv2c access
ModeMeaning
RORead only
RWRead and write; only if required
TrapUnsolicited notification
Cisco CLI contexts
PromptMode
Router>User EXEC
Router#Privileged EXEC
Router(config)#Global configuration
Router(config-if)#Interface configuration
Router(config-router)#Routing process
Router(config-router-af)#Address family
Router(config-line)#Console or VTY
Router(config-vlan)#VLAN configuration

Configuration Comparison

Access vs trunk vs routed

Access carries one data VLAN; trunk carries tagged VLANs; routed ports use no switchport and IP addressing.

Open topic
SVI vs router-on-a-stick

SVI routes within a multilayer switch; a router subinterface uses 802.1Q encapsulation on an external trunk.

Open topic
LACP vs PAgP vs static

LACP uses active/passive; PAgP desirable/auto; static on requires explicit agreement without negotiation.

Open topic
PVST+ vs Rapid PVST+

Both are per-VLAN; Rapid PVST+ uses rapid spanning-tree convergence and port roles.

Open topic
Network vs interface OSPF activation

Network statements select interfaces by address and wildcard; interface commands activate the process on a specific interface.

Open topic
OSPFv3 legacy vs AF

Legacy uses ipv6 router ospf and ipv6 ospf; AF uses router ospfv3 and ospfv3 with explicit IPv4/IPv6 family.

Open topic
Next hop vs exit interface

Use a next hop on multiaccess links; a fully specified route includes both. IPv6 link-local next hop needs an interface.

Open topic
iBGP vs eBGP

Same AS vs different AS; next-hop and loopback reachability must be considered.

Open topic
Standard vs extended vs IPv6 ACL

Standard IPv4 matches source; extended IPv4 and IPv6 can match protocol and destination as well.

Open topic
Local vs RADIUS authentication

Local uses device accounts; RADIUS uses centralized credentials. Fallback is normally for unavailable servers, not rejected credentials.

Open topic
SSH vs Telnet

SSH encrypts CLI transport; Telnet does not. Both are included where required by the exam.

Open topic
NTP client vs server vs peer

Client synchronizes to a server; peer forms symmetric association; ntp master creates a local reference for a requested lab.

Open topic
Protect vs restrict vs shutdown

All deny unauthorized MAC traffic; restrict reports/counts violations, shutdown err-disables the port.

Open topic
IP SLA vs Object Tracking

SLA measures an operation; tracking exposes an up/down condition for consumers such as HSRP or static routing.

Open topic

Connectivity Verification

IPv4 reachability

Check success rate; use source or VRF context if required.

ping [DESTINATION-IP]
IPv6 reachability

Check IPv6 path and return routing.

ping ipv6 [DESTINATION-IPV6]
Source-specific IPv4

Verify from the intended source network.

ping [DESTINATION-IP] source [SOURCE-IP]
IPv4 path

Inspect hop sequence; missing responses alone do not prove forwarding failure.

traceroute [DESTINATION-IP]
IPv6 path

Inspect IPv6 hop sequence.

traceroute ipv6 [DESTINATION-IPV6]
VRF IPv4

Test in the correct routing instance.

ping vrf [VRF-NAME] [DESTINATION-IP]
traceroute vrf [VRF-NAME] [DESTINATION-IP]
VRF IPv6

Use the VRF-aware ping with an IPv6 destination; select the source if needed. Confirm support on the device.

ping vrf [VRF-NAME] [DESTINATION-IPV6]
HSRP failover (disruptive)

Only when requested, deliberately fail the intended path in a controlled lab, check transition and restore it. Do not include shutdown commands in Verify All.

show standby brief
show track
ping [DESTINATION-IP]
Layer 2 endpoint test

After sending traffic between the intended hosts, verify that the expected MAC addresses are learned on the correct VLAN and interface.

show mac address-table vlan [VLAN-ID]
show interfaces [INTERFACE] switchport
Remote SSH login

Run from a separate test Cisco device or use a client PC; confirm authentication and privilege without closing the existing recovery session.

ssh -l [USERNAME] [DESTINATION-IP]
Remote Telnet login

Use only where the exam requests Telnet. Test from another device, then keep a secure recovery path available.

telnet [DESTINATION-IP]
Management receiver test

Inspect the service-specific state. Confirm receipt of a generated log/trap or a permitted poll on the relevant remote collector. Local counters alone do not prove receiver delivery.

show logging
show snmp
show ntp status

Placeholder Reference

All placeholder definitions
[ACL-NAME]
Access control list name.
[ALLOWED-VLANS]
Comma-separated VLAN IDs and ranges; replace the whole list only when intended.
[AREA-ID]
OSPF area number or dotted area ID.
[BACKBONE-INTERFACE]
Local interface connected to area 0.
[BACKUP-DISTANCE]
Administrative distance of the floating route; greater than the primary.
[BRIDGE-PRIORITY]
STP bridge priority, normally a multiple of 4096.
[BUFFER-BYTES]
Local logging buffer capacity in bytes.
[CHANNEL-GROUP]
Local EtherChannel and corresponding Port-channel number.
[COMMUNITY]
SNMPv2c community string; keep secret.
[CONSOLE-LIST]
Named AAA method list for console login.
[CONTACT]
SNMP administrative contact string.
[DECREMENT]
Amount to reduce HSRP priority when tracking fails.
[DESCRIPTION]
Local interface description.
[DESTINATION]
Destination IP or hostname appropriate to the test.
[DESTINATION-IP]
IPv4 destination or probe target.
[DESTINATION-IPV6]
IPv6 destination address.
[DIRECTION]
in or out, according to the policy.
[DOMAIN-NAME]
Device domain name.
[DOWN-SECONDS]
Tracking delay before reporting down.
[ENABLE-SECRET]
New enable password, not a pre-encoded hash.
[ENCODED-TYPE9-SECRET]
Existing valid type 9 encoded hash, not plaintext.
[EXEC-LIST]
AAA EXEC authorization list name.
[EXTENDED-ACL-NUMBER]
Valid numbered extended IPv4 ACL ID.
[FREQUENCY-SECONDS]
IP SLA operation interval in seconds.
[HELLO-SECONDS]
HSRP hello interval in seconds.
[HOLD-SECONDS]
HSRP hold time in seconds.
[HOSTNAME]
Local Cisco device hostname.
[HSRP-GROUP]
Shared HSRPv2 group number; use an appropriate unused group.
[IDLE-MINUTES]
VTY idle timeout minutes.
[IDLE-SECONDS]
Additional VTY idle timeout seconds.
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[INTERFACE-RANGE]
Local Cisco interface range expression.
[IP-ADDRESS]
Local IPv4 interface address.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.
[IPV6-PREFIX]
IPv6 destination network prefix without slash length.
[KEY-ID]
Matching authentication key identifier.
[LINK-LOCAL-ADDRESS]
IPv6 link-local interface address.
[LOCAL-AS]
Local BGP autonomous system number.
[LOCAL-PEER-IP]
This device's IPv4 peering address as seen by the remote peer.
[LOCAL-PEER-IPV6]
This device's IPv6 peering address as seen by the remote peer.
[LOCATION]
SNMP device location string.
[LOGIN-LIST]
AAA authentication method-list name.
[LOOPBACK-ID]
Local loopback interface number.
[LOOPBACK-IP]
Local IPv4 loopback address.
[LOOPBACK-IPV6]
Local IPv6 loopback address.
[MAC-ADDRESS]
MAC address in Cisco dotted hexadecimal notation.
[MANAGER-IP]
Authorized SNMP manager IPv4 address.
[MAX-MAC]
Maximum secure MAC addresses.
[MGMT-ACL]
Management ACL name.
[NATIVE-VLAN]
Matching native VLAN ID on trunk peers.
[NEIGHBOR-INTERFACE]
Local interface on which routing neighbors are expected.
[NEIGHBOR-IP]
Remote IPv4 peer address.
[NEIGHBOR-IPV6]
Remote IPv6 peer address.
[NETWORK]
IPv4 destination or matching network address.
[NEXT-HOP]
IPv4 next-hop address.
[NEXT-HOP-IPV6]
IPv6 next-hop address; a link-local next hop needs an exit interface.
[OTHER-INTERFACE]
Local interface in the non-backbone area.
[PASSWORD]
New local or line password; never include a real password in shared material.
[PEER-IP]
Remote IPv4 NTP peer address.
[PEER-IPV6-ADDRESS]
IPv6 interface address of the other device.
[PEER-IPV6-PREFIX]
IPv6 network advertised by the other peer.
[PEER-NETWORK]
IPv4 network used or advertised by the other peer.
[PEER-PREFIX-LENGTH]
Prefix length of the other peer's IPv6 network.
[PEER-PRIORITY]
HSRP priority on the other device.
[PEER-ROUTER-ID]
Unique 32-bit router ID of the other OSPF or BGP device.
[PEER-SUBNET-MASK]
IPv4 mask of the other peer's network.
[PORT]
Transport-layer port number or supported service keyword.
[PORT-PRIORITY]
STP port priority using a supported increment.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
[PRIORITY]
Local HSRP priority.
[PRIVILEGE]
Cisco privilege level, normally 0 to 15.
[PROCESS-ID]
Local routing process identifier.
[RADIUS-GROUP]
Named AAA RADIUS server group.
[RADIUS-SERVER-NAME]
Local name for the RADIUS server definition.
[RECOVERY-SECONDS]
Errdisable recovery interval in seconds.
[REMOTE-AS]
BGP autonomous system number of the remote peer.
[REMOTE-IP-ADDRESS]
Remote endpoint IPv4 address, distinct from the local address.
[RETRY-COUNT]
SSH authentication retry count.
[ROUTER-ID]
Unique 32-bit routing protocol router ID in dotted decimal notation.
[SERVER-IP]
IPv4 address of the relevant server.
[SEVERITY]
Syslog severity name or number from 0 to 7.
[SHARED-SECRET]
Matching shared authentication secret on participating systems.
[SLA-ID]
Local IP SLA operation number.
[SOURCE-INTERFACE]
Local source interface used for probes or management traffic.
[SOURCE-IP]
Local IPv4 source address.
[SOURCE-IPV6-PREFIX]
Source IPv6 network without slash length.
[SOURCE-NETWORK]
IPv4 source network address.
[SOURCE-WILDCARD]
IPv4 source wildcard mask.
[SSH-TIMEOUT-SECONDS]
SSH negotiation/authentication timeout in seconds.
[STANDARD-ACL-NUMBER]
Valid numbered standard IPv4 ACL ID.
[STP-COST]
Spanning-tree port path cost.
[STRATUM]
NTP master stratum specified by the task.
[SUBINTERFACE-ID]
Local subinterface suffix, commonly matching its VLAN ID.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
[SUMMARY-IPV6-PREFIX]
Aligned IPv6 aggregate prefix without slash length.
[SUMMARY-MASK]
IPv4 aggregate subnet mask.
[SUMMARY-NETWORK]
Aligned IPv4 aggregate network address.
[SUMMARY-PREFIX-LENGTH]
IPv6 aggregate prefix length without slash.
[TEST-PASSWORD]
Disposable RADIUS test password; not a production credential.
[TEST-USERNAME]
Disposable RADIUS test account.
[TIMEOUT-MS]
IP SLA timeout in milliseconds.
[TRACK-ID]
Local tracking object identifier.
[UP-SECONDS]
Tracking delay before reporting up.
[USERNAME]
Local user account name.
[VIRTUAL-IP]
Shared HSRP virtual IPv4 address.
[VIRTUAL-LINK-LOCAL]
Shared HSRP virtual IPv6 link-local address.
[VLAN-ID]
VLAN identifier.
[VLAN-NAME]
Descriptive VLAN name.
[VOICE-VLAN]
Voice VLAN identifier distinct from the access VLAN.
[VRF-NAME]
Local VRF name; align it with the task.
[VTY-LAST]
Last VTY line number supported by the device; configure remaining lines as needed.
[WILDCARD-MASK]
Inverse IPv4 mask used for matching.

Reset checklist?

Command block

Back to Top

Confirmation

Confirm action

Continue?