Difference between revisions of "TDC Juniper"

From Teknologisk videncenter
Jump to: navigation, search
m (Juniper)
m (Goodies)
Line 83: Line 83:
 
             }
 
             }
 
         }
 
         }
 +
    }
 +
}
 +
</pre>
 +
IPv6 Default GW
 +
<pre>
 +
 +
[edit routing-options]
 +
root@SRX240# show
 +
rib inet6.0 {
 +
    static {
 +
        route ::/0 next-hop 2001:16d8:dd85:146::1;
 
     }
 
     }
 
}
 
}

Revision as of 15:34, 5 December 2011

Juniper

Bilag

Goodies

IS-IS opsætning

[edit protocols isis]
rael@SRX240#show
interface ge-0/0/0 {
  level 2 disable; # Som default kører interfaces L1 og L2 så derfor slår vi L2 Hello's fra.
}
interface ge-0/0/1 {
  level 2 disable;
}
[edit interfaces]
rael@SRX240#show
interface ge-0/0/0 {
  unit 0 {
    family iso;
    family inet address 10.0.0.1/24;
  }
}
lo0 {
  unit 0 {
    family inet address 192.168.0.1/32;
    family iso address 49.0001.1921.6800.0001.00;
  }
}

NetFlow opsætning

interfaces {
    ge-0/1/0 {
        unit 0 {
            family inet {
                filter {
                    input all;
                    output all;
                }
                address 192.168.1.1/24;
            }
        }
    }
}

firewall {
    filter all {
        term all {
            then {
                sample;
                accept;
            }
        }
    }
}

forwarding-options {
    sampling {
        input {
            family inet {
                rate 100;
            }
        }
        output {
            cflowd 192.168.1.100 {
                port 2000;
                version 5;
            }
        }
    }
}

IPv6 Default GW


[edit routing-options]
root@SRX240# show
rib inet6.0 {
    static {
        route ::/0 next-hop 2001:16d8:dd85:146::1;
    }
}

Links