juniper路由器配置1

2021-09-21 12:07:16 字數 2189 閱讀 4996

1,增加埠配置模板

(1)需要子介面的埠配置

set inte***ces fe-2/0/1 vlan-tagging              ――――在配置介面啟用封裝vlan

set inte***ces fe-2/0/1 unit 424 vlan-id 424       ―――――配置子介面,vlan 424

set inte***ces fe-2/0/1 unit 424 family inet address 192.168.254.146/30  ――配置子介面位址

(2)無需子介面配置

set inte***ces fe-2/0/23 unit 0 family inet address 222.60.11.154/29   ――直接配置位址

(3)e1口配置

set inte***ces e1-3/0/0 encapsulation ppp 封裝鏈路型別,包含ppp,hdlc,根據實際情況配置

set inte***ces e1-3/0/0 e1-options framing unframed 封裝幀格式,引數包含unframed,g704, g704-no-crc4

set inte***ces e1-3/0/0 unit 0 family inet address 192.168.1.126/30 配置位址

(4)ce1配置

set inte***ces ce1-4/0/0 clocking external

set inte***ces ce1-4/0/0 e1-options framing g704-no-crc4

set inte***ces ce1-4/0/0 partition 1 timeslots 1-31    ――――設定通道1及時隙1-31

set inte***ces ce1-4/0/0 partition 1 inte***ce-type ds  ――――子介面型別ds

set inte***ces ds-4/0/0:1 encapsulation ppp         ―――――配置子介面封裝ppp

set inte***ces ds-4/0/0:1 unit 0 family inet filter input nyyh

set inte***ces ds-4/0/0:1 unit 0 family inet address 10.238.173.197/30  ――――配置位址

(5)策略配置

set firewall filter shigonganjumas term 1 from source-address 10.238.173.180/30

set firewall filter shigonganjumas term 1 then accept

set firewall filter shigonganjumas term 2 from source-address 10.238.173.0/24

set firewall filter shigonganjumas term 2 from source-address 10.238.179.0/24

set firewall filter shigonganjumas term 2 then discard

set firewall filter shigonganjumas term 3 then accept

set inte***ces fe-2/0/0 unit 44 family inet filter input jiaotongyinhangduanxin―――將策略應用至子介面。

日常維護命令

1   檢視序列號show chassis hardware

2   檢視硬體show chassis hardware

3   檢視軟體版本show version

4   檢視cpu  show chassis routing-engine

5   ping命令

ping 192.168.1.254 rapid    #快速ping位址  

6   檢視裝置告警資訊 show chassis alarms 

7   檢視詳細的硬體溫度及狀態資訊 show chassis environment 

8   收集case需要的資訊request support information

配置路由器(1)

知識點 3 ospf動態路由協議配置 在全域性配置模式下,使用 router ospf 命令,啟動ospf程序。在路由器的ospf配置模式下,使用 network ip 子網號 子網掩碼的反碼 area 區域號 命令定義參與ospf的子網位址,或使用 area 區域號 range 子網位址 子網掩碼...

路由器配置指令1

檢視路由表 show ip route 檢視路由介面 show ip inte ce 檢視路由協議 show ip protocol 彙總路由 是讓同一網段的路由表資訊都存放在乙個指定的路由器中 網段 指的是相關計算機集合的網路 測試網路連通性 ping 網路位址 預設路由 當路由器從當前路由表中找...

路由器配置

以r2為例項 ip route 172.16.2.0 255.255.255.0 172.16.3.1 ip route 192.168.1.0 255.255.255.0 192.158.10.6 rip路由 network 介面網段 route rip version 2 no auto sum...