f66ab52c619cbd40883ebc4200d4f1cf1fa5d171
howto/OpenBGPD.md
| ... | ... | @@ -43,14 +43,14 @@ For each neighbor its ASN and transfer ULA is required. |
| 43 | 43 | An optional description is provided such that [**bgpctl(8)**](http://man.openbsd.org/bgpctl.8) for example can be used with mnemonic names instead of AS numbers: |
| 44 | 44 | ``` |
| 45 | 45 | # peer A, transport over IPSec/GRE |
| 46 | -$A-local="fd00:12:34:A::1" |
|
| 47 | -$A-remote="fd00:12:34:A::2" |
|
| 48 | -$A-ASN="4242425678" |
|
| 46 | +$A_local="fd00:12:34:A::1" |
|
| 47 | +$A_remote="fd00:12:34:A::2" |
|
| 48 | +$A_ASN="4242425678" |
|
| 49 | 49 | |
| 50 | -listen on $A-local |
|
| 50 | +listen on $A_local |
|
| 51 | 51 | |
| 52 | -neighbor $A-remote { |
|
| 53 | - remote-as $A-ASN |
|
| 52 | +neighbor $A_remote { |
|
| 53 | + remote-as $A_ASN |
|
| 54 | 54 | descr "A" |
| 55 | 55 | } |
| 56 | 56 | ``` |
| ... | ... | @@ -102,7 +102,7 @@ match from any community GRACEFUL_SHUTDOWN set { localpref 0 } |
| 102 | 102 | Misbehaving peers can be adjusted; for example Bird on FreeBSD is known to sometimes announce routes with incorrect `nexthop` attributes: |
| 103 | 103 | ``` |
| 104 | 104 | # XXX otherwise routes are installed with ::/128 nexthop |
| 105 | -match from AS $A-ASN set { nexthop $A-remote } |
|
| 105 | +match from AS $A_ASN set { nexthop $A_remote } |
|
| 106 | 106 | ``` |
| 107 | 107 | |
| 108 | 108 | # ROA |