10 台 EX 4200 系列交换机互连在一起,并将它们作为单一产品进行管理,从而为扩展
网络环境提供“按需购买、渐进扩展”的解决方案。灵活的千兆以太网(GbE)和万兆以
太网(10GbE)上行链路选件允许您高速连接将多个楼层或多幢楼宇互连在一起的汇聚
或核心层交换机。
所有的 EX 4200 系列交换机都提供高可用性特性,如 冗余热插拔内部电源和现场可
替换的带多个风扇的风扇托架等,用于确保最长的运行时间。此外,EX 4200 系列交换
机的基本机型还支持第 3 类以太网供电(PoE)标准,在前 8 个端口上提供 15.4 瓦的电力
来支持 IP 电话、摄像机和无线局域网(WLAN)接入点等 IP 的产品,用于构建低密
度的融合网络。产品还提供在所有 24 或 48 个端口上都提供 15.4 瓦电力的 PoE 选项,
适用于高密度的 IP 电话部署。
每个 EX 4200 系列交换机中都包括基于应用特定的集成电路(ASIC)的集成数据包转
发引擎 EX-PFE,并通过集成路由引擎(RE)提供全部的控制层功能。基于公认的瞻博网络技术,路由引擎能够为 EX 4200 系列交换机提供高级别的运营商级性能和可靠性,
就像瞻博网络路由器为全球最大的电信运营商网络所提供的一样。
EX 4200 系列交换机还与瞻博网络路由器使用相同的模块化 JUNOSTM软件,可确
保每个控制层特性在整个瞻博网络基础设施上一致地实施和运行。
订购信息:
机型编号 说明
交换机
- 7 -
50cm
EX-XFP
-
10GE
-
S
Juniper EX 系列以太网交换机操作手册
机型编号 说明
EX 4200-24T
EX 4200-24P
EX 4200-48T
EX 4200-48P
EX 4200-24F
24 端口 10/100/1000Base-T (8 个 PoE 端口) + 320 W AC PSU,包括
50cm 虚拟机箱端口电缆。
24 端口 10/100/1000Base-T PoE + 600W AC PSU,包括 50cm 虚拟机箱端口电缆。
48 端口 10/100/1000Base-T (8 个 PoE 端口) + 320 W AC PSU,包括
50cm 虚拟机箱端口电缆。
48 端口 10/100/1000Base-T PoE + 930 W AC PSU,包括 50cm 虚拟机箱端口电缆。
24 端口 1000Base-X SFP + 320 W AC PSU (光模块选配),包括虚拟机箱端口电缆。
高级特性许可
EX-24-AFL* 面向 EX 4200-24T, EX 4200-24P, EX 4200-24F 交换机的高级特性许可
EX-48-AFL*
面向 EX 4200-48T 和 EX 4200-48P 交换机的高级特性许可
上行链路模块
EX-UM-2XFP
EX-UM-4SFP
2 端口万兆以太网 XFP 上行链路模块
4 端口千兆以太网 SFP 上行链路模块
电源**
EX-PWR-320-AC
EX-PWR-600-AC
EX-PWR-930-AC
320W AC 电源(PSU)
600W AC 电源(PSU)
930W AC 电源(PSU)
虚拟机箱端口电缆
EX-CBL-VCP-50
CM
EX-CBL-VCP-1
M
EX-CBL-VCP-3
M
EX 4200, 50cm 虚拟机箱端口电缆(备件)
EX 4200, 1m 虚拟机箱端口电缆
EX 4200, 3m 虚拟机箱端口电缆
BPDU protection for spanning-tree protocols JUNOS 9.1R1
Loop protection for spanning-tree protocols JUNOS 9.1R1
Root protection for spanning-tree protocols JUNOS 9.1R1
Storm control JUNOS 9.1R1
Link Layer Discovery Protocol (LLDP) JUNOS 9.0R2
Link Layer Discovery Protocol Media Endpoint
Discovery (LLDP-MED) with voice over IP (VoIP)
integration JUNOS 9.0R2
Autoinstallation JUNOS 9.0R2
Configuration rollback JUNOS 9.0R2
Confirmation of configuration changes JUNOS 9.0R2
Software upgrades JUNOS 9.0R2
Supports the following features for automating
network operations and troubleshooting: JUNOS 9.0R2
Hit [Enter] to boot immediately, or any other key for command
prompt.
Booting [kernel] in 9 seconds...
< Press any key other than return >
ok boot –s
3. 执行密码恢复:在以下提示文字后输入 recovery
Enter full pathname of shell or 'recovery' for root password
recovery or RETURN for /bin/sh: recovery
NOTE: Once in the CLI, you will need to enter configuration mode
using
- 14 -
Juniper EX 系列以太网交换机操作手册
NOTE: the 'configure' command to make any required changes. For
example,
NOTE: to reset the root password, type:
NOTE: configure
NOTE: set system root-authentication plain-text-password
NOTE: (enter the new password when asked)
NOTE: commit
NOTE: exit
NOTE: exit
NOTE: When you exit the CLI, you will be asked if you want to
reboot
NOTE: the system
Starting CLI ...
root>
4. 进入配置模式,删除 root 密码:
root> configure
Entering configuration mode
[edit]
root# set system root-authentication plain-text-password
输入 两遍新的口令。
root@router# commit
commit complete
[edit]
root@router# exit
Exiting configuration mode
root@kenny> exit
Reboot the system? [y/n] y
Terminated
重新启动后, Juniper设备恢复正常。
2.6. CLI 操作模式
JUNOS 有两种模式:操作模式和配置模式。
1,操作模式
监控和排错 软件,网络连接、路由器硬件。
2,配置模式
- 15 -
Juniper EX 系列以太网交换机操作手册
test@lab2>
配置路由器包括:interface、路由信息、路由协议、用户访问、系统硬件参数。
test@lab2> configure
[edit]
test@lab2#
2.6.1. 操作模式
(1)命令层次
(2)主要命令
{master}
lab@ex4200-vc> ?
Possible completions:
clear Clear information in the system
configure Manipulate software configuration information
file Perform file operations
help Provide help information
monitor Show real-time debugging information
mtrace Trace multicast path from source to receiver
op Invoke an operation script
ping Ping remote target
- 16 -
Juniper EX 系列以太网交换机操作手册
quit Exit the management session
request Make system-level requests
restart Restart software process
set Set CLI properties, date/time, craft interface message
show Show system information
ssh Start secure shell on another host
start Start shell
telnet Telnet to another host
test Perform diagnostic debugging
traceroute Trace route to remote host
{master}
lab@ex4200-vc>
(3)可以配合使用下列管道符号 |
compare Compare configuration changes with prior version
count Count occurrences
display Show additional kinds of information
except Show only text that does not match a pattern
find Search for first occurrence of pattern
hold Hold text without exiting the --More-- prompt
last Display end of output only
match Show only text that matches a pattern
no-more Don't paginate output
request Make system-level requests
resolve Resolve IP addresses
save Save output text to file
trim Trim specified number of columns from start of line
(4)使用set cli 命令设置 cli 环境
{master}
lab@ex4200-vc> set cli ?
Possible completions:
- 17 -
Juniper EX 系列以太网交换机操作手册
complete-on-space Set whether typing space completes current word
directory Set working directory
idle-timeout Set maximum idle time before login session ends
prompt Set CLI command prompt string
restart-on-upgrade Set whether CLI prompts to restart after software upgrade
screen-length Set number of lines on screen
screen-width Set number of characters on a line
terminal Set terminal type
timestamp Timestamp CLI output
{master}
(5)编辑环境在VT-100
(6)空格键功能
lab@ex4200-vc> show i
^
- 18 -
Juniper EX 系列以太网交换机操作手册
'i' is ambiguous.
Possible completions:
igmp Show Internet Group Management Protocol information
igmp-snooping Show IGMP snooping information
ike Show Internet Key Exchange information
interfaces Show interface information
ipsec Show IP Security information
isis Show Intermediate System-to-Intermediate System
information
(7)?号命令提示
lab@ex4200-vc> ?
Possible completions:
clear Clear information in the system
configure Manipulate software configuration information
file Perform file operations
help Provide help information
monitor Show real-time debugging information
mtrace Trace multicast path from source to receiver
op Invoke an operation script
ping Ping remote target
quit Exit the management session
request Make system-level requests
restart Restart software process
set Set CLI properties, date/time, craft interface
message
show Show system information
- 19 -
to
management
-
etherne
re
dundanc
aggregated
-
device
firewal
interface
protocol
syste
more
LessSpecific
More Specific
etherne
alar
chassi
Juniper EX 系列以太网交换机操作手册
ssh Start secure shell on another host
start Start shell
telnet Telnet to another host
test Perform diagnostic debugging
traceroute Trace route to remote host
2.6.2. 配置模式
(1)进入配置模式
root@lab2> configure
Entering configuration mode
[edit]
root@lab2#
example:
root@lab2#set system services ftp
system {
services {
ftp;
}
}
(2) 配置模式层次
- 20 -
to
management
-
etherne
redundanc
aggregated
-
device
firewal
interface
protocol
syste
more
LessSpecific
More Specific
etherne
alar
chassi
top management
-
ethernet
redundancy
aggregated
-
devices
firewall
interfaces
protocols
system
more
…
ethernet
alarm
chassis
top
up
Juniper EX 系列以太网交换机操作手册
(3)使用edit 命令类似于cd 命令
使用edit chassis alarm ethernet 可以直接在ethernet 这一级操作而不需要 set
chassis alarm Ethernet 操作。
(4)使用up 和top 命令
user@host# up
[edit chassis alarm]
user@host# top
[edit]
Less Specific
More Specific
(5)显示Candidate 配置
[edit]
- 21 -
Juniper EX 系列以太网交换机操作手册
user@host# show chassis alarm
user@host# edit chassis alarm
[edit chassis alarm]
user@host# show
[edit chassis alarm]
(6)区分配置文件
比较Candidate 与active 配置的区别
[edit chassis]
user@host# show | compare
alarm {
xxx {
+ xxx xxx
- xxx xxx;
}
}
其它选项
user@host# show | compare filename
user@host# show | compare rollback number
(7)配置的差异更新
root@router# show | compare
[edit interfaces]
[edit]
root@router# show | compare | save /var/tmp/patch.cfg
Wrote 9 lines of output to '/var/tmp/patch.cfg'
[edit]
root@router# load patch /var/tmp/patch.cfg
load complete