Configuration commands

Use these M4500 CLI commands to enable OSPF, assign networks and interfaces to areas, and configure NSSA, stub areas, area ranges, and default costs.

router ospf

Use this command to enter Router OSPF mode.

Default None
Format router ospf [vrf]
Mode Global Config
Fields Definition
<vrf-name> The virtual router on which to enable OSPF routing

enable

Use enable command resets the default administrative mode of OSPF in the router (active). no enable command sets the administrative mode of OSPF in the router to inactive.

Default Enabled
Format

enable

no enable

Mode Router OSPF Config

network area

Use network area command to enable OSPFv2 on an interface and set its area ID if the IP address of an interface is covered by this network command. Use no network area command to disable the OSPFv2 on a interface if the IP address of an interface was earlier covered by this network command.

Default Disabled
Format

network <ip-address> <wildcard-mask> area <area-id>

no network <ip-address> <wildcard-mask> area <area-id>

Mode Router OSPF Config

ip ospf area

Use ip ospf area command to enable OSPFv2 and set the area ID of an interface. 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. Use no ip ospf area command to disable OSPF on an interface.

Default Disable
Format

ip ospf area <area-id> [secondaries none]

no ip ospf area [secondaries none]

Mode Interface Config

1583compatibility

1583 compatibility mode is enabled by default. If all OSPF routers in the routing domain are capable of operating according to RFC 2328, OSPF 1583 compatibility mode should be disabled. 1583compatibility command enables OSPF 1583 compatibility. no 1583compatibility command disables OSPF 1583 compatibility.

Default Enable
Format

1583compatibility

no 1583compatibility

Mode Router OSPF Config

area default-cost

This command configures the default cost for the stub area. You must specify the area ID and an integer value between 1-16777214.

Default None
Format area <areaid> default-cost <1-16777214>
Mode Router OSPF Config

area nssa

area nssa command configures the specified areaid to function as an NSSA. no area nssa command disables nssa from the specified area id.

Default None
Format

area <areaid> nssa

no area <areaid> nssa

Mode Router OSPF Config

area nssa default-into-originate

area nssa default-info-originate command configures the metric value and type for the default route advertised into the NSSA. The optional metric parameter specifies the metric of the default route and is to be in a range of 1-16777214. If no metric is specified, the default value is ****. The metric type can be comparable (nssa-external 1) or non-comparable (nssa-external 2). This command disables the default route advertised into the NSSA . no area nssa default-info-originate command disables the default route advertised into the NSSA.

Default None
Format area <areaid> nssa default-info-originate [<metric>] [{comparable | noncomparable}] no area <areaid> nssa default-info-originate [<metric>] [{comparable | noncomparable}]
Mode Router OSPF Config

area nssa no-redistribute

area nssa no-redistribute command configures the NSSA Area Border router (ABR) so that learned external routes will not be redistributed to the NSSA. no area nssa no-redistribute command disables the NSSA ABR so that learned external routes are redistributed to the NSSA.

Default None
Format

area <areaid> nssa no-redistribute

no area <areaid> nssa no-redistribute

Mode Router OSPF Config

area nssa no-summary

area nssa no-summary command configures the NSSA so that summary LSAs are not advertised into the NSSA. no area nssa no-summary command disables nssa from the summary LSAs.

Default None
Format

area <areaid> nssa no-summary

no area <areaid> nssa no-summary

Mode Router OSPF Config

area nssa translator-role

area nssa translator-role command configures the translator role of the NSSA. A value of always causes the router to assume the role of the translator the instant it becomes a border router and a value of candidate causes the router to participate in the translator election process when it attains border router status. no area nssa translator-role command disables the nssa translator role from the specified area id.

Default None
Format

area <areaid> nssa translator-role {always | candidate}

no area <areaid> nssa translator-role {always | candidate}

Mode Router OSPF Config

area nssa translator-stab-intv

area nssa translator-stab-intv command configures the translator <stabilityinterval> of the NSSA. The <stabilityinterval> is the period of time that an elected translator continues to perform its duties after it determines that its translator status has been deposed by another router. The no area nssa translator-stab-intv command disables the nssa translator’s <stabilityinterval> from the specified area id. The <stabilityinterval> range is fomr 0 to 3600.

