Click here to load reader

Junos ルーティングの基本 - juniper.net · 1194 North Mathilda Avenue Sunnyvale, CA 94089 USA +1-408-745-2000 Worldwide Education Services Junos ルーティングの基本

  • View
    213

  • Download
    0

Embed Size (px)

Text of Junos ルーティングの基本 - juniper.net · 1194 North Mathilda Avenue Sunnyvale, CA 94089...

  • Junos9.b

    1194 North Mathilda AvenueSunnyvale, CA 94089USA+1-408-745-2000www.juniper.net

    Worldwide Education ServicesWorldwide Education Services

    : EDU-JUN-JRE

  • Juniper Networks Juniper Networks Junos NetScreen ScreenOS Juniper Networks, Inc. JunosE Juniper Networks, Inc.

    Junos 9.b

    Copyright 2009, Juniper Networks, Inc.

    All rights reserved. Printed in USA.

    :

    9.a 2009 7

    9.b 2009 10

    9.6R1.13

    2000 (YEAR 2000 NOTICE)

    2000 2000 Junos 2038 NTP 2036

  • 1 : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1

    2 : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-1 : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-3 : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-7 : . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-25 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-32 1: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-43

    3 : . . . . . . . . . . . . . . . . .3-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-3 : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-23 2: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-29 : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-44 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-50 3: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-57

    4 : (CoS). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-1CoS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-20 : CoS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-28 4: (CoS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-38

    A: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1

    B: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .B-1

    iii

  • iv

  • 1 (CoS)

    Junos (Junos OS)

    OSPF

    (RPF)

    (CoS)

    CoS

    CoS

    Junos OS

    Junos Routing Essentials (Junos ) 1

    OSI TCP/IP Introduction to the Junos Operating System (Junos : IJS)

    . v

  • 1

    1 :

    2 :

    1:

    3 :

    2:

    3:

    4 : (CoS)

    4: (CoS)

    vi

  • CLI GUI

    (CLI) (GUI) GUI/CLI

    Franklin Gothic

    Courier New

    :

    GUI :

    commit complete

    Exiting configuration mode

    [File] > [Open]

    [Filename]

    [Configuration.conf]

    Normal CLI

    Normal GUI

    Physical interface:fxp0, Enabled

    [Configuration] >

    [History]

    CLI Input

    GUI Input

    [email protected]_Jose> show route

    [File] > [Save]

    [Filename]

    config.ini

    vii

  • ( ) ( )

    CLI Variable

    GUI variable

    policy my-peers

    [my-peers]

    CLI Undefined

    GUI Undefined

    set policy policy-name

    ping 10.0.1.1

    [File] > [Save]

    [Filename]

    filename

    viii

  • Web http://www.juniper.net/jp/jp/training

    Junos 9.6R1.13

    [email protected]

    http://www.juniper.net/techpubs/

    CD

    Web (http://www.juniper.net/customers/support/) 1-888-314-JTAC ( ) +1-408-745-2121 ( )

    ix

  • x

  • Junos

    1 :

  • Junos

    :

    (JNTCP)

    1 - 2

  • Junos

    1 - 3

  • Junos

    1 - 4

  • Junos

    1 - 5

  • Junos

    1 - 6

  • Junos

    1 - 7

  • Junos

    1 - 8

  • Junos

    2 E ( E )

    1 - 9

  • Junos

    e

    http://www.juniper.net/jp/jp/training

    1 - 10

  • Junos

    JNTCP

    (JNTCP) JNTCP Web http://www.juniper.net/jp/jp/training/certification/

    1 - 11

  • Junos

    JNTCP 1 4

    1 ( ) JNTCP Web http://www.juniper.net/jp/jp/training/certification/

    1 - 12

  • Junos

    1 - 13

  • Junos

    1 - 14

  • Junos

    2 :

  • Junos

    :

    OSPF

    2 - 2

  • Junos

    :

    2 - 3

  • Junos

    3 3

    Junos (Junos OS)

    2 - 4

  • Junos

    3 2

    2 3 ( ) Junos OS

    2 - 5

  • Junos

    A

    A IP 10.1.1.1 (10.2.2.1)

    2 - 6

  • Junos

    :

    2 - 7

  • Junos

    Junos OS ( )

    Junos OS 1 Junos OS

    Junos OS 2

    2 - 8

  • Junos

    Junos OS inet.0 IPv4 Junos OS inet6.0

    Junos OS

    inet.0: IPv4

    inet.1:

    inet.2: (RPF) MBGP

    inet.3: MPLS

    inet.4: MSDP

    inet6.0: IPv6

    mpls.0: MPLS

    2 - 9

  • Junos

    Junos OS ( ) ( )

    Junos OS

    2 - 10

  • Junos

    ( )

    0 4,294,967,295 5 10 OSPF

    [email protected]> show route 192.168.36.1 exact

    inet.0: 5 destinations, 6 routes (5 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both

    192.168.36.1/32 *[Static/5] 00:00:31 > to 10.1.1.2 via ge-0/0/10.0 [OSPF/10] 00:02:21, metric 1 > to 10.1.1.2 via ge-0/0/10.0

    0 SNMP 50

    0 55

    4 4 RIP 100

    Static LSP

    5 RIPng 100

    RSVP-signaled LSP 7 DVMRP 110

    LDP-signaled LSP 9 130

    OSPF 10 OSPF AS 150

    IS-IS 1

    15 IS-IS 1 160

    IS-IS 2

    18 IS-IS 2 165

    30 BGP ( ) 170

    40 MSDP 175

    2 - 11

  • Junos

    ( )

    (rpd)

    [email protected]> show route 10.1.0.0/16

    inet.0: 10 destinations, 10 routes (10 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both

    10.1.1.0/24 *[Static/5] 00:00:25 to 172.20.66.2 via ge-0/0/2.0 > to 172.20.77.2 via ge-0/0/3.010.1.2.0/24 *[Static/5] 00:00:25 > to 172.20.66.2 via ge-0/0/2.0 to 172.20.77.2 via ge-0/0/3.010.1.3.0/24 *[Static/5] 00:00:25 to 172.20.66.2 via ge-0/0/2.0 > to 172.20.77.2 via ge-0/0/3.010.1.4.0/24 *[Static/5] 00:00:25 > to 172.20.66.2 via ge-0/0/2.0 to 172.20.77.2 via ge-0/0/3.0

    2 - 12

  • Junos

    show

    route (*)

    show route

    [email protected]> show route protocol ospf

    inet.0: 6 destinations, 7 routes (6 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both

    10.1.1.0/24 [OSPF/10] 04:57:41, metric 2 > to 172.18.25.2 via ge-0/0/13.0224.0.0.5/32 *[OSPF/10] 05:00:58, metric 1 MultiRecv

    2 - 13

  • Junos

    Junos OS

    CLI show route forwarding-table

    [email protected]> show route protocol ospf Routing table: inetInternet:Destination Type RtRef Next hop Type Index NhRef Netifdefault user 0 0:17:cb:4e:ae:81 ucst 520 3 ge-0/0/0.0default perm 0 rjct 36 10.0.0.0/32 perm 0 dscd 34 1172.19.0.0/16 user 0 200.1.4.100 ucst 535 3 ge-0/0/3.0172.19.52.0/24 user 0 200.1.2.100 ucst 529 3 ge-0/0/1.0172.19.52.16/28 user 0 200.1.3.100 ucst 534 3 ge-0/0/2.0...

    2 - 14

  • Junos

    ( )

    Junos OS default default

    ICMP default

    dest:

    intf:

    perm:

    user:

    bcst:

    dscd: ICMP

    hold:

    locl:

    mcst: (LAN )

    mdsc:

    recv:

    rjct: ICMP

    ucst:

    ulst:

    2 - 15

  • Junos

    Junos OS Junos OS Junos OS

    Junos OS ( )

    Junos OS

    2 - 16

  • Junos

    ( )

    172.19.52.101 172.19.52.0/24 ge-0/0/1.0

    172.19.52.21 172.19.52.16/28 ge-0/0/2.0

    172.25.100.27 ge-0/0/0.0

    2 - 17

  • Junos

    :

    2 - 18

  • Junos

    Junos OS 1 1

    2 - 19

  • Junos

    master

    Junos OS master master IPv4 inet.0 Junos OS inet6.0

    [email protected]> show route instance Instance Type Primary RIB Active/holddown/hidden__juniper_private1__ forwarding __juniper_private1__.inet.0 2/0/2 __juniper_private1__.inet6.0 1/0/0

    __juniper_private2__ forwarding __juniper_private2__.inet.0 0/0/1

    __master.anon__ forwarding

    master forwarding inet.0 7/0/0

    2 - 20

  • Junos

    Junos OS [edit routing-instances]

    (FBF) 2 3 VPN

    forwarding:

    l2vpn: 2 VPN

    no-forwarding:

    virtual-router: VPN

    vpls: VPN LAN

    vrf: 3 VPN

    Junos OS

    2 - 21

  • Junos

    :

    2 - 22

  • Junos

    : 1

    Junos OS IPv4 Junos OS IPv4 instance-name.inet.0 ( instance-name ) IPv6 IPv6 instance-name.inet6.0

    CLI show route table table-name

    2 - 23

  • Junos

    : 2

    CLI show

    2 3 ping traceroute

    2 - 24

  • Junos

    2 - 25

  • Junos

    (AS) [edit routing-options]

    IP IP ( ) Junos OS reject discard ( ) 2 Junos OS reject ICMP ( ) IP discard ICMP

    2 - 26

  • Junos

    ( )

    Junos OS IP Junos OS

    IP

    2 - 27

  • Junos

    :

    IPv4 IPv6 OSPF no-readvertise

    no-readvertise

    IPv6 Junos OS

    2 - 28

  • Junos

    2 - 29

  • Junos

    Junos OS IP Junos OS

    CLI resolve

    2 - 30

  • Junos

    qualified-next-hop

    ( ) qualified-next-hop

    172.30.25.1 5 172.30.25.5 7 172.30.25.1 172.30.25.1 172.30.25.5

    2 - 31

  • Junos

    2 - 32

  • Junos

    1

    :

    : ( )

    :

    2 - 33

  • Junos

    (IGP ) (EGP )

    2 - 34

  • Junos

    OSPF

    OSPF (AS) IGP( : )

    OSPF AS (LSA) AS

    LSA 1 ( ) LSA ( ) ID

    2 - 35

  • Junos

    OSPF ( )

    OSPF (SPF ) ( )

    OSPF OSPF Junos OS OSPF OSPF 1

    OSPF OSPF Area 0.0.0.0 OSPF OSPF

    2 - 36

  • Junos

    :

    2 - 37

  • Junos

    : OSPF

    A OSPF B C OSPF

    2 - 38

  • Junos

    : OSPF

    OSPF CLI A B C

    Address:

    Interface:

    State: (Attempt Down Exchange ExStart FullInit Loading 2 Way )

    ID: ID

    Pri: ( ) 128 ( )

    Dead:

    2 - 39

  • Junos

    : OSPF

    A OSPF show route protocol ospf A OSPF

    2 - 40

  • Junos

    :

    OSPF

    2 - 41

  • Junos

    :

    1.

    2.

    3.

    4.

    5.

    2 - 42

  • Junos

    1:

    2 - 43

  • Junos

    2 - 44

  • Junos

    3 :

  • Junos

    :

    3 - 2

  • Junos

    3 - 3

  • Junos

    /

    /

    3 - 4

  • Junos

    ( )

    OSPF ( 10) BGP ( 170) OSPF BGP

    Junos (Junos OS)

    3 - 5

  • Junos

    /

    BGP BGP BGP BGP ( ) BGP /

    OSPF OSPF OSPF (LSA) OSPF LSA ( ) ( )

    3 - 6

  • Junos

    ( )

    OSPF ( ) LSA OSPF LSA OSPF ( ) OSPF ( )

    /

    RIP Junos OS RIP (RIP ) RIP ( ) RIP RIP

    [edit policy-options][email protected]# show policy-statement export-rip-routes { term match-rip-routes { from protocol rip; then accept; }}

    RIP

    [edit protocols rip][email protected]# show group my-rip-group { export export-rip-routes; neighbor ge-0/0/1.0; neighbor se-1/0/0.0;}

    3 - 7

  • Junos

    Junos OS if...then from ( from ) then

    Junos OS from (OR) (AND) from 1

    3 - 8

  • Junos

    ( )

    from Junos OS then

    (accept reject) first-match Junos OS

    Junos OS CLI insert

    3 - 9

  • Junos

    from

    route-filter prefix-list

    from

    then

    CLI Junos Policy Framework Configuration Guide (Junos )

    3 - 10

  • Junos

    [edit policy-options]

    1 ( )

    from

    2 prefix-list prefix-list-filter

    (exact longer orlonger) then

    3 - 11

  • Junos

    prefix-list-filter route-filter

    then

    3 - 12

  • Junos

    exact

    exact

    192.168.0.0/16

    orlonger

    orlonger

    192.168.0.0/16 192.168.0.0/16 /17 /32 192.168.0.0/16 192.168.65.0/24192.168.24.89/32 192.168.128/18 192.168.0.0/17 10.0.0.0/16 192.167.0.0/17 192.168.0.0/15 200.123.45.0/24

    3 - 13

  • Junos

    longer

    longer

    (longer orlonger orlonger longer

    ) 192.168.0.0/16 /17 /32 192.168.0.0/16

    upto

    upto orlonger

    upto upto

    192.168.0.0/16 192.168.0.0/16 /17 /24 ( ) 192.168.0.0/16 192.168.65.0/24192.168.128.0/18 192.168.0.0/17 192.168.0.0/25192.168.24.89/32 10.0.0.0/16 192.167.0.0/17 200.123.45/24

    3 - 14

  • Junos

    prefix-length-range

    prefix-length-range upto

    prefix-length-range 2 192.168.0.0/16 /20 /24 ( ) 192.168.0.0/20 192.168.128.0/21 192.168.64.0/24 192.168.0.0/16 192.168.24.89/32 10.0.0.0/16 192.167.0.0/17200.123.45/24 192.168.128.0/18

    3 - 15

  • Junos

    through

    through through 2 2 1 2 ( ) 1 2 ( ) 1 192.168.16.0/20 192.168.16.0/20 192.168.0.0/19 192.168.0.0/18 192.168.0.0/17192.168.0.0/16 192.168.0.0/16

    1 from route-filter 192.168.0.0/16 through 192.168.232.0/21 192.168.232.0/21192.168.224.0/20 192.168.224.0/19 192.168.192.0/18 192.168.128.0/17192.168.0.0/16

    3 - 16

  • Junos

    Junos OS Junos OS Junos Policy Framework Configuration Guide (Junos ) How a Route List is Evaluated ( )

    test policy

    test policy

    3 - 17

  • Junos

    accept

    reject ( ) / default-action accept default-action reject

    /

    next term next policy Junos OS

    BGP

    3 - 18

  • Junos

    2 Junos OS [edit policy-options] 3

    3 - 19

  • Junos

    BGP

    OSPF ( OSPF )

    Junos OS

    3 - 20

  • Junos

    Junos OS Junos OS

    AND OR

    3 - 21

  • Junos

    ( )

    Junos OS 2 2 3 Junos OS

    Junos OS

    Junos OS next term next policy Junos OS

    3 - 22

  • Junos

    :

    3 - 23

  • Junos

    :

    R1 OSPF ( )

    3 - 24

  • Junos

    :

    3 - 25

  • Junos

    :

    commit R1 OSPF 0 LSA ( )

    3 - 26

  • Junos

    :

    CLI show route protocol ospf exact 0/0 R4 OSPF

    3 - 27

  • Junos

    2:

    3 - 28

  • Junos

    3 - 29

  • Junos

    (ACL) Junos OS Junos OS

    3 - 30

  • Junos

    1 0 1 Junos OS Junos OS 1

    3 - 31

  • Junos

    from

    Junos OS TCP ACK Junos OS TCP TCP TCP ACK

    4 4 Junos OS 4 2

    3 - 32

  • Junos

    3 1 ( tcp-established tcp-flag ack tcp-flag rst

    )

    3 - 33

  • Junos

    then

    accept discard (ICMP) reject ICMP reject ICMP TCP tcp-reset TCP TCP TCP

    1 accept count log syslog (CoS) forwarding-class loss-priority policer

    3 - 34

  • Junos

    2 Junos OS [edit firewall] Junos OS IPv4 [edit firewall family inet]

    Junos OS

    3 - 35

  • Junos

    / lo0

    IPv4 [edit interfaces interface-name unit unit-number family inet filter] input filter-name output filter-name IPv6 IPv4

    [edit interfaces interface-name unit unit-number family inet filter] input-listoutput-list Junos OS

    commit confirmed

    3 - 36

  • Junos

    : 1

    ge-0/0/1.0 (HTTP) ge-0/0/1.0

    3 - 37

  • Junos

    : 2

    allow-web-traffic Junos OS 172.27.102.100/32 HTTP deny-other-web-traffic HTTP discard

    3 - 38

  • Junos

    : 1

    Junos OS (RE) (PFE)

    Junos OS lo0 RE ( )

    3 - 39

  • Junos

    : 2

    limit-ssh-access lo0

    limit-ssh-access 3 ssh-accept trusted SSH trusted

    [edit policy-options][email protected]# show prefix-list trusted { 172.27.102.0/24;}

    2 ssh-reject trusted SSH 3 else-accept

    else-accept OSPF BGP SNMP NTP

    3 - 40

  • Junos

    ( ) from from ( )

    Junos OS 2 VPN MPLS IPv6 Junos OS

    ( ) ( ) 2

    3 - 41

  • Junos

    ( )

    5 ( ) = ( 100,000,000 ) ~ (5/1000 )

    500,000 8 62500

    bandwidth-limit burst-size-limit

    then then then then then then then

    62500 10 Mbps TCP (AF)

    firewall { policer class-example { if-exceeding { bandwidth-limit 10m; burst-size-limit 62500; } then forwarding-class best-effort; } family inet { filter example1 { term policer-example { from { protocol tcp; } then { policer class-example; forwarding-class assured-forwarding; accept; } } } }}

    3 - 42

  • Junos

    400 kbps 100 KB p1 Junos OS

    rate-limit-subnet

    k m g

    3 - 43

  • Junos

    :

    3 - 44

  • Junos

    :

    3 - 45

  • Junos

    :

    3 - 46

  • Junos

    :

    3 - 47

  • Junos

    :

    3 - 48

  • Junos

    :

    show firewall count log

    1 1 clear firewall filter filter counter counter

    CLI show firewall log RE PFE (-) pfe

    3 - 49

  • Junos

    3 - 50

  • Junos

    (RPF)

    Junos OS 10.10.10.10 ge-0/0/1.0 RPF 10.10.10.10 ge-0/0/1.0 10.10.10.0/24 RPF RPF

    Junos OS PFE RPF PFE

    Strict Loose

    Junos OS strict RPF loose RPF IP loose strict

    3 - 51

  • Junos

    Junos OS RPF ( ) RPF

    RPF RPF R1( ) 3 RPF

    RPF Junos OS

    3 - 52

  • Junos

    Junos OS RPF RPF RPF ( RPF RPF )

    Junos OS DHCP (BOOTP) RPF 0.0.0.0 255.255.255.255 DHCP BOOTP

    3 - 53

  • Junos

    RPF

    RPF strict rpf-dhcp ge-0/0/2 ge-0/0/3 rpf-dhcp DHCP BOOTP RPF

    3 - 54

  • Junos

    :

    3 - 55

  • Junos

    :

    1.

    2.

    3.

    4.

    5.

    3 - 56

  • Junos

    3:

    3 - 57

  • Junos

    3 - 58

  • Junos

    4 : (CoS)

  • Junos

    :

    (CoS)

    CoS

    CoS

    4 - 2 (CoS)

  • Junos

    CoS

    (CoS) 4 - 3

  • Junos

    (CoS)

    Junos OS Junos OS /

    Junos OS CoS CoS ( )

    CoS CoS CoS CoS

    4 - 4 (CoS)

  • Junos

    CoS Junos OS 2 VoIP

    Junos OS (RED) RED TCP ( )

    Junos OS

    (CoS) 4 - 5

  • Junos

    Junos OS

    1 1

    4 - 6 (CoS)

  • Junos

    RED RED

    (CoS) 4 - 7

  • Junos

    CoS

    Junos OS CoS ( )

    Junos OS DiffServ (DSCP) IP MPLS EXP IEEE 802.1p (BA)

    Junos OS then

    4 - 8 (CoS)

  • Junos

    CoS ( )

    CoS 1 CoS

    Junos OS RED BA

    CoS Junos OS

    (CoS) 4 - 9

  • Junos

    4 - 10 (CoS)

  • Junos

    CoS

    CoS 2 CoS CoS

    CoS BA (DSCP IP ) CoS

    CoS BA BA BA

    (CoS) 4 - 11

  • Junos

    CoS ( )

    CoS BA CoS BA 1 3 802.1p BA CoS

    3 BA

    4 - 12 (CoS)

  • Junos

    then (BA BA )

    Junos OS BA BA

    (CoS) 4 - 13

  • Junos

    Junos OS BA Junos OS 3 BA 1 2 (MPLS EXP IEEE 802.1p ) 2 BA

    [edit class-of-service interfaces]

    IP set interface-name unit logical-unit-number rewrite-rules

    inet-precedence default 2 3 IP DSCP IP 1

    4 - 14 (CoS)

  • Junos

    ( )

    BA BA [edit class-of-service interfaces] IP BA set interface-name unit logical-unit-number classifiers

    inet-precedence default BA 2 3 Junos Class of Service Configuration Guide (Junos )

    BA 0 3 0 3 CoS

    (CoS) 4 - 15

  • Junos

    Junos OS then

    forwarding-class loss-priority forwarding-class loss-priority

    then forwarding-class

    loss-priority

    expedited-forwarding best-effort

    apply-cos-markings

    Junos OS

    4 - 16 (CoS)

  • Junos

    (CoS) 4 - 17

  • Junos

    Junos OS Junos OS Junos OS ( keepalive ) network-control ( 3) best-effort ( 0)

    4 - 18 (CoS)

  • Junos

    [edit class-of-service

    forwarding-classes] Junos OS 0 3

    Junos OS BA ( 0 3)

    CoS [edit class-of-service forwarding-classes]

    (CoS) 4 - 19

  • Junos

    4 - 20 (CoS)

  • Junos

    Junos OS Junos OS

    best-effort ( 0) 95 network-control ( 3) 5 0 exact

    ( )

    (CoS) 4 - 21

  • Junos

    ( )

    best-effort ( 0) 95 network-control ( 3) 5 (0 ) best-effort network-control RED RED Junos OS RED CoS

    4 - 22 (CoS)

  • Junos

    Junos OS 5 Junos OS Junos OS

    (CoS) 4 - 23

  • Junos

    [edit class-of-service interfaces]

    Junos OS best-effort sched-best-effort

    best-effort

    Junos Class of Service Configuration Guide (Junos )

    RED Junos Class of Service Configuration Guide (Junos )

    4 - 24 (CoS)

  • Junos

    Junos OS [edit class-of-service scheduler-maps]

    4 4

    (CoS) 4 - 25

  • Junos

    Junos OS

    [edit interfaces] per-unit-

    scheduler

    Junos OS

    4 - 26 (CoS)

  • Junos

    CoS

    CoS

    (CoS) 4 - 27

  • Junos

    : CoS

    4 - 28 (CoS)

  • Junos

    CoS

    0 3

    CoS Junos OS R1 R2 J

    (CoS) 4 - 29

  • Junos

    R1

    R1

    4 - 30 (CoS)

  • Junos

    R2

    R2

    (CoS) 4 - 31

  • Junos

    4 - 32 (CoS)

  • Junos

    BA

    BA

    (CoS) 4 - 33

  • Junos

    : 1

    show class-of-service interface interface

    CoS CoS show class-of-service ipprec-default IP type-of-service show class-of-service classifier

    name ipprec-default

    CoS show interfaces detail

    show interfaces extensive

    4 - 34 (CoS)

  • Junos

    : 2

    show interfaces queue

    (CoS) 4 - 35

  • Junos

    :

    CoS

    CoS

    CoS

    4 - 36 (CoS)

  • Junos

    1.

    2.

    3.

    4.

    (CoS) 4 - 37

  • Junos

    4: (CoS)

    4 - 38 (CoS)

  • A:

    ACL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (access control list)AS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (autonomous system)BA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (behavior aggregate)BOOTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (Bootstrap Protocol)CoS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (class of service)DSCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .DiffServ (DiffServ code point)EGP . . . (exterior gateway protocol)FBF. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (filter-based forwarding)HTTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (Hypertext Transfer Protocol)ICMP . . . . . . . . . . . . . . . . . . . . (Internet Control Message Protocol)IGP . . . . (interior gateway protocol)JNTCP. . . . . . . (Juniper Networks Technical Certification Program)JTAC . . . . . . . . . (Juniper Networks Technical Assistance Center)LSA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (link-state advertisement)PFE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (Packet Forwarding Engine)RE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (Routing Engine)RED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (random early detection)rpd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (routing protocol process)RPF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (reverse path forwarding)SPF. . . . . . . . . . . . . . . . . . . . . . . . . . . . . (shortest path first)VoIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (voice over IP)

    A - 1

  • A - 2

  • B:

    1 :

    2 : 1.

    2 3 2

    2.

    IPv4 IPv6 inet.0 inet6.0

    3.

    4.

    CLI qualified-next-hop

    5.

    3 : 1.

    2.

    from then from then then

    3.

    2

    B - 1

  • 4.

    discard

    5.

    RPF Junos OS

    4 : (CoS)1.

    CoS VoIP SLA

    2.

    3.

    Junos OS 1 2

    4.

    CoS Junos OS

    B - 2

    1: 2: : : : 1:

    3: : 2: : 3:

    4: (CoS)CoS: CoS4: (CoS)

    A: B: 1: 2: 1.2.3.4.5.

    3: 1.2.3.4.5.

    4: (CoS)1.2.3.4.