Pages

Thursday, March 1, 2018

Juniper Policy Based Routing ( Upload traffic PBR)



* Create a routing Instance "upstream1" and set gateway
set routing-instances upstream1 instance-type forwarding
set routing-instances upstream1 routing-options static route 0.0.0.0/0 qualified-next-hop 10.10.10.1(Upstream1-Gateway)

* Create PBR name "uplink-pbr" and Allow source IP addresses for pbr

set firewall family inet filter uplink-pbr term 30 from source-address 192.168.100.0/24
set firewall family inet filter uplink-pbr term 30 then routing-instance upstream1
set firewall family inet filter uplink-pbr term default then accept


set routing-options rib-groups pbr-group import-rib inet.0
set routing-options rib-groups pbr-group import-rib upstream1.inet.0
set routing-options interface-routes rib-group inet pbr-group


* Apply "uplink-pbr" to Client Gateway Inernface
set interfaces ge-1/0/6 unit 0 description *****Client-01****
set interfaces ge-1/0/6 unit 0 family inet filter input uplink-pbr

2 comments:

  1. This is very easy to understand.Thanks

    ReplyDelete
  2. 본교의 모든 수업과 시험, 과제제출은 100% 온라인에서 카지노사이트 이루어집니다. 수업은 정해진 시간 없이 자유롭게 강의를 들을 수 있지만, 시험은 지정된 시간내에 접속하여 응시해야 합니다. 개인사정으로 시험을 볼 수 없는 경우에는 사전에 담당 과목 교수님과 상의하여 대체할 방법을 찾으면 됩니다.

    ReplyDelete