Jump to content
Калькуляторы

Как установить ip precedence на Juniper MX?

Добрый день.

 

Есть на cisco такая политика:

 

 Policy Map SET-PREC7
   Class class-default
     set precedence 7

Т.е. на весь трафик ставить prec 7. Политика повешена на l3-интерфейс менеджемент-вилана.

Как реализовать такое на Juniper MX?

Edited by oper777

Share this post


Link to post
Share on other sites

Короче накостылял так, если у кого более элегантное решение, буду только рад:

 

[edit class-of-service interfaces ae0]
+     unit 9 {
+         rewrite-rules {
+             inet-precedence SET-PREC7;
+         }
+     }
[edit class-of-service rewrite-rules]
+    inet-precedence SET-PREC7 {
+        forwarding-class network-control {
+            loss-priority low code-point 111;
+            loss-priority high code-point 111;
+        }
+        forwarding-class assured-forwarding {
+            loss-priority low code-point 111;
+            loss-priority high code-point 111;
+        }
+        forwarding-class best-effort {
+            loss-priority high code-point 111;
+            loss-priority low code-point 111;
+        }
+        forwarding-class expedited-forwarding {
+            loss-priority low code-point 111;
+            loss-priority high code-point 111;
+        }
+    }

Edited by oper777

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.