Cisco OSPF Configuration Command

Cisco OSPF Configuration Command: Router (config) #interface loopback 0 Router (config-if) #ip address 192.168.11.11 255.255.255.255
By: 3anetwork
 
Feb. 24, 2014 - PRLog -- Cisco switch / router OSPF Configuration Command:

Router (config) #interface loopback 0

Router (config-if) #ip address 192.168.11.11 255.255.255.255

Configure loopback interface as the Router ID. Advantage is that loopback interface is logic interface, will not down, so that router ID will not be because of physical link down changed frequently. The loopback interface of the IP general mask with 4 255.

Router (config) #router OSPF 1

Router (config-router) #network 192.168.1.0 0.0.0.255 area 0

Cisco OSPF show command

Router C#show ip ospf neighbor

Router C#show IP Protocols

Router C#show ip ospf

Router C#show ip ospf neighbor detail

Cisco OSPF debug command

Router1#debug ip ospf?

Adj OSPF adjacency events

Database-timer OSPF database timer

Events OSPF events

Flood OSPF flooding

Hello OSPF Hello events

Lsa-generation OSPF LSA generation

MPLS OSPF MPLS

NSF OSPF non-stop forwarding events

Packet OSPF packets

Retransmission OSPF retransmission events

SPF OSPF SPF

Tree OSPF database tree

Configuring Cisco OSPF authentication

Specifies the authentication


Area area-id authentication [message-digest]

Use the plain text authentication

Ip ospf authentication-key password

Use of message digest authentication (MD5)

Ip ospf message-digest-key keyID MD5 key

Configure OSPF to calculate a default metric command interface:

Auto-cost reference-bandwidth reference-bandwidth (range 1-4294967, the default value is 100)

In the following circumstances may change cost:

1 Interoperability, need to run OSPF maintenance of the equipment supplied by different vendors.

2, because the path design reasons to choose and the Cisco default path metric to determine the different.

3, in the application of cost metrics need larger size. (I understand such as Jibit Ethernet in OSPF the default cost is 1, and the fast Ethernet is 1, which resulted in the path is not optimal.The reference-bandwidth can be changed to 1000 Gigabit ports, then the cost value is 1, and the fast Ethernet port 10 for cost).

May be the following reasons for using priority to modify the interface OSPF priority:

1, the router has more powerful CPU or memory than other routers on the LAN.

2, the router is the most reliable network router.

3, the LAN all other routers are connected to Stub network, forming a network access layer.

4, NBMA cloud in a point to multipoint connections, then need to configure a hub router as the center, the hub router as a DR.

5, the router is a ABR, do not want to let him as the DR consumed more resources.

Configuring Cisco OSPF interface

Router1 (config-if) #ip OSPF?

Authentication Enable authentication

Authentication-key Authentication password (key)

The calculation method of cost Interface cost default overhead for 100*1000000/ bandwidth(BPS)

Database-filter Filter OSPF LSA during synchronization and flooding

Dead-interval Interval after which a neighbor is declared dead dead change interval

Demand-circuit OSPF demand circuit

Flood-reduction OSPF Flood Reduction

Hello-interval Time between HELLO packets to change the Hello transmission interval

LLS Link-local Signaling (LLS) support

Message-digest-key Message digest authentication password (key) enabled with MD5authentication

Mtu-ignore Ignores the MTU in DBD packets

Network Network type

Priority Router priority to modify the election DR priority. 0-255 0 does not participate in theelections, the default is 1, numerical value is greater the higher the priority.

Resync-timeout Interval after which adjacency is reset if oob-resync is not started

Retransmit-interval Time between retransmitting lost link state advertisements

Transmit-dely Li state transmit delay

More information about the Cisco switch, please click the below links:

http://www.3anetwork.com/cisco-catalyst-2960-switches-pri... Cisco 2960

http://www.3anetwork.com/cisco-catalyst-3750-switches-pri... Cisco 3750

Contact
kingwei network
jkemma990@gmail.com
End
Source:3anetwork
Email:***@gmail.com
Tags:Cisco 2960, Cisco 3750, Cisco OSPF Configuration, OSPF Configuration, Cisco In Usa
Industry:Marketing, Technology
Subject:Deals
Account Email Address Verified     Account Phone Number Verified     Disclaimer     Report Abuse



Like PRLog?
9K2K1K
Click to Share