Default None
Format

area <areaid> nssa translator-stab-intv <stabilityinterval>

no area <areaid> nssa translator-stab-intv <stabilityinterval>

Mode Router OSPF Config

area range

area range command configures a summary prefix that an area border router (ABR) advertises for a specified area.

Default None
Format

area <areaid> range <ipaddr> <subnetmask> {summarylink | nssaexternallink} [advertise [cost <0-16777215>] | not-advertise | [cost <0-16777215>]]

no area <areaid> range <ipaddr> <subnetmask> {summarylink | nssaexternallink} [advertise | not-advertise | cost]

Mode Router OSPF Config
Fields Definition
areaid The aread identifier for the area whose networks are to be summarized.
ipaddr subnetmas The summary prefix to be advised when the ABR computes a route to one or more networks within this prefixe in this area.
summarylink When this keyword is configured, the area range is used when summarizing prefixes advertised in type 3 summary LSAs.
nssaexternallink When this keyword is configured, the area range is used when translating type 7 LSAs to type 5 LSAs.
advertise When this keyword is configured, the summary prefix is advertised when the area range is active. This is the default action.
not-advertise When this keyword is configured, neither the summary prefix nor the contained prefixes are advertised when the are range is active. When this not-advertise option is given, any static cost previously configured is removed from the system configuration.
cost When this cost is configured, OSPF sets the metric field in the summary LSA to the configured value rather than setting the metric to the largest cost among the networks covered by the area range. If the cost is set to 16777215 for type 3 summarization, a type 3 summary LSA is not advertised but contained network are suppressed. This behavior is equivalent to specifying the not-advertise option. If the range is configured for type 7 to type 5 translation, a type 5 LSA is sent if the metric is set to 16777215; however, other routers will not compute a route from a type 5 LSA with this metric.

area stub

area stub command creates a stub area for the specified area ID. A stub area is characterized by the fact that AS External LSAs are not propagated into the area. Removing AS External LSAs and Summary LSAs can significantly reduce the link state database of routers within the stub area. no area stub command deletes a stub area for the specified area ID.

Default None
Format

area <areaid> stub

no area <areaid> stub

Mode Router OSPF Config

area stub no-summary

area stub no-summary command configures the Summary LSA mode for the stub area identified by <areaid>. Use this command to prevent LSA Summaries from being sent. no area stub no-summary command configures the default Summary LSA mode for the stub area identified by <areaid>.

Default Disable
Format

area <areaid> stub no-summary

no area <areaid> stub no-summary

Mode Router OSPF Config

auto-cost reference-bandwidth

By default, OSPF computes the link cost of each interface from the interface bandwidth. Faster links have lower metrics,making them more attractive in route selection. The configuration parameters in the auto-cost reference bandwidth and bandwidth commands give you control over the default link cost. You can configure for OSPF an interface bandwidth that is independent of the actual link speed. A second configuration parameter allows you to control the ratio of interface bandwidth to link cost. The link cost is computed as the ratio of a reference bandwidth to the interface bandwidth (ref_bw /interface bandwidth), where interface bandwidth is defined by the bandwidth command. Because the default reference bandwidth is 100 Mbps, OSPF uses the same default link cost for all interfaces whose bandwidth is 100 Mbps or greater. Use the auto-cost command to change the reference bandwidth, specifying the reference bandwidth in megabits per second (Mbps). The

reference bandwidth range is 1-4294967 Mbps. The different reference bandwidth can be independently configured for OSPFv2 and OSPFv3.

Use the no auto-cost command to set the reference bandwidth to the default value.

Default 100Mbps
Format

auto-cost reference-bandwidth <1 to 4294967>

no auto-cost reference-bandwidth

Mode Router OSPF Config

bfd

This command configures BFD for all interfaces.

To reset BFD for interfaces to default, use the no form of this command.

Default Disable
Format

bfd

no bfd

Mode Router OSPFv2 Config

capability opaque

Use capability opaque command to enable Opaque Capability on the Router. The information contained in Opaque LSAs may be used directly by OSPF or indirectly by an application wishing to distribute information throughout the OSPF domain. Supports the storing and flooding of Opaque LSAs of different scopes. Use no capability opaque command to disable opaque capability on the router.

