You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
! Transit VLAN 100 — CORE1 active
interface vlan 100
ip address 192.168.100.2 255.255.255.0
standby 100 ip 192.168.100.254
standby 100 priority 110
standby 100 preempt
ip route 0.0.0.0 0.0.0.0 192.168.100.1
! Transit VLAN 100 — CORE2 standby
interface vlan 100
ip address 192.168.100.3 255.255.255.0
standby 100 ip 192.168.100.254
standby 100 priority 100
standby 100 preempt
ip route 0.0.0.0 0.0.0.0 192.168.100.1
! User VLAN — CORE1 active (repeat per VLAN)
interface vlan X
ip address 192.168.X.2 255.255.255.0
standby X ip 192.168.X.1
standby X priority 110
standby X preempt
! User VLAN — CORE2 standby (repeat per VLAN)
interface vlan X
ip address 192.168.X.3 255.255.255.0
standby X ip 192.168.X.1
standby X priority 100
standby X preempt
🔑 EtherChannel Templates
! Inter-core port-channel
interface range ethernet 0/2 - 3
channel-group 10 mode active
interface Port-channel10
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 10,20,30,40,50,60,70,100
! Core to distribution
interface range ethernet 0/0 - 1
channel-group 1 mode active
interface Port-channel1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 10,20,30,40,50,60,70
aaa-server RADIUS-KALI protocol radius
aaa-server RADIUS-KALI (radius) host 192.168.71.128
key RadiusKey123
crypto ca trustpoint SSL-CERT
enrollment self
subject-name CN=192.168.91.12
crypto ca enroll SSL-CERT noconfirm
ssl trust-point SSL-CERT outside
ssl server-version tlsv1
webvpn
enable outside
anyconnect image disk0:/anyconnect-win-4.5.04029-webdeploy-k9.pkg 1
anyconnect enable
ip local pool VPN-POOL 192.168.60.10-192.168.60.100 mask 255.255.255.0
! Split-tunnel: what the CLIENT routes through the tunnel (DMZ + VLAN 10 + 20)
access-list SPLIT-ACL standard permit 192.168.80.0 255.255.255.0
access-list SPLIT-ACL standard permit 192.168.10.0 255.255.255.0
access-list SPLIT-ACL standard permit 192.168.20.0 255.255.255.0
! vpn-filter: ENFORCED on ASA, BIDIRECTIONAL (blocks other VLANs both ways)
access-list VPN-FILTER extended permit ip 192.168.60.0 255.255.255.0 192.168.80.0 255.255.255.0
access-list VPN-FILTER extended permit ip 192.168.60.0 255.255.255.0 192.168.10.0 255.255.255.0
access-list VPN-FILTER extended permit ip 192.168.60.0 255.255.255.0 192.168.20.0 255.255.255.0
access-list VPN-FILTER extended deny ip any any
group-policy NEXUS-POLICY internal
group-policy NEXUS-POLICY attributes
vpn-tunnel-protocol ssl-client
split-tunnel-policy tunnelspecified
split-tunnel-network-list value SPLIT-ACL
vpn-filter value VPN-FILTER
dns-server value 8.8.8.8
tunnel-group NEXUS-VPN type remote-access
tunnel-group NEXUS-VPN general-attributes
address-pool VPN-POOL
authentication-server-group RADIUS-KALI
default-group-policy NEXUS-POLICY
tunnel-group NEXUS-VPN webvpn-attributes
group-alias NEXUS-VPN enable
! CRITICAL: DefaultWEBVPNGroup also needs RADIUS (AnyConnect may use it)
tunnel-group DefaultWEBVPNGroup general-attributes
authentication-server-group RADIUS-KALI
default-group-policy NEXUS-POLICY
address-pool VPN-POOL
! NAT exemption (VPN traffic, no translation) — must come FIRST
object network VPN-POOL-NET
subnet 192.168.60.0 255.255.255.0
object network INTERNAL-NET
subnet 192.168.0.0 255.255.0.0
object network DMZ-NET
subnet 192.168.80.0 255.255.255.0
nat (outside,inside) source static VPN-POOL-NET VPN-POOL-NET destination static INTERNAL-NET INTERNAL-NET
nat (outside,dmz) source static VPN-POOL-NET VPN-POOL-NET destination static DMZ-NET DMZ-NET
! Dynamic PAT (internet access) — AFTER exemptions
object network INTERNAL-TO-NET
subnet 192.168.0.0 255.255.0.0
nat (inside,outside) dynamic interface
object network DMZ-TO-NET
subnet 192.168.80.0 255.255.255.0
nat (dmz,outside) dynamic interface
🔍 Show Commands
! HSRP and transit
show standby brief
show standby vlan 100
ping 192.168.100.254
! EtherChannel
show etherchannel summary
! VLANs / Trunks
show vlan brief
show interfaces trunk
! Routing
show ip route
! ASA
show interface ip brief
show route
show aaa-server RADIUS-KALI
show vpn-sessiondb anyconnect
! RADIUS test
test aaa-server authentication RADIUS-KALI host 192.168.71.128 username employee1 password Emp@2024
🔬 Failover Test Commands
! Confirm active
CORE1# show standby brief
! Start ping from PC
ping 192.168.100.1 -t
! Kill CORE1
CORE1(config)# interface vlan 100
CORE1(config-if)# shutdown
! CORE2 takes over
CORE2# show standby brief → Active
! Ping continues via transit switch → CORE2 → ASA ✅
! Restore
CORE1(config-if)# no shutdown