Difference between revisions of "BGP til OSPF redistribution Cisco IO"
From Teknologisk videncenter
m (removed Category:Ospf using HotCat) |
|||
(4 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"> | <source lang="cli"> | ||
+ | ! | ||
router ospf 10 | router ospf 10 | ||
− | log-adjacency-changes | + | log-adjacency-changes |
− | <notice>redistribute bgp 64512 metric 1500 subnets</notice> | + | <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> | ||
{{source cli}} | {{source cli}} | ||
Line 11: | Line 13: | ||
[[Category:Network]] | [[Category:Network]] | ||
[[Category:BGP]] | [[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
!