Add user-guide for unnumbered
This commit is contained in:
@ -76,6 +76,9 @@ following fields:
|
|||||||
* ***mpls***: An optional boolean that configures MPLS on the interface or sub-interface. The
|
* ***mpls***: An optional boolean that configures MPLS on the interface or sub-interface. The
|
||||||
default value is `false`, if the field is not specified, which means MPLS will not be enabled.
|
default value is `false`, if the field is not specified, which means MPLS will not be enabled.
|
||||||
This allows BVIs, represented by Loopbacks, to participate in MPLS .
|
This allows BVIs, represented by Loopbacks, to participate in MPLS .
|
||||||
|
* ***unnumbered***: An interface name from which this loopback interface will borrow IPv4 and
|
||||||
|
IPv6 addresses. The interface can be either a loopback, an interface or a sub-interface. if
|
||||||
|
the interface is unnumbered, it can't be L2 and it can't have addresses.
|
||||||
|
|
||||||
Although VPP would allow it, `vppcfg` does not allow for loopbacks to have sub-interfaces.
|
Although VPP would allow it, `vppcfg` does not allow for loopbacks to have sub-interfaces.
|
||||||
|
|
||||||
@ -312,6 +315,10 @@ exist as a PHY in VPP (ie. `HundredGigabitEthernet12/0/0`) or as a specified `Bo
|
|||||||
`dpdk`, and it is used to generate correct mock interfaces if the `--novpp` flag is used.
|
`dpdk`, and it is used to generate correct mock interfaces if the `--novpp` flag is used.
|
||||||
* ***mpls***: An optional boolean that configures MPLS on the interface or sub-interface. The
|
* ***mpls***: An optional boolean that configures MPLS on the interface or sub-interface. The
|
||||||
default value is `false`, if the field is not specified, which means MPLS will not be enabled.
|
default value is `false`, if the field is not specified, which means MPLS will not be enabled.
|
||||||
|
* ***unnumbered***: An interface name from which this (sub-)interface will borrow IPv4 and
|
||||||
|
IPv6 addresses. The interface can be either a loopback, an interface or a sub-interface. if
|
||||||
|
the interface is unnumbered, it can't be L2 and it can't have addresses.
|
||||||
|
|
||||||
|
|
||||||
Further, top-level interfaces, that is to say those that do not have an encapsulation, are permitted
|
Further, top-level interfaces, that is to say those that do not have an encapsulation, are permitted
|
||||||
to have any number of sub-interfaces specified by `subid`, an integer between [0,2G), which further
|
to have any number of sub-interfaces specified by `subid`, an integer between [0,2G), which further
|
||||||
@ -351,10 +358,14 @@ interfaces:
|
|||||||
dot1q: 1234
|
dot1q: 1234
|
||||||
inner-dot1q: 1000
|
inner-dot1q: 1000
|
||||||
exact-match: True
|
exact-match: True
|
||||||
|
1236:
|
||||||
|
mtu: 1500
|
||||||
|
unnumbered: HundredGigabitEthernet12/0/0.1235
|
||||||
|
|
||||||
BondEthernet0:
|
BondEthernet0:
|
||||||
mtu: 9000
|
mtu: 9000
|
||||||
lcp: "bond0"
|
lcp: "bond0"
|
||||||
|
unnumbered: loop0
|
||||||
sub-interfaces:
|
sub-interfaces:
|
||||||
100:
|
100:
|
||||||
mtu: 2500
|
mtu: 2500
|
||||||
@ -368,6 +379,9 @@ interfaces:
|
|||||||
encapsulation:
|
encapsulation:
|
||||||
dot1q: 200
|
dot1q: 200
|
||||||
exact-match: False
|
exact-match: False
|
||||||
|
300:
|
||||||
|
mtu: 1500
|
||||||
|
unnumbered: loop0
|
||||||
```
|
```
|
||||||
|
|
||||||
### Prefix Lists
|
### Prefix Lists
|
||||||
|
Reference in New Issue
Block a user