[an error occurred while processing this directive][an error occurred while processing this directive]

Example: Grouping Destination Prefixes

Configure a routing policy to group destination prefixes.

[edit]policy-options {policy-statement set-dest-class {term 1 {from community nets1;then {destination-class on-net;accept;}}term 2 {from community nets2;then {destination-class off-net;accept;}}}community nets1 [7:8 9:10];community nets2 [1:2 4:5];}

Apply a routing policy to the forwarding table with the corresponding destination class.

[edit]routing-options {forwarding-table {export set-dest-class;}}

Enable packet counting on an interface.

[edit interfaces]interfaces so-1/0/1 {unit 0 {family inet6 {accounting {destination-class-usage;}}}}

Published: 2010-04-15

[an error occurred while processing this directive]