To configure a policy statement to import routes from the customer’s CE router, include the policy-statement statement:
- policy-statement policy-name {
-
- term term-name {
-
- from {
- protocol bgp;
- community community-name;
- }
- then accept;
- }
-
- term term-name {
- then reject;
- }
- }
You can include the policy-statement statement at the following hierarchy levels:
To configure a policy statement to export routes to the customer’s CE router, include the policy-statement and community statements:
- policy-statement policy-name {
-
- term term-name {
- from protocol bgp;
-
- then {
- community add community-name;
- accept;
- }
- }
-
- term term-name {
- then reject;
- }
- }
- community community-name members value;
You can include these statements at the following hierarchy levels: