Quantcast
Channel: All Ethernet Switching posts
Viewing all articles
Browse latest Browse all 10307

Re: Setting OSPF up

$
0
0

Alex,

 

OK, lets see if I can share it.

 

protocols {
    ospf {
        traceoptions {
            file OSPF_Troubleshooting;
            inactive: flag error;
            inactive: flag general;
            inactive: flag hello;
            inactive: flag event;
            flag all;
        }
        export test;   
        area 0.0.0.0 {
            inactive: area-range 10.11.9.0/24;
            network-summary-export EXPORT-POLICY;
            interface vlan.109;
            inactive: interface vlan.102 {
                passive;
            }
            inactive: interface vlan.103 {
                passive;
            }
            interface lo0.0 passive;
            interface xe-2/0/14.0;
            interface ge-0/0/1.0;
            interface ge-1/0/39.0;
        }
    }
policy-options {
    policy-statement EXPORT-POLICY {
        term one {
            from {
                protocol static;
                route-filter 10.1.0.0/16 orlonger;
                route-filter 10.2.0.0/16 orlonger;
                route-filter 10.3.0.0/16 orlonger;
                route-filter 10.4.0.0/16 orlonger;
                route-filter 10.5.0.0/16 orlonger;
                route-filter 10.6.0.0/16 orlonger;
                route-filter 10.7.0.0/16 orlonger;
                route-filter 10.8.0.0/16 orlonger;
                route-filter 10.9.0.0/16 orlonger;
                route-filter 10.10.0.0/16 orlonger;
                route-filter 10.11.0.0/16 orlonger;
            }
            then accept;
        }
    }
    policy-statement test {
        term one {
            from protocol direct;
            then accept;
        }
    }
}

 

    policy-statement ospf {
        term ospf {
            from {
                protocol ospf;
                interface [ ge-1/0/39.0 ge-0/0/1.0 xe-2/0/14.0 ];
            }
        }
        then accept;
    }
    policy-statement test {
        term one {
            from protocol direct;
            then accept;
        }
    }
}

 

Also this is what is in the Level-3 MPLS

 

!
router ospf 100
 router-id 100.100.9.2
 log-adjacency-changes
 redistribute connected subnets
 redistribute static subnets
 redistribute bgp 65001 subnets route-map BGP2OSPF
 network 10.11.9.0 0.0.0.255 area 0
 default-information originate
 distribute-list DENY-MGMT out
!
!
route-map OSPF2BGP permit 20
 match ip address PERMIT-ALL
!

 


Viewing all articles
Browse latest Browse all 10307

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>