Clear ip ospf – Brocade Network OS Command Reference v4.1.0 User Manual
Page 160
122
Network OS Command Reference
53-1003115-01
clear ip ospf
2
clear ip ospf
Clears OSPF process, counters, neighbors, or routes.
Synopsis
clear ip ospf all
clear ip ospf counters {all | fortygigabitethernet rbridge-id/slot/port |
gigabitethernet rbridge-id/slot/port | loopback number | port-channel number |
tengigabitethernet rbridge-id/slot/port | ve vlan_id} } [vrf name [ rbridge rbridge-id]] |[rbridge-id
rbridge-id]
clear ip ospf neighbor {A.B.C.D | all}
clear ip ospf routes {A.B.C.D | all}
Operands
clear ip ospf all
Restarts the OSPF process.
counters
Clears all counters or clears the counters of an interface that you specify:
all
Clears all counters.
fortygigabitethernet rbridge-id/slot/port
Clears counters on the specified, valid 40 Gbps port interface.
rbridge-id
Specifies the RBridge ID.
This parameter is not valid in standalone mode.
slot
Specifies a valid slot number.
port
Specifies a valid port number.
gigabitethernet rbridge-id/slot/port
Clears counters on the specified, valid 1-gigabit Ethernet interface.
rbridge-id
Specifies the RBridge ID.
slot
Specifies a valid slot number.
port
Specifies a valid port number.
loopback number Specifies a loopback port number in the range of 1 to 255.
port-channel number
Specifies the interface is a port-channel. The number of available channels
range from 1 through 63 for standalone mode, and from 1 through 6144
for Brocade VCS Fabric mode. However, the channel can be assigned any
number from 1 through 6144.
tengigabitethernet rbridge-id/slot/port
Clears counters on the specified, valid 10-gigabit Ethernet interface.
rbridge-id
Specifies the RBridge ID.
slot
Specifies a valid slot number.
port
Specifies a valid port number.
ve vlan_id
Specifies a virtual Ethernet (VE) interface. (Refer to the Usage Guidelines.)
rbridge rbridge-id
Clears the specified RBridge.
vrf name
Clears the specified VRF.
neighbor
Clears the specified neighbor, or clears all neighbors.