Port mirroring configuration, Rcload, Atca-n700 sw users guide – ADLINK aTCA-N700 User Manual

Page 56: Display mirrong status, Remove xe0 mirroring, Rcload’ executes switch command scripts

Advertising
background image

aTCA-N700 SW Users Guide

50

RDBGC0.xe0

:

24,999,987

+0

R64.xe0

:

97,654

+0

R127.xe0

:

6,152,568

+0

R255.xe0

:

18,652,091

+0

R511.xe0

:

97,674

+0

RPKT.xe0

:

24,999,987

+0

RUCA.xe0

:

24,999,987

+0

RPRM.xe0

:

24,999,987

+0

RPOK.xe0

:

24,999,987

+0

RBYT.xe0

:

3,999,973,180

+0

T64.xe0

:

1

+0

T127.xe0

:

4

+0

T255.xe0

:

5

+0

TPOK.xe0

:

10

+0

TPKT.xe0

:

10

+0

TUCA.xe0

:

10

+0

TBYT.xe0

:

1,299

+0

PERQ_PKT(10).xe0 :

10

+0

PERQ_BYTE(10).xe0 :

1,299

+0


8.3.8. Port mirroring configuration


‘dmirror’ sets mirroring option for a selected portto a target port.


Usage (DMIRror): Parameters: <ports> [Mode=<Off|On|Ingress|Egress|All>]
[DestPort=<port>]

[DestModule=<modid>]

[DestTrunk=<tgid>]

[MirrorTagProtocolID=<tpid>]

[MirrorVlanID=<vid>

DestTrunk overrides DestModule/DestPort.

TPID and VLAN are set only if DestPort is a local port.


Port mirroring configuration examples are shown below.

** Mirror port xe0 ingress packet to xe3.


BCM.0> dmirror xe0 m=ingress dp=xe3


** Display mirrong status.


BCM.0> dmirror show


** Remove xe0 mirroring.


BCM.0> dmirror xe0 m=off


8.3.9. rcload


‘rcload’ executes switch command scripts.


Usage (RCLoad): Parameters: <file> [parameters]

Load commands from a file until the file is complete or an error

occurs. If optional parameters are listed after <file> they are

pushed as local variables for the file processing. For example:

rcload fred a bc will result in the variables:

$1

=

a

$2

=

bc

during processing of the file.

For platforms where FTP is used, the user name, password and host

may be specified as: "user%password@host:" as a prefix to the

file

name

Advertising