| 1 | |||
| 2 | |||
| 3 | root@crpd1> configure | ||
| 4 | |||
| 5 | Entering configuration mode | ||
| 6 | |||
| 7 | |||
| 8 | root@crpd1> set interfaces eth1 unit 0 family inet | ||
| 9 | |||
| 10 | |||
| 11 | |||
| 12 | root@crpd1> set interfaces eth1 unit 0 family inet6 | ||
| 13 | |||
| 14 | |||
| 15 | |||
| 16 | root@crpd1> set protocols router-advertisement interface eth1 | ||
| 17 | |||
| 18 | |||
| 19 | |||
| 20 | root@crpd1> set routing-options router-id 1.2.3.2 | ||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | root@crpd1> set routing-options autonomous-system 46 | ||
| 25 | |||
| 26 | |||
| 27 | |||
| 28 | root@crpd1> set routing-options static route 1.2.3.0/24 discard | ||
| 29 | |||
| 30 | |||
| 31 | |||
| 32 | root@crpd1> set routing-options rib inet6.0 static route fd99::/64 discard | ||
| 33 | |||
| 34 | |||
| 35 | |||
| 36 | root@crpd1> set policy-options policy-statement expo term announce4 from route-filter 1.2.3.0/24 exact | ||
| 37 | |||
| 38 | |||
| 39 | |||
| 40 | root@crpd1> set policy-options policy-statement expo term announce4 then accept | ||
| 41 | |||
| 42 | |||
| 43 | |||
| 44 | root@crpd1> set policy-options policy-statement expo term announce6 from route-filter fd99::/64 exact | ||
| 45 | |||
| 46 | |||
| 47 | |||
| 48 | root@crpd1> set policy-options policy-statement expo term announce6 then accept | ||
| 49 | |||
| 50 | |||
| 51 | |||
| 52 | root@crpd1> set policy-options policy-statement expo then reject | ||
| 53 | |||
| 54 | |||
| 55 | |||
| 56 | root@crpd1> set protocols bgp group unnumbered type external | ||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | root@crpd1> set protocols bgp group unnumbered family inet unicast extended-nexthop | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | root@crpd1> set protocols bgp group unnumbered family inet6 unicast | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | root@crpd1> set protocols bgp group unnumbered peer-as 33 | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | root@crpd1> set protocols bgp group unnumbered export expo | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | root@crpd1> set protocols bgp group unnumbered dynamic-neighbor bgp_unnumbered peer-auto-discovery family inet6 ipv6-nd | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | root@crpd1> set protocols bgp group unnumbered dynamic-neighbor bgp_unnumbered peer-auto-discovery interface eth1 | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | root@crpd1> commit | ||
| 85 | |||
| 86 | commit complete | ||