R2511-HP MSR Router Series Voice Command Reference(V5)
90
mirror (analog voice subscriber line view)
Use mirror to mirror the PCM, RTP, or voice command data on the analog voice subscriber line to a
specified interface or destination.
Use undo mirror to remove a mirror entry or all mirror entries.
Syntax
mirror number number { pcm | { in | out | all } { command | data } } to { local-interface interface-type
interface-number [ mac H-H-H ] | remote-ip ip-address [ port port ] }
undo mirror [number number]
Default
No traffic is mirrored.
Views
Analog voice subscriber line view
Default level
2: System level
Parameters
number number: Specifies a number for the mirror entry, in the range of 1 to 64.
pcm: Mirrors PCM data.
in: Mirrors inbound RTP or command data.
out: Mirrors outbound RTP or command data.
all: Mirrors bidirectional RTP or command data.
data: Mirrors RTP data.
command: Mirrors command data.
to: Specifies a destination interface or destination IP address for mirrored traffic.
local-interface interface-type interface-number: Specifies a destination interface, which must be a Layer-2
or Layer-3 Ethernet port.
mac: Specifies the destination MAC address for mirrored traffic, in the format H-H-H. You can remove the
leading 0s in Hs from the MAC address. For example, f-e2-1 represents 000f-00e2-0001.
remote-ip ip-address: Specifies a destination IP address
port port: Specifies a destination port for mirrored traffic. The default port is 60000.
Usage guidelines
The router supports only one PCM data mirror entry.
This command is only applicable to FXS, FXO, and E&M analog subscriber lines.
Examples
# Mirror PCM data on the interface FXS 1/0 to the interface Ethernet 1/1.
<Sysname> system-view
[Sysname] subscriber-line 1/0
[Sysname-subscriber-line1/0] mirror number 1 pcm to local-interface ethernet 1/1










