在 M、MX 或 T Series 路由器上使用 IPSec 和 ES PIC 将加密流量发送到数据包分析器
您可以使用 IPSec(一套用于在 IP 数据包层进行加密安全通信的相关协议)和加密服务 (ES) PIC 将部分或全部流量安全地发送到数据包分析器。在这种情况下,TCP 流量将经过加密,通过 IPSec 隧道发送,并由数据包分析器接收。有关在 ES PIC 上配置 IPSec 的详细信息,请参阅 IPsec 用户指南 或 Junos 系统基础知识配置指南。
[edit]
interfaces {
es-3/1/0 {
unit 0 {
tunnel {
source 10.8.8.1;
destination 10.8.8.2;
}
family inet {
ipsec-sa sa-esp;
address 192.0.2.1/32 {
destination 192.0.2.2;
}
}
}
}
fe-3/2/1 {
unit 0 {
family inet {
address 10.8.8.1/30;
}
}
}
}
security {
ipsec {
proposal esp-sha1-3des {
protocol esp;
authentication-algorithm hmac-sha1-96;
encryption-algorithm 3des-cbc;
lifetime-seconds 180;
}
policy esp-group2 {
perfect-forward-secrecy {
keys group2;
}
proposals esp-sha1-3des;
}
security-association sa-esp {
mode tunnel;
dynamic {
ipsec-policy esp-group2;
}
}
}
ike {
proposal ike-esp {
authentication-method pre-shared-keys;
dh-group group2;
authentication-algorithm sha1;
encryption-algorithm 3des-cbc;
lifetime-seconds 180;
}
policy 10.8.8.2 {
mode aggressive;
proposals ike-esp;
pre-shared-key ascii-text "$ABC123";
}
}
}