Default Disable
Format

capability opaque

no capability opaque

Mode Router OSPF Config

clear ip ospf

Use this command to disable and re-enable OSPF.

Default None
Format clear ip ospf [vrf <vrf-name>]
Mode Privileged Exec
Fields Definition
<vrf-name> The virtual rotuer on which the OSPF is disabled and re-enabled.

clear ip ospf configuration

Use this command to reset the OSPF configuration to factory defaults.

Default None
Format clear ip ospf configuration [vrf <vrf-name>]
Mode Privileged Exec
Fields Definition
<vrf-name> The virtual rotuer on which the OSPF is reset.

clear ip ospf counters

Use this command to reset global and interface statistics.

Default None
Format clear ip ospf counters [vrf <vrf-name>]
Mode Privileged Exec
Fields Definition
<vrf-name> The virtual rotuer on which the statistics of OSPF is reset

clear ip ospf neighbor

Use this command to drop the adjacency with all OSPF neighbors. On each neighbor’s interface, send a one-way hello. Adjacencies may then be re-established. To drop all adjacencies with a specific router ID, specify the neighbor’s Router ID using the optional parameter [ipaddr].

Default None
Format clear ip ospf neighbor [[vrf <vrf-name>] | <ipaddr>]
Mode Privileged Exec
Fields Definition
<neighbor-idipaddr> The neighbor’s Router IDIP address.
<vrf-name> The virtual rotuer on which the adjacency with OSPF neighbors are dropped.

clear ip ospf neighbor interface

To drop adjacency with all neighbors on a specific interface, use the optional parameter [slot/port]. To drop adjacency with a specific router ID on a specific interface, use the optional parameter [ipaddr].

Default None
Format clear ip ospf neighbor [vrf <vrf-name> | interface {<slot/port> | vlan <vlan-id>} | <ipaddr>]
Mode Privileged Exec
Fields Definition
<vrf-name> The virtual rotuer on which the adjacency with OSPF neighbors are dropped.

clear ip ospf redistribution

Use this command to flush all self-originated external LSAs. Reapply the redistribution configuration and re-originate prefixes as necessary.

Default None
Format clear ip ospf redistribution [vrf <vrf-name>]
Mode Privileged Exec
Fields Definition
<vrf-name> The virtual rotuer on which the adjacency with OSPF neighbors are dropped.

clear ip ospf stub-router

Use this command to exit the stub router mode.

Default None
Format clear ip ospf stub-router [vrf <vrf-name>]
Mode Privileged Exec
Fields Definition
<vrf-name> The virtual rotuer on which the OSPF exits stub router mode.

default-information originate

default-information originate command is used to control the advertisement of default routes.

no default-information originate command is used to control the advertisement of default routes.

Default

metric—unspecified

type—2

Format

default-information originate [always] [metric <1-16777214>] [metric-type {1 | 2}]

no default-information originate [metric] [metric-type]

Mode Router OSPF Config

default-metric

default-metric command is used to set a default for the metric of distributed routes.

no default-metric command is used to set a default for the metric of distributed routes.

Default None
Format

default-metric <1-16777214>

no default-metric

Mode Router OSPF Config

distance ospf

distance ospf command sets the route preference value of OSPF in the router. Lower route preference values are preferred when determining the best route. The type of OSPF route can be intra, inter, or external. All the external type routes are given the same preference value. The range of <preference> value is 1 to 255. no distance ospf command sets the default route preference value of OSPF routes in the router. The type of OSPF can be intra, inter, or external. All the external type routes are given the same preference value.

Default 110
Format

distance ospf {intra-area <1-255> | inter-area <1-255> | external <1-255>}

no distance ospf {intra-area | inter-area | external}

Mode Router OSPF Config

distribute-list out

Use distribute-list out command to specify the access list to filter routes received from the source protocol.

no distribute-list out command to specify the access list to filter routes received from the source protocol.

Default None
Format

distribute-list <1-199> out {bgp | static | connected}

no distribute-list <1-199> out {bgp | static | connected}

Mode Router OSPF Config

exit-overflow-interval

