Difference between revisions of "TDC Juniper CPE/Dynamisk routing"
From Teknologisk videncenter
m (→Implmentering) |
m (→Router-ID) |
||
Line 22: | Line 22: | ||
root@SRX240# <input>show routing-options router-id</input> | root@SRX240# <input>show routing-options router-id</input> | ||
<notice>router-id 24.24.24.24;</notice> | <notice>router-id 24.24.24.24;</notice> | ||
+ | </source> | ||
+ | ==Reference båndbredde== | ||
+ | <source lang=cli> | ||
+ | root@SRX240# <input>run show ospf interface detail</input> | ||
+ | Interface State Area DR ID BDR ID Nbrs | ||
+ | ge-0/0/1.10 DR 0.0.0.0 24.24.24.24 0.0.0.0 0 | ||
+ | Type: LAN, Address: 10.64.0.1, Mask: 255.255.255.252, MTU: 1500, <notice>Cost: 1</notice> | ||
+ | DR addr: 10.64.0.1, Priority: 128 | ||
+ | Adj count: 0 | ||
+ | Hello: 10, Dead: 40, ReXmit: 5, Not Stub | ||
+ | Auth type: None | ||
+ | Protection type: None | ||
+ | Topology default (ID 0) -> <notice>Cost: 1</notice> | ||
+ | |||
+ | [edit] | ||
+ | root@SRX240# <input>set protocols ospf reference-bandwidth 10G</input> | ||
+ | |||
+ | [edit] | ||
+ | root@SRX240# <input>commit</input> | ||
+ | commit complete | ||
+ | |||
+ | [edit] | ||
+ | root@SRX240# run show ospf interface detail | ||
+ | Interface State Area DR ID BDR ID Nbrs | ||
+ | ge-0/0/1.10 DR 0.0.0.0 24.24.24.24 0.0.0.0 0 | ||
+ | Type: LAN, Address: 10.64.0.1, Mask: 255.255.255.252, MTU: 1500, <notice>Cost: 10</notice> | ||
+ | DR addr: 10.64.0.1, Priority: 128 | ||
+ | Adj count: 0 | ||
+ | Hello: 10, Dead: 40, ReXmit: 5, Not Stub | ||
+ | Auth type: None | ||
+ | Protection type: None | ||
+ | Topology default (ID 0) -> <notice>Cost: 10</notice> | ||
+ | |||
</source> | </source> |
Revision as of 21:58, 13 January 2015
I denne opgave kan du enten vælge at konfigurere OSPF eller BGP alt efter preference. Eller hvert medlem af holdet kan konfigurere hver sin protokol:-)
OSPF
Tegning findes i klassen.
Default timers:
- Hello
- 10 sekunder
- Dead
- 40 Sekunder
Implmentering
For at konfigurere OSPF på en SRX kasse skal man igennem følgende skridt:
- Konfigurer router-id
- Konfigurer OSPF interfaces
- Herunder passiv interfaces
- Sæt reference båndbredde
- Tillad OSPF i host-inbound
- Kontroller det virker
Router-ID
Konfiguration af Router-ID finder sted under router-options stanza.
Router-ID er et 32 bits streng skrevet i dotted decimal notation som en IPv4 adresse.
Router-ID kan ikke være i 0.0.0.0/8 eller 127.0.0.0/8 området.
[edit]
root@SRX240# <input>show routing-options router-id</input>
<notice>router-id 24.24.24.24;</notice>
Reference båndbredde
root@SRX240# <input>run show ospf interface detail</input>
Interface State Area DR ID BDR ID Nbrs
ge-0/0/1.10 DR 0.0.0.0 24.24.24.24 0.0.0.0 0
Type: LAN, Address: 10.64.0.1, Mask: 255.255.255.252, MTU: 1500, <notice>Cost: 1</notice>
DR addr: 10.64.0.1, Priority: 128
Adj count: 0
Hello: 10, Dead: 40, ReXmit: 5, Not Stub
Auth type: None
Protection type: None
Topology default (ID 0) -> <notice>Cost: 1</notice>
[edit]
root@SRX240# <input>set protocols ospf reference-bandwidth 10G</input>
[edit]
root@SRX240# <input>commit</input>
commit complete
[edit]
root@SRX240# run show ospf interface detail
Interface State Area DR ID BDR ID Nbrs
ge-0/0/1.10 DR 0.0.0.0 24.24.24.24 0.0.0.0 0
Type: LAN, Address: 10.64.0.1, Mask: 255.255.255.252, MTU: 1500, <notice>Cost: 10</notice>
DR addr: 10.64.0.1, Priority: 128
Adj count: 0
Hello: 10, Dead: 40, ReXmit: 5, Not Stub
Auth type: None
Protection type: None
Topology default (ID 0) -> <notice>Cost: 10</notice>