Netgear M5300-28G-POE+ (GSM7228PSv1h2) - 12-Port Managed Gigabit Switch Softwarehandbuch
Routing Commands
762
M5300, M6100, and M7100 Series ProSAFE Managed Switches
OSPF Interface Commands
ip ospf area
Use this command to enable OSPFv2 and set the area ID of an interface or range of
interfaces. The area-id is an IP address formatted as a 4-digit dotted-decimal number or a
decimal value in the range of 0–4294967295. This command supersedes the effects of the
network area
interfaces. The area-id is an IP address formatted as a 4-digit dotted-decimal number or a
decimal value in the range of 0–4294967295. This command supersedes the effects of the
network area
command. It can also be used to configure the advertiseability of the
secondary addresses on this interface into the OSPFv2 domain.
no ip ospf area
Use this command to disable OSPF on an interface.
bandwidth
By default, OSPF computes the link cost of an interface as the ratio of the reference
bandwidth to the interface bandwidth. Reference bandwidth is specified with the auto-cost
command. For the purpose of the OSPF link cost calculation, use the bandwidth command to
specify the interface bandwidth. The bandwidth is specified in kilobits per second; The kbps
argument can be in the range 1–10000000. If no bandwidth is configured, the bandwidth
defaults to the actual interface bandwidth for port-based routing interfaces and to 10 Mbps for
VLAN routing interfaces. This command does not affect the actual speed of an interface. You
can use this command to configure a single interface or a range of interfaces.
bandwidth to the interface bandwidth. Reference bandwidth is specified with the auto-cost
command. For the purpose of the OSPF link cost calculation, use the bandwidth command to
specify the interface bandwidth. The bandwidth is specified in kilobits per second; The kbps
argument can be in the range 1–10000000. If no bandwidth is configured, the bandwidth
defaults to the actual interface bandwidth for port-based routing interfaces and to 10 Mbps for
VLAN routing interfaces. This command does not affect the actual speed of an interface. You
can use this command to configure a single interface or a range of interfaces.
no bandwidth
Use this command to set the interface bandwidth to its default value.
Default
disabled
Format
ip ospf area area-id [secondaries none]
Mode
Interface Config
Format
no ip ospf area [secondaries none]
Mode
Interface Config
Default
actual interface bandwidth
Format
bandwidth kbps
Mode
Interface Config
Format
no bandwidth
Mode
Interface Config