exit-overflow-interval command configures the exit overflow interval for OSPF. It describes the number of seconds after entering overflow state that a router will wait before attempting to leave the overflow state. This allows the router to again originate non-default AS-external-LSAs. When set to 0, the router will not leave overflow state until restarted. The range for seconds is 0 to 2147483647 seconds. no exit-overflow-interval command configures the default exit overflow interval for OSPF.

Default 0
Format

exit-overflow-interval <seconds>

no exit-overflow-interval

Mode Router OSPF Config

external-lsdb-limit

external-lsdb-limit command configures the external LSDB limit for OSPF. If the value is -1, then there is no limit. When the number of non-default AS-external-LSAs in a router's link-state database reaches the external LSDB limit, the router enters overflow state. The router never holds more than the external LSDB limit non-default AS-external-LSAs in it database. The external LSDB limit MUST be set identically in all routers attached to the OSPF backbone and/or any regular OSPF area. The range for limit is -1 to 2147483647. no external-lsdb-limit command configures the default external LSDB limit for OSPF.

Default -1
Format

external-lsdb-limit <limit>

no external-lsdb-limit

Mode Router OSPF Config
Fields Definition
<limit> The range for limit is -1 to 2147483647. If the value is -1, then there is no limitation.

ip ospf authentication

The ip ospf authentication command sets the OSPF authentication type and key for the specified interface. The value of <type> is either none, simple or encrypt. The <key> is composed of standard displayable, non-control keystrokes from a standard 101/102-key keyboard. The authentication key must be 8 bytes or less if the authentication type is simple. If the type is encrypt, the key can be configured with plain-text up to 16 characters or configured in encrypted form with option 7. If the type is encrypt, a <keyid> in the range of 0 and 255 must be specified. Unauthenticated interfaces do not need an authentication key or authentication key ID. A default value for this command does nto exist.

The no ip ospf authentication command sets the default OSPF authentication type for the specified interface.

Default None
Format

ip ospf authentication {none | {simple <key>} | {encrypt [7 <keyid>]}}

no ip ospf authentication

Mode Interface Config
Fields Definition
encrypt 7 specifies the key in encrypted form. The key must be in hexadeicmal digits with a length of 32 characters.

ip ospf cost

ip ospf cost command configures the cost on an OSPF interface. The <cost> parameter has a range of 1 to 65535. no ip ospf cost command configures the default cost on an OSPF interface.

Default 10
Format

ip ospf cost <1–65535>

no ip ospf cost

Mode Interface Config

ip ospf dead-interval

ip ospf dead-interval command sets the OSPF dead interval for the specified interface. The value for <seconds> is a valid positive integer, which represents the length of time in seconds that a router's Hello packets have not been seen before its neighbor routers declare that the router is down. The value for the length of time must be the same for all routers attached to a common network. This value should be some multiple of the Hello Interval (i.e. 4). Valid values range in seconds from 1 to 65535. no ip ospf dead-interval command sets the default OSPF dead interval for the specified interface.

Default 40
Format

ip ospf dead-interval <seconds>

no ip ospf dead-interval

Mode Interface Config

ip ospf hello-interval

ip ospf hello-interval command sets the OSPF hello interval for the specified interface. The value for seconds is a valid positive integer, which represents the length of time in seconds. The value for the length of time must be the same for all routers attached to a network. Valid values range from 1 to 65535. no ip ospf hello-interval command sets the default OSPF hello interval for the specified interface.

Default 10
Format

ip ospf hello-interval <seconds>

no ip ospf hello-interval

Mode Interface Config

ip ospf network

ip ospf network command to configure OSPF to treat an interface as a point-to-point rather than broadcast interface. The broadcast option sets the OSPF network type to broadcast. The point-to-point option sets the OSPF network type to point-to-point. OSPF treats interfaces as broadcast interfaces by default. (Loopback

interfaces have a special loopback network type, which cannot be changed.) When there are only two routers on the network, OSPF can operate more efficiently by treating the network as a point-to-point network. For point-to-point networks, OSPF does not elect a designated router or generate a network link state advertisement (LSA). Both endpoints of the link must be configured to operate in point-to-point mode.. no ip ospf network command to return the OSPF network type to the default.

Default Broadcast
Format

ip ospf network {broadcast|point-to-point}

