Case Skills Exam · Supporting reference, not an additional exam objective
Quick explanation
IPv4 and IPv6 addresses identify interfaces at Layer 3. A routed switchport must be converted to Layer 3 before assigning an address.
Configuration
Replace highlighted placeholders. Configure only the variants required by the task.
Prerequisites and dependency links
Use the addressing plan; do not duplicate addresses.
For routed links on an L3 switch, enable IP routing and use no switchport.
Router IPv4 Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode.Section link
enable
configure terminal
interface [INTERFACE]
ip address [IP-ADDRESS][SUBNET-MASK]
no shutdown
exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[IP-ADDRESS]
Local IPv4 interface address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
L3 switch routed IPv4 Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.Section link
enable
configure terminal
ip routing
interface [INTERFACE]
no switchport
ip address [IP-ADDRESS][SUBNET-MASK]
no shutdown
exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[IP-ADDRESS]
Local IPv4 interface address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
Router IPv6 Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.Section link
enable
configure terminal
ipv6 unicast-routing
interface [INTERFACE]
ipv6 address [IPV6-ADDRESS]/[PREFIX-LENGTH]
no shutdown
exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
L3 switch routed IPv6 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
interface [INTERFACE]
no switchport
ipv6 address [IPV6-ADDRESS]/[PREFIX-LENGTH]
no shutdown
exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
IPv4 loopback Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.Section link
enable
configure terminal
interface loopback [LOOPBACK-ID]
ip address [LOOPBACK-IP] 255.255.255.255
exit
end
Command parameters
[LOOPBACK-ID]
Local loopback interface number.
[LOOPBACK-IP]
Local IPv4 loopback address.
IPv6 loopback Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.Section link
Local interface name including type and number, or an SVI as appropriate.
[LINK-LOCAL-ADDRESS]
IPv6 link-local interface address.
L2 switch IPv6 management SVI Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.Section link
This is host management, not IPv6 routing. Use a platform that supports IPv6 host/SVI functions. Off-link traffic requires a learned IPv6 default router, normally through Router Advertisements.
Check the exact model, IOS release, feature image and show sdm prefer before IPv6 management. On supported Catalyst 2960 LAN Base models, select sdm prefer dual-ipv4-and-ipv6 default in global configuration, then end, save the configuration and schedule a reload; verify the active template with show sdm prefer after reboot. Reload interrupts service and is a separate preparation step, not part of this script.
Do not apply the 2960 template requirement to every switch: Cisco documents that the dual template is not required on 2960-S and is unavailable on 2960 LAN Lite. Confirm support in the matching platform guide.
enable
configure terminal
vlan [VLAN-ID]
name [VLAN-NAME]
exit
interface vlan [VLAN-ID]
ipv6 address [IPV6-ADDRESS]/[PREFIX-LENGTH]
no shutdown
exit
end
Command parameters
[VLAN-ID]
VLAN identifier.
[VLAN-NAME]
Descriptive VLAN name.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
L2 switch IPv4 management SVI Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.Section link
Use ip default-gateway on a nonrouting switch.
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.
L2 switch IPv6 management SVI using SLAAC Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.Section link
Requires IPv6 host/SVI support for the exact model, IOS release and feature image. Apply the same model-dependent SDM preparation described for the static IPv6 management SVI; do not insert template changes or reload into a Golden Script.
ipv6 address autoconfig is an interface command for host SLAAC. The management SVI must be up/up with an active VLAN member; a router on that VLAN must advertise a /64 prefix with autonomous addressing enabled. Off-link management also needs a usable default router advertised by RA. A static IPv6 address alone does not provide a default router; ip default-gateway is IPv4 only. Do not enable ipv6 unicast-routing for this L2 host example.
enable
configure terminal
vlan [VLAN-ID]
exit
interface vlan [VLAN-ID]
ipv6 address autoconfig
no shutdown
exit
end