juniper路由器

2020-04-18 00:13

juniper路由器MX480、MX960

配置IP:

在路由器上配置端口IP地址,Cisco如果不划分子接口则直接在主接口下配置。而juniper路由器不管是否划分子接口,都需要采用unit子接口形式,只是通常没有划分vlan的时候采用unit 0来进行配置。ge-0/0/0 unit 3相当于Cisco的ge0/0/0.3子接口。

配置Loopback端口

set interface lo0descriptiondescription#配置端口描述

set interface lo0 unit 0 family inet address ip-address#配置IP地址 set interface lo0 unit 0 family iso address iso-address#配置ISO地址

说明:loopback的掩码是32位,如果配置中不输入掩码,则系统自动添加为32位。 Example:

set interfaces lo0 description “loopback 0”

set interfaces lo0 unit 0 family inet address 59.43.0.4/32

set interfaces lo0 unit 0 family iso address 86.4809.0010.0590.4300.0004.00

配置FE端口

set interface fe-0/0/1descriptiondescription #配置端口描述 set interface fe-0/0/1mtumtu-number #配置端口MTU

set interface fe-0/0/1hold-time up msdown ms#配置端口up/down的damping时间 set interface fe-0/0/1 unit 0 family inet address ip-address #配置IP地址 set interfacefe-0/0/1 unit 0 family iso#端口允许运行ISIS

set interfacefe-0/0/1speed 100m link-mode half-duplex#配置端口速率和端口模式

配置GE端口

set interface ge-0/0/1descriptiondescription #配置端口描述

set interface ge-0/0/1mtumtu-number #配置端口MTU

set interface ge-0/0/1hold-time up msdown ms#配置端口up/down的damping时间 set interface ge-0/0/1 unit 0 family inet address ip-address #配置IP地址 set interfacege-0/0/1unit 0 family iso#端口允许运行ISIS

set interfacege-0/0/1link-mode full-duplexgigether-optionsno-auto-negotiation #配置端口模式和非协商模式

Example: set interfaces ge-3/0/0description “to_BJ-BJ-JA-ZTE-RR-1” set interfaces ge-3/0/0 mtu 9182

set interfaces ge-3/0/0hold-time up 5000 down 0

set interfaces ge-3/0/0 unit 0 family inet address 59.43.17.65/30 set interfaces ge-3/0/0 unit 0 family iso

set interfaces ge-3/0/0link-mode full-duplexgigether-options commit synchronize

配置POS端口

set interface so-slot/pic/portdescriptiondescription #配置端口描述 set interface so-slot/pic/portmtumtu-number #配置端口MTU

set interface so-slot/pic/porthold-time up msdown ms#配置端口up/down的damping时间 set interface so-slot/pic/portencapsultationppp#配置端口封装为PPP set interface so-slot/pic/portsonet-options fcs[32|16] #配置端口FCS的位数 set interface so-slot/pic/portsonet-options payload-scrambler#配置端口打开payload-scrambler

set interface so-slot/pic/portsonet-options rfc-2615 #配置端口FCS 32,打开payload-scrambler,C2字节为0x16

set interface so-slot/pic/portsonet-options fcs[32|16] #配置端口FCS的位数

set interface so-slot/pic/port unit 0 family inet address ip-address #配置IP地址 set interface so-slot/pic/port unit 0 family iso#端口允许运行ISIS set interface so-slot/pic/port unit 0 family mpls#端口允许运行mpls

Example: set interfaces so-0/0/0description “to_SN-SIA-XHM-ZTE-A-1” set interfaces so-0/0/0mtu 9182

set interfaces so-0/0/0hold-time up 5000 down 0 set interfaces so-0/0/0encapsulation ppp set interfaces so-0/0/0sonet-options fcs 32

set interfaces so-0/0/0sonet-optionspayload-scrambler set interfaces so-0/0/0sonet-options rfc-2615 set interfaces so-0/0/0sonet-options fcs 32

set interfaces so-0/0/0 unit 0 family inet address 59.43.17.1/30 set interfaces so-0/0/0 unit 0 family iso set interfaces so-0/0/0 unit 0 family mpls commit synchronize

配置端口聚合

set chassis aggregated-devices ethernet device-count #定义聚合端口数量,juniper

最多支持128个聚合端口

set interfacesge-2/0/0gigether-options802.3ad ae0#将物理端口定义到聚合端口ae0上 set interfacesge-2/0/1 gigether-options802.3ad ae0#将物理端口定义到聚合端口ae0上 set interfacesge-2/0/2 gigether-options802.3ad ae0#将物理端口定义到聚合端口ae0上

set interfaces ae0 unit 0 family inetaddress 221.176.1.68/26 #设置聚合端口ae0的IP地址

开启系统ftp服务

命令:

#set system services ftp #commit

说明:系统默认是没有打开ftp功能的,只有打开ftp服务之后才能从网络上ftp到路由器。

Juniper防火墙NS140/208/520/550/2000

配置IP:

设置端口速率和工作模式

JUNIPER安全设备的接口速率和双工模式均为自适应。接口能以三种不同模式运行,

分别是 : 网络地址转换 (NAT)、路由和透明。如果绑定到第 3 层区段的接口具有 IP 地址,则可为该接口定义 NAT 或路由操作模式。绑定到第 2 层区段 (如预定义的 v1-trust、v1-untrust 和 v1-dmz,或用户定义的第 2 层区段 ) 的接口必须为透明模式。在配置接口时选择操作模式。

注意 : 尽管可以将绑定到任意第 3 层区段的接口的操作模式定义为 NAT,但是,安全设备只对通过该接口传递到 Untrust 区段的信息流执行 NAT。对于通往 Untrust 区段之外的其它任意区段的信息流,ScreenOS 不执行 NAT。还要注意,ScreenOS 允许您将 Untrust 区段接口设置为 NAT 模式,但是这样做并不会激活任何 NAT 操作。

主端口配置

配置连接内网接口参数

选择Network > Interfaces > Ethernet0/0 > Edit : 输入以下内容,单击OK 在Zone Name Trust ---------将Ethernet 0/0 设置成trust安全区域 IP Address / Net mask : 192.168.20.4 /29 ----------输入IP 地址 同时你还可以选择management servers (ping\\telnet\\web\\ssh\\snmp\\ssl)

配置连接服务区网络接口参数

选择Network > Interfaces > Ethernet0/1 > Edit : 输入以下内容,单击OK

在Zone Name :DMZ ---------将Ethernet 0/1 设置成DMZ安全区域 IP Address / Net mask :172.16.16.1/24 ----------输入IP 地址 同时你还可以选择management servers (ping\\telnet\\web\\ssh\\snmp\\ssl)


juniper路由器.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:气候变化引发的自然灾害与人类健康问题

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: