Tuesday, April 20, 2010, 04:51 PM -
CiscoPosted by Administrator
OSPF Notes Part 3Packet TypesOSPF is IP protocol 89.
Hello - Used to establish communication with directly connected neighbors
Database Descriptor (DBD) - Lists router IDs from which the router has an LSA and its
current sequence number
Link State Request (LSR) - Request for an LSA
Link State Update (LSU) - Reply to an LSR with the requested information
Link State Acknowledgment (LSAck) - Used to confirm receipt of link-state information
Packet FieldsVersion - Version of OSPF being run
Type
Length
Router ID
Area ID
Checksum
Authentication type (none/plaintext/md5)
Authentication data
Data
Configuring OSPF in a Single AreaNecessary information:
OSPF process ID (locally significant)
Participating interfaces
Area ID
Router ID
Enable OSPFRouter(config-router)# router ospf <process number>
Configure Included NetworksRouter(config-router)# network <network> <wildcard mask> area <area ID>
A single interface can be specified by supplying its IP address and a null wildcard mask: network
192.168.0.1 0.0.0.0 area 0
Router IDIf no router ID has been administratively declared, a router will choose the highest loopback IP address.
If no loopback addresses are present, the highest IP address of the first active interface will be used.
A router ID can be manually specified:
Router(config-router)# router-id <IP address>Best practice dictates the creation of a loopback address to be used as the router ID for stability and continuity:
Router(config)# interface loopback 0Router(config-if)# ip address <IP address> <subnet mask>Default CostLink cost is a 16-bit value (0-65535); default cost is calculated as 100Mbps/interface bandwidth.(Interfaces 100Mbps and faster are assigned a cost of 1.)
SourceOther categories
Cisco Jokes Photos Tutorials Voip Goa
Bookmark this on Delicious
Home