beautypg.com

Dell POWEREDGE M1000E User Manual

Page 809

background image

Fabric OS Command Reference

781

53-1002746-01

portMirror

2

--delete

Deletes a mirror connection between a source and a destination. You must specify
a SID and a DID when deleting a mirror connection.

EXAMPLES

To configure a port as a mirror port:

switch:admin> portcfg mirrorport 18--enable
Please confirm enable of Mirror Port: 17 (Y,y,N,n): [n] y

To verify that port mirroring is enabled on port 18:

switch:admin> portcfgshow 18
Area Number: 18
Speed Level: AUTO(HW)
Fill Word(On Active) 0(Idle-Idle)
Fill Word(Current) 0(Idle-Idle)
AL_PA Offset 13: OFF
Trunk Port ON
Long Distance OFF
VC Link Init OFF
Locked L_Port OFF
Locked G_Port OFF
Disabled E_Port OFF
Locked E_Port OFF
ISL R_RDY Mode OFF
RSCN Suppressed OFF
Persistent Disable OFF
LOS TOV enable OFF
NPIV capability ON
QOS E_Port AE
Port Auto Disable: OFF
Rate Limit OFF
EX Port OFF
Mirror Port ON
(output truncated)

switch:admin> switchshow | grep Online
switchState: Online
1 1 640100 id N2 Online FC G-Port
2 2 640200 id N2 Online FC E-Port \
10:00:00:05:1e:36:01:26 "sw0" (downstream)
7 7 640700 id N4 Online FC F-Port \
20:14:00:05:1e:a2:f9:b1
8 8 640800 id N2 Online FC F-Port \
1 N Port + 2 NPIV public
10 10 640a00 id N2 Online FC Mirror Port
11 11 640b00 id N2 Online FC F-Port \
21:00:00:e0:8b:10:1d:9d
12 12 640c00 id N4 Online FC F-Port \
20:15:00:05:1e:a2:f9:b1
17 17 641100 id N2 Online FC E-Port \
10:00:00:05:1e:a2:ec:9c "sw0" (downstream)
18 18 641200 id N2 Online FC Mirror Port

To add three mirror connection between three local device port pairs to mirror port 18:

switch:admin> portmirror --add 18 0x640c00 0x640800
switch:admin> portmirror --add 18 0x640700 0x640b00
switch:admin> portmirror --add 18 0x640700 0x640c00