KEMBAR78
Cos | PDF | Network Layer Protocols | Computer Science
0% found this document useful (0 votes)
56 views3 pages

Cos

This document contains the configuration of a Juniper vMX router. It sets the host name to vMX3, configures interfaces ge-0/0/0-2 for connections to other routers, and sets up routing protocols like OSPF, BGP and MPLS. It also configures class of service scheduling and filtering to prioritize certain traffic.

Uploaded by

Dibyam baral
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views3 pages

Cos

This document contains the configuration of a Juniper vMX router. It sets the host name to vMX3, configures interfaces ge-0/0/0-2 for connections to other routers, and sets up routing protocols like OSPF, BGP and MPLS. It also configures class of service scheduling and filtering to prioritize certain traffic.

Uploaded by

Dibyam baral
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

root@vMX3> show configuration | display set

set version 14.1R1.10


set system host-name vMX3
set system root-authentication encrypted-password
"$1$kDVgHT6E$0Ylp00A9.LqXA8SpucgUs."
set system syslog user * any emergency
set system syslog file messages any notice
set system syslog file messages authorization info
set system syslog file interactive-commands interactive-commands any
set interfaces ge-0/0/0 description connected_to/from_vMX1_MY-LAN_SIDE
set interfaces ge-0/0/0 per-unit-scheduler
set interfaces ge-0/0/0 flexible-vlan-tagging
set interfaces ge-0/0/0 encapsulation flexible-ethernet-services
set interfaces ge-0/0/0 unit 13 vlan-id 13
set interfaces ge-0/0/0 unit 13 family inet filter input MULTIFILED_CLASSIFIER
set interfaces ge-0/0/0 unit 13 family inet address 10.1.13.3/24
set interfaces ge-0/0/1 description connected_to/from_vMX5
set interfaces ge-0/0/1 flexible-vlan-tagging
set interfaces ge-0/0/1 encapsulation flexible-ethernet-services
set interfaces ge-0/0/1 unit 35 vlan-id 35
set interfaces ge-0/0/1 unit 35 family inet address 10.1.35.3/24
set interfaces ge-0/0/1 unit 35 family mpls
set interfaces ge-0/0/2 description connected_to/from_vMX4
set interfaces ge-0/0/2 flexible-vlan-tagging
set interfaces ge-0/0/2 encapsulation flexible-ethernet-services
set interfaces ge-0/0/2 unit 34 vlan-id 34
set interfaces ge-0/0/2 unit 34 family inet address 10.1.34.3/24
set interfaces ge-0/0/2 unit 34 family mpls
set interfaces lo0 unit 0 description LOOPBACK
set interfaces lo0 unit 0 family inet address 3.3.3.3/32
set routing-options router-id 3.3.3.3
set routing-options autonomous-system 17501
set protocols mpls interface ge-0/0/1.35
set protocols mpls interface ge-0/0/2.34
set protocols mpls interface lo0.0
set protocols bgp group IBGP type internal
set protocols bgp group IBGP neighbor 4.4.4.4 local-address 3.3.3.3
set protocols bgp group IBGP neighbor 4.4.4.4 family inet-vpn unicast
set protocols bgp group IBGP neighbor 4.4.4.4 peer-as 17501
set protocols bgp group IBGP neighbor 4.4.4.4 local-as 17501
set protocols ospf area 0.0.0.0 interface ge-0/0/1.35 interface-type p2p
set protocols ospf area 0.0.0.0 interface ge-0/0/2.34 interface-type p2p
set protocols ospf area 0.0.0.0 interface lo0.0 passive
set protocols ldp explicit-null
set protocols ldp transport-address router-id
set protocols ldp interface ge-0/0/1.35
set protocols ldp interface ge-0/0/2.34
set class-of-service classifiers exp CUSTOME_EXP_BA import default
set class-of-service classifiers exp CUSTOME_EXP_BA forwarding-class GOLD loss-
priority low code-points 101
set class-of-service classifiers exp CUSTOME_EXP_BA forwarding-class SILVER loss-
priority high code-points 010
set class-of-service drop-profiles WRED_PROFILE interpolate fill-level 30
set class-of-service drop-profiles WRED_PROFILE interpolate fill-level 60
set class-of-service drop-profiles WRED_PROFILE interpolate fill-level 90
set class-of-service drop-profiles WRED_PROFILE interpolate fill-level 100
set class-of-service drop-profiles WRED_PROFILE interpolate drop-probability 30
set class-of-service drop-profiles WRED_PROFILE interpolate drop-probability 60
set class-of-service drop-profiles WRED_PROFILE interpolate drop-probability 90
set class-of-service drop-profiles WRED_PROFILE interpolate drop-probability 100
set class-of-service drop-profiles TAIL_DROP_PROFILE fill-level 30 drop-probability
30
set class-of-service drop-profiles TAIL_DROP_PROFILE fill-level 60 drop-probability
60
set class-of-service drop-profiles TAIL_DROP_PROFILE fill-level 90 drop-probability
90
set class-of-service drop-profiles TAIL_DROP_PROFILE fill-level 100 drop-
probability 100
set class-of-service forwarding-classes class SILVER queue-num 1
set class-of-service forwarding-classes class SILVER priority low
set class-of-service forwarding-classes class GOLD queue-num 2
set class-of-service forwarding-classes class GOLD priority high
set class-of-service interfaces ge-0/0/1 scheduler-map COMMON_SCHEDULER_MAP
set class-of-service interfaces ge-0/0/1 unit 35 classifiers exp CUSTOME_EXP_BA
set class-of-service interfaces ge-0/0/2 scheduler-map COMMON_SCHEDULER_MAP
set class-of-service interfaces ge-0/0/2 unit 34 classifiers exp CUSTOME_EXP_BA
set class-of-service scheduler-maps COMMON_SCHEDULER_MAP forwarding-class best-
effort scheduler BE_SCHEDULER
set class-of-service scheduler-maps COMMON_SCHEDULER_MAP forwarding-class SILVER
scheduler SILVER_SCHEDULER
set class-of-service scheduler-maps COMMON_SCHEDULER_MAP forwarding-class GOLD
scheduler GOLD_SCHEDULER
set class-of-service scheduler-maps COMMON_SCHEDULER_MAP forwarding-class network-
control scheduler NC_SCHEDULER
set class-of-service schedulers BE_SCHEDULER transmit-rate remainder
set class-of-service schedulers BE_SCHEDULER buffer-size remainder
set class-of-service schedulers BE_SCHEDULER priority low
set class-of-service schedulers BE_SCHEDULER drop-profile-map loss-priority high
protocol any drop-profile WRED_PROFILE
set class-of-service schedulers SILVER_SCHEDULER transmit-rate percent 30
set class-of-service schedulers SILVER_SCHEDULER buffer-size percent 30
set class-of-service schedulers SILVER_SCHEDULER priority medium-high
set class-of-service schedulers SILVER_SCHEDULER drop-profile-map loss-priority low
protocol any drop-profile WRED_PROFILE
set class-of-service schedulers GOLD_SCHEDULER transmit-rate percent 60
set class-of-service schedulers GOLD_SCHEDULER buffer-size percent 60
set class-of-service schedulers GOLD_SCHEDULER priority high
set class-of-service schedulers GOLD_SCHEDULER drop-profile-map loss-priority low
protocol any drop-profile WRED_PROFILE
set class-of-service schedulers NC_SCHEDULER transmit-rate percent 5
set class-of-service schedulers NC_SCHEDULER buffer-size percent 5
set class-of-service schedulers NC_SCHEDULER priority strict-high
set class-of-service schedulers NC_SCHEDULER drop-profile-map loss-priority low
protocol any drop-profile WRED_PROFILE
set firewall family inet filter MULTIFILED_CLASSIFIER term 1 from source-address
1.1.1.1/32
set firewall family inet filter MULTIFILED_CLASSIFIER term 1 from protocol icmp
set firewall family inet filter MULTIFILED_CLASSIFIER term 1 then policer 48k
set firewall family inet filter MULTIFILED_CLASSIFIER term 1 then count
GOLD_COUNTER
set firewall family inet filter MULTIFILED_CLASSIFIER term 1 then forwarding-class
GOLD
set firewall family inet filter MULTIFILED_CLASSIFIER term 1 then accept
set firewall family inet filter MULTIFILED_CLASSIFIER term 2 from source-address
10.1.13.1/32
set firewall family inet filter MULTIFILED_CLASSIFIER term 2 from protocol icmp
set firewall family inet filter MULTIFILED_CLASSIFIER term 2 then policer 32k
set firewall family inet filter MULTIFILED_CLASSIFIER term 2 then count
SILVER_COUNTER
set firewall family inet filter MULTIFILED_CLASSIFIER term 2 then forwarding-class
SILVER
set firewall family inet filter MULTIFILED_CLASSIFIER term 2 then accept
set firewall family inet filter MULTIFILED_CLASSIFIER term 1000 then accept
set firewall policer 32k if-exceeding bandwidth-limit 32k
set firewall policer 32k if-exceeding burst-size-limit 1500
set firewall policer 32k then discard
set firewall policer 48k if-exceeding bandwidth-limit 48k
set firewall policer 48k if-exceeding burst-size-limit 1500
set firewall policer 48k then loss-priority low
set firewall policer 48k then forwarding-class best-effort
set routing-instances CUST_A instance-type vrf
set routing-instances CUST_A interface ge-0/0/0.13
set routing-instances CUST_A route-distinguisher 17501:17501
set routing-instances CUST_A vrf-target target:17501:17501
set routing-instances CUST_A vrf-table-label
set routing-instances CUST_A routing-options static route 1.1.1.1/32 next-hop
10.1.13.1

root@vMX3>

You might also like