Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Option: Applying Traffic Engineering to a Layer 2 Circuit

To traffic engineer Layer 2 circuits over multiple LSPs, you must create a community, assign a set of Layer 2 circuits to that community, define a policy to send the community traffic over a desired LSP, and apply the policy to the forwarding table.

To create a community, include the community community-name statement at the [edit policy-options] hierarchy level. To assign a Layer 2 circuit to a community, include the community community-name statement at the [edit protocols l2circuit neighbor ip-address interface interface-name] hierarchy level. To create a policy that sends community traffic over a specific LSP, include the community community-namestatement at the [edit policy-options policy-statement policy-name term term-name from] hierarchy level and the install-next-hop lsp lsp-name statement at the [edit policy-options policy-statement policy-name term term-name then] hierarchy level. To apply the policy to the forwarding table, include the export policy-name statement at the [edit routing-options forwarding-table] hierarchy level.

[edit]routing-options {forwarding-table {export policy-name;}}protocols {l2circuit {neighbor ip-address {interface interface-name {virtual-circuit-id identifier;community community-name;}}}}policy-options {policy-statement policy-name {from community community-name;then {install-nexthop lsp lsp-name; accept;}}}community community-name members value;

Published: 2012-11-15