mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 01:40:16 +00:00
pathd. Pathd TED support . Documentation update - [part 4/4]
- As an example of pathd and igp (ospfd) config: ! igp ospfv2 snippet interface eth0 ip ospf network point-to-point ! router ospf$ mpls-te on mpls-te export ... !pathd snippet segment-routing traffic-eng mpls-te on mpls-te import ospfv2 segment-list sl-1 index 10 nai adjacency 10.1.2.11 10.1.2.1 index 20 nai adjacency 10.1.20.1 10.1.20.2 index 30 nai adjacency 10.2.5.2 10.2.5.5 ! policy color 5 endpoint 10.10.10.5 name five binding-sid 5555 candidate-path preference 600 name cp51 explicit segment-list sl-1 candidate-path preference 500 name cp52-dyn dynamic Signed-off-by: Javier Garcia <javier.garcia@voltanet.io>
This commit is contained in:
parent
f008db919d
commit
f7d5bdcf5c
@ -28,25 +28,8 @@ documented elsewhere.
|
|||||||
PCEP Support
|
PCEP Support
|
||||||
============
|
============
|
||||||
|
|
||||||
To build the PCC for pathd, the externall library `pceplib 1.2 <https://github.com/volta-networks/pceplib/tree/devel-1.2>`_ is required.
|
A pceplib is included in the frr source tree and build by default.
|
||||||
|
|
||||||
To build FRR with support for PCEP the following steps must be followed:
|
|
||||||
|
|
||||||
- Checkout and build pceplib:
|
|
||||||
|
|
||||||
```
|
|
||||||
$ git clone https://github.com/volta-networks/pceplib
|
|
||||||
$ cd pceplib
|
|
||||||
$ make
|
|
||||||
$ make install
|
|
||||||
$ export PCEPLIB_ROOT=$PWD
|
|
||||||
```
|
|
||||||
|
|
||||||
- Configure FRR with the extra parameters:
|
|
||||||
|
|
||||||
```
|
|
||||||
--enable-pcep LDFLAGS="-L${PCEPLIB_ROOT}/install/lib" CPPFLAGS="-I${PCEPLIB_ROOT}/install/include"
|
|
||||||
```
|
|
||||||
|
|
||||||
To start pathd with pcep support the extra parameter `-M pathd_pcep` should be
|
To start pathd with pcep support the extra parameter `-M pathd_pcep` should be
|
||||||
passed to the pathd daemon.
|
passed to the pathd daemon.
|
||||||
@ -62,10 +45,18 @@ Example:
|
|||||||
debug pathd pcep basic
|
debug pathd pcep basic
|
||||||
segment-routing
|
segment-routing
|
||||||
traffic-eng
|
traffic-eng
|
||||||
|
mpls-te on
|
||||||
|
mpls-te import ospfv2
|
||||||
segment-list SL1
|
segment-list SL1
|
||||||
index 10 mpls label 16010
|
index 10 mpls label 16010
|
||||||
index 20 mpls label 16030
|
index 20 mpls label 16030
|
||||||
!
|
!
|
||||||
|
segment-list SL2
|
||||||
|
index 10 nai prefix 10.1.2.1/32 iface 1
|
||||||
|
index 20 nai adjacency 10.1.20.1 10.1.20.2
|
||||||
|
index 30 nai prefix 10.10.10.5/32 algorithm 0
|
||||||
|
index 40 mpls label 18001
|
||||||
|
!
|
||||||
policy color 1 endpoint 1.1.1.1
|
policy color 1 endpoint 1.1.1.1
|
||||||
name default
|
name default
|
||||||
binding-sid 4000
|
binding-sid 4000
|
||||||
@ -113,11 +104,22 @@ Configuration Commands
|
|||||||
|
|
||||||
Configure segment routing traffic engineering.
|
Configure segment routing traffic engineering.
|
||||||
|
|
||||||
|
.. clicmd:: [no] mpls-te <on|off>
|
||||||
|
|
||||||
|
Activate/Deactivate use of internal Traffic Engineering Database
|
||||||
|
|
||||||
|
.. clicmd:: [no] mpls-te import <ospfv2|ospfv3|isis>
|
||||||
|
|
||||||
|
Load data from the selected igp
|
||||||
|
|
||||||
.. clicmd:: segment-list NAME
|
.. clicmd:: segment-list NAME
|
||||||
|
|
||||||
Delete or start a segment list definition.
|
Delete or start a segment list definition.
|
||||||
|
|
||||||
.. clicmd:: index INDEX mpls label LABEL [nai node ADDRESS]
|
.. clicmd:: index INDEX mpls label LABEL
|
||||||
|
.. clicmd:: index INDEX nai adjacency A.B.C.D A.B.C.D
|
||||||
|
.. clicmd:: index INDEX nai prefix A.B.C.D/M algorithm <0|1>
|
||||||
|
.. clicmd:: index INDEX nai prefix A.B.C.D/M iface (0-65535)
|
||||||
|
|
||||||
Delete or specify a segment in a segment list definition.
|
Delete or specify a segment in a segment list definition.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user