
ip ospf cost
16-14 IPv4 Routing Protocol Configuration
Defaults
None.
Mode
Interface
configuration:
G3
(su)
‐
>router(Config
‐
if(Vlan
1))#
Example
This
example
shows
how
to
configure
the
VLAN
1
interface
as
area
0.0.0.31:
G3(su)->router(Config)#interface vlan 1
G3(su)->router(Config-if(Vlan 1))#ip ospf areaid 0.0.0.31
ip ospf cost
Use
this
command
to
set
the
cost
of
sending
an
OSPF
packet
on
an
interface.
The
no
form
of
this
command
resets
the
OSPF
cost
to
the
default
of
10.
Syntax
ip ospf cost
cost
no ip ospf cost
Parameters
Defaults
None.
Mode
Interface
configuration:
G3
(su)
‐
>router(Config
‐
if(Vlan
1))#
Usage
Each
router
interface
that
participates
in
OSPF
routing
is
assigned
a
default
cost.
This
command
overwrites
the
default
of
10.
Example
This
example
shows
how
to
set
the
OSPF
cost
to
20
for
the
VLAN
1
interface:
G3(su)->router(Config)#interface vlan 1
G3(su)->router(Config-if(Vlan 1))#ip ospf cost 20
ip ospf priority
Use
this
command
to
set
the
OSPF
priority
value
for
router
interfaces.
The
no
form
of
this
command
resets
the
value
to
the
default
of
1.
Syntax
i
p ospf priority
number
no ip ospf priority
cost
Specifies
the
cost
of
sending
a
packet.
Valid
values
range
from
1
to
65535
.
Summary of Contents for G3G170-24
Page 1: ...Enterasys G Series Ethernet Switch CLI Reference Firmware Version 1 00 xx P N 9034358 01...
Page 2: ......
Page 30: ...xxviii...
Page 100: ...set ssl 2 56 Basic Configuration...
Page 132: ...clear lldp port tx tlv 3 32 Discovery Protocol Configuration...
Page 272: ...show spantree nonforwardingreason 6 52 Spanning Tree Configuration...
Page 296: ...set garp timer 7 24 802 1Q VLAN Configuration...
Page 384: ...clear nodealias config 11 34 Logging and Network Management...
Page 438: ...Enabling Router Configuration Modes 14 4 Preparing for Router Mode...
Page 514: ...show ip pimsm staticrp 16 56 IPv4 Routing Protocol Configuration...
Page 524: ...traceroute ipv6 17 10 IPv6 Management...
Page 602: ...show ipv6 ospf virtual link 19 46 OSPFv3 Configuration...