no ip ospf network

Mode Interface Config

ip ospf prefix-suppression

ip ospf prefix-suppression command suppresses the advertisement of the IPv4 prefixes that are associated with an interface, except for those associated with secondary IPv4 addresses. This command takes precedence over the global configuration. If this configuration is not specified, the global prefix-suppression configuration applies. Prefix-suppression can be disabled at the interface level by using the disable option. The disable option is useful to exclude specific interfaces from performing prefix-suppression when the featue is enabled globally. no ip ospf prefix-suppression command removes prefix-suppression configurations at the interface level. When no ip ospf prefix-suppression is issued, global prefix-suppression configuration applies to the interface.

Default Prefix-suppression is not configured
Format

ip ospf prefix-suppression [disable]

no ip ospf prefix-suppression

Mode Interface Config

ip ospf priority

ip ospf priority command sets the OSPF priority for the specified router interface. The priority of the interface is a priority integer from 0 to 255. A value of 0 indicates that the router is not eligible to become the designated router on this network. no ip ospf priority command sets the default OSPF priority for the specified router interface.

Default 1, which is the highest router priority
Format

ip ospf priority <0-255>

no ip ospf priority

Mode Interface Config

ip ospf retransmit-interval

ip ospf retransmit command sets the OSPF retransmit Interval for the specified interface. The retransmit interval is specified in seconds. The value for <seconds> is the number of seconds between link-state advertisement retransmissions for adjacencies belonging to this router interface. This value is also used when retransmitting database description and link-state request packets. Valid values range from 0 to 3600 (1 hour). no ip ospf retransmit command sets the default OSPF retransmit Interval for the specified interface.

Default 5
Format

ip ospf retransmit-interval <0-3600>

no ip ospf retransmit-interval

Mode Interface Config

ip ospf transmit-delay

ip ospf transmit-delay command sets the OSPF Transit Delay for the specified interface. The transmit delay is specified in seconds. In addition, it sets the estimated number of seconds it takes to transmit a link state update packet over this interface. Valid values for <seconds> range from 1 to 3600 (1 hour). no ip ospf transmit-delay command sets the default OSPF Transit Delay for the specified interface.

Default 1
Format

ip ospf transmit-delay <1-3600>>

no ip ospf transmit-delay

Mode Interface Config

ip ospf mtu-ignore

ip ospf mtu-ignore command disables OSPF maximum transmission unit (MTU) mismatch detection. OSPF Database Description packets specify the size of the largest IP packet that can be sent without fragmentation on the interface. When a router receives a Database Description packet, it examines the MTU advertised by the neighbor. By default, if the MTU is larger than the router can accept, the Database Description packet is rejected and the OSPF adjacency is not established. no ip ospf mtu-ignore command enables the OSPF MTU mismatch detection.

Default Enabled
Format

ip ospf mtu-ignore

no ip ospf mtu-ignore

Mode Interface Config

ip ospf bfd

This command enables BFD for OSPFv2 on the specified interface. To disable BFD for OSPFv2 on the specified interface, use the no form of this command.

Default Disabled
Format

ip ospf bfd

no ip ospf bfd

Mode Interface Config

router-id

router-id command sets a 4-digit dotted-decimal number uniquely identifying the router ospf id. The <ipaddress> is a configured value.

Default None
Format router-id <ipaddress>
Mode Router OSPF Config

redistribute

redistribute command configures OSPF protocol to allow redistribution of routes from the specified source protocol/routers. no redistribute command configures OSPF protocol to prohibit redistribution of routes from the specified source protocol/routers.

Default

metric—unspecified

type—2

tag—0

Format

redistribute {bgp | static | connected} [metric <0-16777214>] [metric-type {1 | 2}] [tag <0-4294967295>] [subnets]

no redistribute {bgp | static | connected} [metric] [metric-type] [tag] [subnets]

Mode Router OSPF Config

maximum-paths

maximum-paths command sets the number of paths that OSPF can report for a given destination where maxpaths is platform dependent. no maximum-paths command resets the number of paths that OSPF can report for a given destination back to its default value. The < maxpaths> range is 1 to 48.

Default 4
Format

maximum-paths <maxpaths>

no maximum-paths

