Hands-On Lab: Configuring IS-IS Authentication

This hands-on lab configures MD5 authentication on an IS-IS interface, verifying the adjacency requires a matching password and observing the resulting failure when passwords are mismatched, mirroring the OSPF and EIGRP authentication labs covered earlier in this series.

IS-IS MD5 AuthenticationHello AuthenticationInterface-Level Password

~3 دقیقه مطالعه · آخرین به‌روزرسانی ۴ مهر ۱۴۰۵

Lab Objective

Configure MD5 authentication on an IS-IS-enabled interface between two routers, verify the adjacency remains stable when passwords match, then introduce a mismatch and observe the resulting adjacency failure.

Lab Purpose

Just as with the OSPF and EIGRP authentication labs covered earlier in this series, IS-IS without authentication allows any device sending properly formatted IS-IS hellos on a shared segment to potentially form an unauthorized adjacency. IS-IS authentication follows a syntax distinct from both prior protocols, worth understanding on its own terms.

Lab Topology

R2 ---- Serial0/0/1 ------------------ Serial0/0/1 ---- R3

Same topology as the multi-level IS-IS lab,
focusing on the R2-R3 Level 2 adjacency

Task 1: Verify the Current Healthy Adjacency

Confirm R2 and R3 show an active Level 2 IS-IS adjacency before adding authentication.

Task 2: Configure MD5 Authentication on R2's Interface

Enable IS-IS hello authentication on R2's interface with a specific key.

Task 3: Configure Matching Authentication on R3's Interface

Enable the identical key on R3's corresponding interface.

Task 4: Verify the Adjacency Remains Stable

Confirm the adjacency is unaffected, since both keys match.

Task 5: Introduce a Key Mismatch and Verify Failure

Change R3's key to a different value and observe the resulting adjacency loss.

Solution and Verification

R2# show clns neighbors

System Id      Interface   State  Type  Holdtime
0000.0000.0003 Se0/0/1     Up     L2     28

R2(config)# interface serial0/0/1
R2(config-if)# isis authentication mode md5
R2(config-if)# isis authentication key-chain ISIS-AUTH
R2(config-if)# exit
R2(config)# key chain ISIS-AUTH
R2(config-keychain)# key 1
R2(config-keychain-key)# key-string IsisKey2026

-- IS-IS, like EIGRP covered earlier in
-- this series, uses a key chain rather
-- than a directly configured password as
-- OSPF's ip ospf message-digest-key does

R3(config)# interface serial0/0/1
R3(config-if)# isis authentication mode md5
R3(config-if)# isis authentication key-chain ISIS-AUTH
R3(config-if)# exit
R3(config)# key chain ISIS-AUTH
R3(config-keychain)# key 1
R3(config-keychain-key)# key-string IsisKey2026

R2# show clns neighbors

System Id      Interface   State  Type  Holdtime
0000.0000.0003 Se0/0/1     Up     L2     29
-- Adjacency remains Up, since both sides
-- now share the identical key

R3(config)# key chain ISIS-AUTH
R3(config-keychain)# key 1
R3(config-keychain-key)# key-string DifferentKey999

R2# show clns neighbors

-- (neighbor entry eventually disappears
--  once the hold timer expires, since
--  authentication now fails on every
--  subsequent hello)

R2# debug isis adj-packets

ISIS-Adj: Rejecting L2 IIH from
0000.0000.0003, auth failed
-- The debug output explicitly names the
-- cause -- an authentication failure --
-- rather than a vague or generic
-- adjacency-down symptom

R3(config)# key chain ISIS-AUTH
R3(config-keychain)# key 1
R3(config-keychain-key)# key-string IsisKey2026

R2# show clns neighbors

System Id      Interface   State  Type  Holdtime
0000.0000.0003 Se0/0/1     Up     L2     30
-- Adjacency recovers once the keys match again

Key Takeaway

IS-IS authentication, like EIGRP's, relies on a key chain as an intermediate configuration object rather than a directly configured password on the interface, distinguishing its syntax from OSPF's approach covered earlier in this series — despite this syntactic difference across all three protocols, the underlying troubleshooting principle remains identical: a debug of the adjacency formation process will explicitly name an authentication mismatch rather than leaving the engineer to guess at a vague connectivity symptom.

نوشته و پژوهش‌شده توسط دکتر شاهین صیامی

مقالات مرتبط

Hands-On Lab: Final Comprehensive CCNP Troubleshooting Challenge (BGP, DMVPN, and QoS Integration)

This hands-on lab presents a complex multi-layer failure across an integrated BGP-over-DMVPN topology combined with QoS marking, requiring systematic diagnosis of a route reflector misconfiguration, an NHRP registration failure, and an incorrectly applied QoS policy simultaneously affecting the same network.

ادامه

Hands-On Lab: Configuring BGP over DMVPN

This hands-on lab runs iBGP as the routing protocol across the same DMVPN hub-and-spoke topology used in the two previous labs, configuring the hub as a route reflector so spokes learn each other's routes without a full iBGP mesh, combining two previously separate concepts into one integrated design.

ادامه

Hands-On Lab: Configuring OSPF over DMVPN

This hands-on lab runs OSPF as the dynamic routing protocol across the same DMVPN hub-and-spoke topology, configuring the tunnel interface as an OSPF point-to-multipoint network type to correctly handle the hub-and-spoke adjacency pattern without requiring the broadcast network type's DR/BDR election.

ادامه

Hands-On Lab: Configuring EIGRP over DMVPN

This hands-on lab runs EIGRP as the dynamic routing protocol across the DMVPN hub-and-spoke topology built in earlier labs, verifying neighbor relationships form correctly across the multipoint tunnel and routes propagate without requiring per-spoke static configuration on the hub.

ادامه

Hands-On Lab: Configuring HSRP MD5 Authentication

This hands-on lab configures MD5 authentication on an HSRP group, verifying two routers with matching authentication strings form a normal active/standby relationship while a router with a mismatched string is excluded from the group entirely.

ادامه

Hands-On Lab: Configuring Cisco Umbrella-Style DNS Security via DNS Forwarding Redirection

This hands-on lab configures a router to redirect all client DNS queries toward a security-focused DNS resolver using DNS forwarding interception, approximating cloud-delivered DNS security enforcement without requiring per-client configuration changes.

ادامه