Using SNMP Secure Packet Mirroring Traps
SNMP secure packet mirroring traps enable you to capture and report packet mirroring information to an external device; you can then view the secure information on the remote device. The secure packet mirroring traps feature is an extension of the router's standard SNMP implementation, and is only available to SNMPv3 users who are authorized to use packet mirroring.
You can also log mirror traps to local volatile memory for debugging purposes by enabling the SNMP secure log feature. See Capturing SNMP Secure Audit Logs for details of secure audit logging. Normal console and syslog audit logs for packet mirroring traps and packet Mirror-MIB accesses are suppressed due to security concerns.
NOTE: The contents of secure logs are not preserved across a reboot.
The mirror-enable command must be enabled to make packet mirroring-related commands, command options, and show command output visible.
Table 48 indicates the events that trigger secure packet-mirroring traps and lists the information sent in the trap for each event.
Additional Packet-Mirroring Traps for CALEA Compliance
You can use the packet-mirroring traps shown in Table 49 to help support compliance with the Communications Assistance for Law Enforcement Act (CALEA), which defines electronic surveillance guidelines for telecommunications companies. For example, a third-party vendor of mediation devices might receive packet mirroring traps from the router and convert the traps to messages that comply with CALEA, such as Lawfully Authorized Electronic Surveillance (LAES) for IP Network Access, American Nation Standard For Telecommunications messages. Individual traps might map to multiple LAES messages to provide additional compliance-related information.
Packet Mirroring Trap Severity Levels
Table 50 lists the default severity levels for packet mirroring traps. See Table 23 in JUNOSe System Basics Configuration Guide, Chapter 4, Configuring SNMP for descriptions of the severity levels.
Configuring SNMP Secure Packet Mirroring Traps
To configure SNMP secure traps support, perform the following tasks on your E-series router:
- Enable packet mirroring support.
- Configure the packet mirroring application to generate traps.
- (Optional) Verify the packet mirroring trap configuration.
- (Optional) Configure the SNMP server to support secure logs.
- Configure the SNMP server to generate packet mirroring traps.
- Configure the SNMPv3 user for whom packet mirroring traps are generated.
- Configure the SNMP server to report packet mirroring traps to a remote host.
- (Optional) Verify the SNMP server packet mirroring configuration.
The following example illustrates the procedure to configure SNMP secure packet mirroring traps support:
host1#mirror-enablehost1#configure terminalhost1(config)#mirror trap-enablehost1(config)#show mirror trapTraps are enabledhost1(config)#snmp-server secure-loghost1(config)#snmp-server user fredMirrorUser group mirror authentication md5 fred-md5password privacy des fred-despasswordhost1(config)#snmp-server enable traps packetMirror trapFilters noticehost1(config)#snmp-server host 192.168.57.103 version 3 fredMirrorUser cliSecurityAlert packetMirror trapFilters noticehost1(config)#show snmp trapEnabled Categories: CliSecurity, PacketMirror, SonetSNMP authentication failure trap is disabledTrap Source: FastEthernet 6/0, Trap Source Address:192.168.120.78Trap Proxy: enabledGlobal Trap Severity Level: 6 - informationalAddress Security String Ver Port Trap Categories--------------- -------------------------------- --- ----- ----------------192.168.1.1 host1 v1 162 Cli192.168.57.103 fredMirrorUser v3 162 CliPacketMirror192.168.57.162 host2 v3 162 SonetAddress TrapSeverityFilter Ping Maximum Queue Queue FullTimeOut QueueSize DrainRate discrd methd--------------- ------------------ ------- --------- --------- -------------192.168.1.1 5 - notice 1 32 0 dropLastIn192.168.57.103 5 - notice 1 32 0 dropLastIn192.168.57.162 2 - critical 1 32 0 dropLastIn
- See JUNOSe System Basics Configuration Guide, Chapter 4, Configuring SNMP for information about JUNOSe software SNMP support.
- mirror trap-enable command
- snmp-server clear secure-log command
- snmp-server enable traps command
- snmp-server host command
- snmp-server secure-log command
- show mirror trap command
- show snmp secure-log command