C
HAPTER
45
| IP Routing Commands
Open Shortest Path First (OSPFv2)
– 1063 –
ip ospf cost
This command explicitly sets the cost of sending a protocol packet on an
interface, where higher values indicate slower ports. Use the
no
form to
restore the default value.
S
YNTAX
ip ospf
[
ip-address
]
cost
cost
no ip ospf
[
ip-address
]
cost
ip-address
- This parameter can be used to indicate a specific IP
address connected to the current interface. If not specified, the
command applies to all networks connected to the current interface.
cost
- Link metric for this interface. Use higher values to indicate
slower ports. (Range: 1-65535)
C
OMMAND
M
ODE
Interface Configuration (VLAN)
D
EFAULT
S
ETTING
1
C
OMMAND
U
SAGE
◆
The interface cost indicates the overhead required to send packets
across a certain interface. This is advertised as the link cost in router
link state advertisements.
◆
Routes are assigned a metric equal to the sum of all metrics for each
interface link in the route.
◆
This router uses a default cost of 1 for all port types. Therefore, if any
VLAN contains 10 Gbps ports, you may want to reset the cost for other
VLANs which do not contain 10 Gbps ports to a value greater than 1.
E
XAMPLE
Console(config)#interface vlan 1
Console(config-if)#ip ospf cost 10
Console(config-if)#
Summary of Contents for ECS4610-24F
Page 1: ...Management Guide www edge core com ECS4610 24F 24 Port Layer 3 Gigabit Ethernet Switch...
Page 2: ......
Page 4: ......
Page 6: ...ABOUT THIS GUIDE 6...
Page 36: ...CONTENTS 36...
Page 48: ...FIGURES 48...
Page 54: ...TABLES 54...
Page 56: ...SECTION I Getting Started 56...
Page 78: ...CHAPTER 2 Initial Switch Configuration Managing System Files 78...
Page 80: ...SECTION II Web Configuration 80 Unicast Routing on page 483 Multicast Routing on page 541...
Page 100: ...CHAPTER 3 Using the Web Interface Navigating the Web Browser Interface 100...
Page 124: ...CHAPTER 4 Basic Management Tasks Resetting the System 124...
Page 186: ...CHAPTER 6 VLAN Configuration Configuring MAC based VLANs 186...
Page 194: ...CHAPTER 7 Address Table Settings Clearing the Dynamic Address Table 194...
Page 218: ...CHAPTER 8 Spanning Tree Algorithm Configuring Interface Settings for MSTP 218...
Page 220: ...CHAPTER 9 Rate Limit Configuration 220 Figure 103 Configuring Rate Limits...
Page 222: ...CHAPTER 10 Storm Control Configuration 222 Figure 104 Configuring Broadcast Storm Control...
Page 238: ...CHAPTER 11 Quality of Service Attaching a Policy Map to a Port 238...
Page 334: ...CHAPTER 13 Security Measures DHCP Snooping 334...
Page 430: ...CHAPTER 15 Multicast Filtering Multicast VLAN Registration 430...
Page 540: ...CHAPTER 20 Unicast Routing Configuring the Open Shortest Path First Protocol Version 2 540...
Page 564: ...CHAPTER 21 Multicast Routing Configuring PIM for IPv4 564 Figure 375 Showing RP Mapping...
Page 578: ...CHAPTER 22 Using the Command Line Interface CLI Command Groups 578...
Page 628: ...CHAPTER 24 System Management Commands Time Range 628...
Page 648: ...CHAPTER 25 SNMP Commands 648...
Page 656: ...CHAPTER 26 Remote Monitoring Commands 656...
Page 786: ...CHAPTER 30 Interface Commands 786...
Page 800: ...CHAPTER 32 Port Mirroring Commands Local Port Mirroring Commands 800...
Page 902: ...CHAPTER 38 Quality of Service Commands 902...
Page 950: ...CHAPTER 39 Multicast Filtering Commands IGMP Proxy Routing 950...
Page 968: ...CHAPTER 40 LLDP Commands 968...
Page 978: ...CHAPTER 41 Domain Name Service Commands 978...
Page 1084: ...CHAPTER 45 IP Routing Commands Open Shortest Path First OSPFv2 1084...
Page 1114: ...SECTION IV Appendices 1114...
Page 1120: ...APPENDIX A Software Specifications Management Information Bases 1120...
Page 1142: ...COMMAND LIST 1142...
Page 1152: ...INDEX 1152...
Page 1153: ......