ospf cisco

utzav-rs1.spb(config)#router ospf 100
IP routing not enabled
utzav-rs1.spb(config)#ip routing
utzav-rs1.spb(config)#router ospf 100

utzav-rs1.spb(config-router)#router-id x.x.x.x
utzav-rs1.spb(config-router)# log-adjacency-changes
utzav-rs1.spb(config-router)# auto-cost reference-bandwidth 50000
% OSPF: Reference bandwidth is changed.
Please ensure reference bandwidth is consistent across all routers.
utzav-rs1.spb(config-router)# area 812 authentication
utzav-rs1.spb(config-router)# area 812 nssa
utzav-rs1.spb(config-router)# passive-interface default
utzav-rs1.spb(config-router)# no passive-interface Vlan92 //интерфейс где будет работать ospf
utzav-rs1.spb(config-router)# network x.x.x.x 0.0.0.0 area 812 #сам наш роутер
utzav-rs1.spb(config-router)# network x.x.x.x 0.0.0.255 area 812 #сетка для l3 интерфейсов на всей сети.
utzav-rs1.spb(config-router)#end

На интерфейсе, надо не забыть сказать следующие слова:
R5(config-if)#ip ospf network point-to-point

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s