Users Guide
• Clear (refresh) all or a specic route from the IPv6 routing table.
EXEC mode
clear ipv6 route {* | ipv6 address prefix-length}
• *: all routes.
• ipv6 address: the format is x:x:x:x::x.
• mask: the prex length is from 0 to 128.
NOTE: IPv6 addresses are normally written as eight groups of four hexadecimal digits, where each group is separated by a
colon (:). Omitting zeros is accepted as described in Addressing.
Conguring IPv6 RA Guard
The IPv6 Router Advertisement (RA) guard allows you to block or reject the unwanted router advertisement guard messages that arrive at
the network device platform.
To congure the IPv6 RA guard, perform the following steps:
1 Congure the terminal to enter the Global Conguration mode.
EXEC Privilege mode
configure terminal
2 Enable the IPv6 RA guard.
CONFIGURATION mode
ipv6 nd ra-guard enable
3 Create the policy.
POLICY LIST CONFIGURATION mode
ipv6 nd ra-guard policy policy-name
4 Dene the role of the device attached to the port.
POLICY LIST CONFIGURATION mode
device-role {host | router}
Use the keyword host to set the device role as host.
Use the keyword router to set the device role as router.
5 Set the hop count limit.
POLICY LIST CONFIGURATION mode
hop-limit {maximum | minimum limit}
The hop limit range is from 0 to 254.
6 Set the managed address conguration ag.
POLICY LIST CONFIGURATION mode
managed-config-flag {on | off}
7 Enable verication of the sender IPv6 address in inspected messages from the authorized device source access list.
POLICY LIST CONFIGURATION mode
match ra{ipv6-access-list name | ipv6-prefix-list name | mac-access-list name}
8 Enable verication of the advertised other conguration parameter.
POLICY LIST CONFIGURATION mode
other-config-flag {on | off}
366
IPv6 Routing