
ip ospf cost
17-14
IPv4 Routing Protocol Configuration
Defaults
None.
Mode
Interface
configuration:
C2
(su)
‐
>router(Config
‐
if(Vlan
1))#
Example
This
example
shows
how
to
configure
the
VLAN
1
interface
as
area
0.0.0.31:
C2(su)->router(Config)#interface vlan 1
C2(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:
C2
(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:
C2(su)->router(Config)#interface vlan 1
C2(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
.
Содержание SecureStack C2
Страница 1: ...SecureStack C2 Stackable Switches Configuration Guide Firmware Version 5 1 xx P N 9033991 16 ...
Страница 2: ......
Страница 28: ...xxvi ...
Страница 106: ...set ssl 3 52 Basic Configuration ...
Страница 226: ...Creating a Basic SNMP Trap Configuration 6 38 SNMP Configuration ...
Страница 278: ...show spantree nonforwardingreason 7 52 Spanning Tree Configuration ...
Страница 302: ...set garp timer 8 24 802 1Q VLAN Configuration ...
Страница 448: ...show dhcp pool configuration 14 30 DHCP Server Configuration ...
Страница 454: ...no license advanced 15 6 Preparing for Router Mode ...