To configure a policy to send community traffic over a specific LSP, include the policy-statement statement:
- policy-statement policy-name {
-
- term term-name {
- from community community-name;
-
- then {
-
install-nexthop (except | lsp lsp-name | lsp-regex lsp-regular-expression);
- accept;
- }
- }
- }
You can include the policy-statement statement at the following hierarchy levels:
To prevent the installation of any matching next hops, include the install-nexthop statement with the except option:
-
install-nexthop except;
You can include the install-nexthop statement at the following hierarchy levels:
To assign traffic from a community to a specific LSP, include the install-nexthop statement with the lsp lsp-name option and the accept statement:
-
install-nexthop lsp lsp-name;
- accept;
You can include these statements at the following hierarchy levels:
You can also use a regular expression to select an LSP from a set of similarly named LSPs for the install-nexthop statement. To configure a regular expression, include the install-nexthop statement with the lsp-regex option and the accept statement:
-
install-nexthop lsp-regex lsp-regular-expression;
- accept;
You can include these statements at the following hierarchy levels: