Syntax: clear ipv6 ospf vrf vrfname
Clearing all OSPFv3 packet counters
You can use the clear ipv6 ospf trac command to clear all OSPFv3 packet counters as shown in the following.
device# clear ipv6 ospf traffic
Syntax: clear ipv6 ospf
trac
Scheduling Shortest Path First (SPF) calculation
You can use the clear ipv6 ospf force-spf command to perform the SPF calculation without clearing the OSPF database, as shown in
the following.
device# clear ipv6 ospf force-spf
Syntax: clear ipv6 ospf force-spf
Clearing all redistributed routes from OSPFv3
You can use the clear ipv6 ospf redistribution command to clear all redistributed routes from OSPF, as shown in the following.
device# clear ipv6 ospf redistribution
Syntax: clear ipv6 ospf redistribution
Clearing OSPFv3 neighbors
You can use the clear ipv6 ospf neighbor command to delete and relearn OSPF neighbors, as shown in the following:
• Clearing all OSPF Neighbors
• Clearing OSPF Neighbors Attached to a Specied Interface
Clearing all OSPF neighbors
You can use the clear ipv6 ospf neighbor all command to delete and relearn all OSPF neighbors, as shown in the following.
device# clear ipv6 ospf neighbor all
Syntax: clear ipv6 ospf neighborall
Clearing OSPF neighbors attached to a
specied interface
You can use the clear ipv6 ospf neighbor interface command to delete and relearn the OSPF neighbors attached to a specied
interface, as shown in the following.
device# clear ipv6 ospf neighbor interface ethernet 1/1/1
Syntax: clear ipv6 ospf neighbor interface [ethernet unit/slot/port | ve port-no | tunnel tunnel-port] [nbr-id]
Specify the interface options as shown in the following options.
ethernet unit/slot/port - clears OSPF neighbors on the specied Ethernet interface.
OSPFv3 clear commands
FastIron Ethernet Switch Layer 3 Routing
348 53-1003627-04