Pcornel
Networking · Security › First Hop Security / IPv6 RA Guard

Device Role

Cheat sheet · https://pcornel.dk/topic.php?topic=2627

Back to the Topic

Answer

Device role in IPv6 first-hop security policies marks a port as host or router, so router-only messages such as Router Advertisements are accepted only on router-facing ports.

Remember

  • Trust only router-facing ports; host-facing ports should not originate valid RAs
  • Define policy and attachment separately
  • Extension headers and fragmented ND handling depend on platform capability
  • RA Guard complements DHCPv6 Guard, ND inspection and source binding; it does not replace them.

First checks

  • show ipv6 nd raguard policy <name> — device-role
  • show ipv6 dhcp guard policy <name> — role

Commands

show ipv6 nd raguard policy ROUTER-PORT
show device-tracking counters vlan 10

Verify in this order

port role → allowed messages → enforcement

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2627

Confirmation

Confirm action

Continue?