Difference between revisions of "BGP til OSPF redistribution Cisco IO"

From Teknologisk videncenter
Jump to: navigation, search
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
For at distribuere bgp router ind i ospf, så brug redistribute bgp kommandoen, husk at sætte metric og subnets på, ellers så virker det ikke!
+
For at distribuere bgp router ind i ospf, så brug redistribute bgp kommandoen, husk at sætte metric og subnets på, ellers så virker det ikke
 
+
<source lang="cli">
router ospf 10
+
!
 +
router ospf 10
 
  log-adjacency-changes
 
  log-adjacency-changes
  '''redistribute bgp 64512 metric 1500 subnets'''
+
  <notice>redistribute bgp 64512 metric 1500 subnets</notice>
 
  network 10.1.0.0 0.0.255.255 area 0
 
  network 10.1.0.0 0.0.255.255 area 0
 +
!
 +
</source>
 +
{{source cli}}
 +
 +
[[Category:Cisco]]
 +
[[Category:Network]]
 +
[[Category:BGP]]
 +
[[Category:OSPF]]

Latest revision as of 12:13, 7 February 2017

For at distribuere bgp router ind i ospf, så brug redistribute bgp kommandoen, husk at sætte metric og subnets på, ellers så virker det ikke

!
router ospf 10
 log-adjacency-changes
 <notice>redistribute bgp 64512 metric 1500 subnets</notice>
 network 10.1.0.0 0.0.255.255 area 0
!