Mode Router OSPF Config

passive-interface default

passive-interface default command to enable global passive mode by default for all interfaces. It overrides any interface level passive mode. OSPF will not form adjacencies over a passive interface. no passive-interface default command to disable the global passive mode by default for all interfaces. Any interface previously configured to be passive reverts to non-passive mode.

Default Disabled
Format

passive-interface default

no passive-interface default

Mode Router OSPF Config

passive-interface

passive-interface command to set the interface or tunnel as passive. It overrides the global passive mode that is currently effective on the interface or tunnel. no passive-interface command to set the interface or tunnel as non-passive. It overrides the global passive mode that is currently effective on the interface or tunnel.

Default Disabled
Format

passive-interface {<slot/port> | vlan <vlan-id>}

no passive-interface {<slot/port> | vlan <vlan-id>}

Mode Router OSPF Config

timers spf

Use this command to configure the SPF delay time and hold time. The valid range for both parameters is 0-65535 seconds.

Default

delay-time—5

hold-time—10

Format timers spf <delay-time> <hold-time>
Mode Router OSPF Config

max-metric

Use max-metric command to configure OSPF to enable stub router mode. Use no max-metric command to disable stub router mode. If you configure the summary LSA metric to 16,777,215, other routers will skip the summary LSA when they compute routes.

Default None
Format

max-metric router-lsa [on-startup <seconds> [summary-lsa [<metric>]] | summary-lsa [<metric> [on-startup <seconds>]]

no max-metric router-lsa [on-startup] [summary-lsa]

Mode Router OSPF Config
Fields Definition
on-startup OSPF starts in stub router mode after a reboot.
seconds The number of seconds that OSPF remains in stub router mode after a reboot. The range is from 5 to 86,400 seconds. There is no default value.
summary-lsa Set the metric in type 3 and 4 summary LSAs to LsInfinity (0xFFFFFF).
metric Metric to send in summary LSAs when in stub router mode. Range is 1 to 16,777,215. Default is 16,711,680(0xFF0000).

log-adjacency-changes

log-adjacency-changes command logs OSPFv2 neighbor state changes. no log-adjacency-changes command disables logging OSPFv2 neighbor state changes.

Default Disabled
Format

log-adjacency-changes [detail]

no log-adjacency-change

Mode Router OSPF Config Mode
Fields Definition
detail Log all messages for each adjacency state change, not just when transitions to FULL state and when a backwards transition occur.

prefix-suppression

Use max-metric command to suppress the advertisement of all the IPv4 prefixes except for prefixes that are associated with secondary IPv4 addresses, loopbacks, and passive interfaces from the OSPFv2 router advertisements. To suppress a loopback or passive interface, use the command ip ospf prefix-suppresion in interface config mode. Prefixes associated with secondary IPv4 addresses can never be suppressed. no prefix-suppression command disables prefix-suppression. No prefixes are suppressed from being advertised.

Default Disabled
Format

prefix-suppression

no prefix-suppression

Mode Router OSPF Config Mode

nsf helper

Use this command to enable helper neighbor functionality for the OSPF graceful restart on an interface. Use the no form of the command to disable helper neighbor functionality for the OSPF graceful restart.

Default Disabled
Format

nsf [ietf] [helper]

no nsf [ietf] [helper]

Mode Router OSPF Config Mode
Fields Definition
ieft This keyword is accepted but not required.

nsf helper strict-lsa-checking

Use this command to require that an OSPF helper neighbor exit helper mode whenever a topology change occurs. Use the no form of the command to allow OSPF to continue as a helpful neighbor in spite of topology changes.

Default Enabled
Format

nsf {[ietf] [helper] [strict-lsa-checking] | [helper] [strict-lsa-checking]}

no nsf {[ietf] [helper] [strict-lsa-checking] | [helper] [strict-lsa-checking]}

Mode Router OSPF Config Mode
Fields Definition
ieft This keyword is accepted but not required.
strict-lsa-checking Specify that an OSPF helper exits helper mode whenever a topology change occurs. OSPF continues as a helpful neighbor in spite of topology changes if this option is not set.

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. 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.

Default actual interface bandwith
Format

bandwidth <1-10000000>

no bandwidth

Mode Interface Config