summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/neighbor-local-as.xml.i
blob: 8cf0167fd2e53b136bce77ed78373788cfbf800e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!-- include start from bgp/neighbor-local-as.xml.i -->
<tagNode name="local-as">
  <properties>
    <help>Specify alternate ASN for this BGP process</help>
    <valueHelp>
      <format>u32:1-4294967294</format>
      <description>Autonomous System Number (ASN)</description>
    </valueHelp>
    <constraint>
      <validator name="numeric" argument="--range 1-4294967294"/>
    </constraint>
  </properties>
  <children>
    <leafNode name="no-prepend">
      <properties>
        <help>Disable prepending local-as from/to updates for eBGP peers</help>
        <valueless/>
      </properties>
    </leafNode>
    <leafNode name="replace-as">
      <properties>
        <help>Prepend only local-as from/to updates for eBGP peers</help>
        <valueless/>
      </properties>
    </leafNode>
  </children>
</tagNode>
<!-- include end -->