juniper路由器配置

简介:
1,  增加端口配置模板
1)需要子接口的端口配置
set interfaces fe-2/0/1 vlan-tagging              ――――在配置接口启用封装VLAN
set interfaces fe-2/0/1 unit 424 vlan-id 424       ―――――配置子接口,VLAN 424
set interfaces fe-2/0/1 unit 424 family inet address 192.168.254.146/30  ――配置子接口地址
2)无需子接口配置
set interfaces fe-2/0/23 unit 0 family inet address 222.60.11.154/29   ――直接配置地址
3E1口配置
set interfaces e1-3/0/0 encapsulation ppp 封装链路类型,包含PPP,HDLC,根据实际情况配置
set interfaces e1-3/0/0 e1-options framing unframed 封装帧格式,参数包含unframed,g704, g704-no-crc4
set interfaces e1-3/0/0 unit 0 family inet address 192.168.1.126/30 配置地址
4CE1配置
set interfaces ce1-4/0/0 clocking external
set interfaces ce1-4/0/0 e1-options framing g704-no-crc4
set interfaces ce1-4/0/0 partition 1 timeslots 1-31    ――――设置信道1及时隙131
set interfaces ce1-4/0/0 partition 1 interface-type ds  ――――子接口类型DS
set interfaces ds-4/0/0:1 encapsulation ppp         ―――――配置子接口封装ppp
set interfaces ds-4/0/0:1 unit 0 family inet filter input NYYH
set interfaces 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 interfaces 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


本文转自 独钩寒江雪 51CTO博客,原文链接:http://blog.51cto.com/bennie/293886,如需转载请自行联系原作者
相关文章
|
8月前
|
网络协议 算法 数据库
思科路由器配置笔记
思科路由器配置笔记
176 0
|
网络协议 数据安全/隐私保护 网络架构
思科(Cisco)路由器常用命令总结
思科路由器常用命令总结:1,路由器口令设置: router>enable 进入特权模式router#config terminal 进入全局配置模式router(config)#hostname 设置交换机的主机名router(config)#enable secret xxx 设置特权加密口令r...
5123 0
|
网络架构 网络虚拟化
|
网络虚拟化 网络架构 ARouter
|
网络架构 网络虚拟化
|
安全 数据安全/隐私保护 网络架构

热门文章

最新文章