Juniper业务开通手册-ZT2007年12月02日星期日05:42管理员手册-JUNIPER设备XXXXX公司二ΟΟ六年八月目录1.总体概述32.路由器CLI43.路由器基本配置104.端口配置135.协议独立路由属性的配置(静态路由,汇聚路由,本地AS号码,ROUTER-ID等属性)186.配置IS-IS路由197.配置OSPF路由218.配置BGP路由协议229.配置MPLS和LDP2410.配置LDPOVERRSVP(仅核心节点)2511.配置MPLS快速重路由(仅核心节点)2612.配置MULTIPROTOCOLBGP2713.配置MPLSVPN功能2814.配置CLASS-OF-SERVICE301.总体概述本文档为XX公司编写。用于说明Juniper设备在XXX网络使用到的基本命令。所有命令是基于JUNOS7.2的。更多的信息请参考下面的网站:Juniper:路由器CLI设备启动信息应先将CONSOLE线接到设备CONSOLE口,打开笔记本电脑,启动超级终端软件,然后打开路由器电源开关,几秒钟之后,超级终端界面会出现类似如下的启动界面:AwardModularBIOSv4.51PG,AnEnergyStarAllyCopyright(C)1984-98,AwardSoftware,Inc.TEKNORAPPLICOMT1023BIOSVersion1.2'DWD'11/29/2000-i440BX-SMC67X-2A69TU00C-00PXE-M04:Initializingnetworkbootdeviceusinginterrupt18h.....PXE-M04:Initializingnetworkbootdeviceusinginterrupt18h.....PXE-M04:Initializingnetworkbootdeviceusinginterrupt19h.....IntelLANDesk(R)ServiceAgentII,version0.99kCopyright(C)1997,1998IntelCorporation.Allrightsreserved.PXE-E67:InvalidMACaddress.PXE-M0F:ExitingLANDesk(R)ServiceAgentIIWilltrytobootfrom:PCMCIAATAFlashCardCompactFlashPrimaryIDEHardDiskEthernetTryingtoBootfromCompactFlashLoading/boot/loaderConsole:serialportBIOSdriveA:isdisk0BIOSdriveC:isdisk1BIOSdriveD:isdisk2BIOS639kB/785344kBavailablememoryFreeBSD/i386bootstraploader,Revision0.8(builder@harrekki.juniper.net,TueOct500:09:53GMT2004)Loading/boot/defaults/loader.conf/kerneltext=0x4c26d1data=0x2c8bc+0x49f34syms=[0x4+0x41710+0x4+0x4d988]Hit[Enter]tobootimmediately,orspacebarforcommandprompt.Booting[kernel]...Copyright(c)1996-2001,JuniperNetworks,Inc.Allrightsreserved.Copyright(c)1992-2001TheFreeBSDProject.Copyright(c)1979,1980,1983,1986,1988,1989,1991,1992,1993,1994TheRegentsoftheUniversityofCalifornia.Allrightsreserved.JUNOS6.4R2.4#0:2004-10-0500:18:20UTCbuilder@harrekki.juniper.net:/build/harrekki-c/6.4R2.4/obj-i386/sys/compile/JUNIPERTimecounteri8254frequency1193182HzTimecounterTSCfrequency331706188HzCPU:PentiumII/PentiumIIXeon/Celeron(331.71-MHz686-classCPU)origin=GenuineIntelId=0x66aStepping=10Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSRrealmemory=805240832(786368Kbytes)sio0:gdbdebuggingportavailmemory=775933952(757748Kbytes)Preloadedelfkernelkernelat0xc06ca000.DEVFS:readyfordevicesPentiumProMTRRsupportenabledmd0:MallocdiskDRAMDataIntegrityMode:ECCModewithh/wscrubbingnpx0:mathprocessoronmotherboardnpx0:INT16interfacepcib0:Intel82443BXhosttoPCIbridge(AGPdisabled)onmotherboardpci0:PCIbusonpcib0isab0:Intel82371ABPCItoISAbridgeatdevice7.0onpci0isa0:ISAbusonisab0atapci0:IntelPIIX4ATA33controllerport0xf000-0xf00fatdevice7.1onpci0ata0:at0x1f0irq14onatapci0pci0:Intel82371AB/EB(PIIX4)USBcontrollerat7.2irq11smb0:Intel82371ABSMBcontrollerport0x5000-0x500fatdevice7.3onpci0pcic-pci0:TIPCI-1251BPCI-CardBusBridgemem0xe8204000-0xe8204fffirq15atdevice13.0onpci0pcic-pci0:TI12XXPCIConfigReg:[pcionly]pcic-pci1:TIPCI-1251BPCI-CardBusBridgemem0xe8209000-0xe8209fffirq12atdevice13.1onpci0pcic-pci1:TI12XXPCIConfigReg:[pcionly]fxp0:IntelEtherExpressPro10/100BEthernetport0xd800-0xd83fmem0xe8100000-0xe81fffff,0xe8203000-0xe8203fffirq12atdevice16.0onpci0pcib1:DEC21150PCI-PCIbridgeatdevice17.0onpci0pci1:PCIbusonpcib1mcs0:MiscellaneousControlSubsystemmem0xe5100000-0xe510ffffirq12atdevice13.0onpci1fxp1:IntelEtherExpressPro10/100BEthernetport0xc000-0xc03fmem0xe5000000-0xe50fffff,0xe5110000-0xe5110fffirq10atdevice14.0onpci1fxp2:IntelEtherExpressPro10/100BEthernetport0xe000-0xe03fmem0xe8000000-0xe80fffff,0xe8207000-0xe8207fffirq10atdevice19.0onpci0ata2atport0x170-0x177,0x376irq15onisa0atkbdc0:Keyboardcontroller(i8042)atport0x60,0x64onisa0vga0:GenericISAVGAatport0x3b0-0x3bbiomem0xb0000-0xb7fffonisa0sc0:Systemconsoleatflags0x100onisa0sc0:MDA16virtualconsoles,flags=0x100pcic0:VLSI82C146atport0x3e0iomem0xd0000irq10onisa0pcic0:managementirq11pcic0:Pollingmodepccard0:PCCardbus--legacyversiononpcic0pccard1:PCCardbus--legacyversiononpcic0sio0atport0x3f8-0x3ffirq4flags0x90onisa0sio0:type16550A,consolesio1atport0x3e8-0x3efirq5onisa0sio1:type16550Asio2atport0x2f8-0x2ffirq3onisa0sio2:type16550Asio3:configuredirq7notinbitmapofprobedirqs0fxp0:Ethernetaddress00:a0:a5:12:46:abfxp1:Ethernetaddress02:00:00:00:01:01fxp2:Ethernetaddress00:a0:a5:12:46:aamastership:initialmaster_config0x60ch_prs0x7cDEVFS:readytorunad0:91MBSanDiskSDCFB-96[734/8/32]atata0-masterusingPIO1ad1:11513MBIBM-DARA-212000[23392/16/63]atata0-slaveusingUDMA33Mountingrootfromufs:/dev/ad0s1aMountedjbasepackageon/dev/vn0...Mountedjkernelpackageon/dev/vn1...Mountedjpfepackageon/dev/vn2...Mountedjdocspackageon/dev/vn3...Mountedjroutepackageon/dev/vn4...swapon:adding/dev/ad1s1basswapdeviceAutomaticrebootinprogress.../dev/ad0s1a:FILESYSTEMCLEAN;SKIPPINGCHECKS/dev/ad0s1a:clean,45047free/dev/ad0s1e:FILESYSTEMCLEAN;SKIPPINGCHECKS/dev/ad0s1e:clean,11864free(15frags,5629blocks,0.0%fragmentation)(8frags,1482blocks,0.1%fragmentation)(15frags,5629blocks,0.0%fragmentation)/dev/ad1s1f:FILESYSTEMCLEAN;S