
96
MC1600 Extreme Edge Server Installation and Use (6806870A02A)
Software Configuration
Software Configuration
Port Mirroring
First you must configure a mirror destination. This is the port (referred as the
destport
) where
the mirrored packets are replicated to. The
mirror dest create
API returns a
mirror ID
. This ID is
then used in all further
mirror
API commands. The first ID defaults to
0x3c000000
. Next the
user calls the
mirror dest add
command to attach a port (referred as the srcport) to an
already created mirror ID. This source port is where the mirrored packets come from. The
mirror dest add
API command also takes a mode parameter which specifies whether to replicate
Ingress, Egress, or both types of packets. The mode parameter values can be Ingress, Egress,
or IngressEgress.
Example commands to replicate Ingress and Egress packets from xe0 to xe1 (using
bcm.user.proxy
):
BCM.0>
mir dest create id=0 destport=xe1
BCM0.>
mir dest add id=0x3c000000, mode=IngressEgress
srcport=xe0
To display the mirror configurations:
BCM.0>
mir show
BCM.0>
mir dest show
To remove the example mirror configuration:
BCM.0>
mir dest delete id=0x3c000000
mode=IngressEgress srcport=xe0
BCM.0>
mir dest destroy id=0x3c000000
This release includes a shell script which allows the user to execute BCM utility commands
without having to enter and exit the program. This can be useful if a BCM commands need to
be scripted, for example, from the Linux command line:
#
bcmui.sh port xe0 autoneg=on
Summary of Contents for MaxCore MC1600
Page 1: ...MaxCore MC1600 Extreme Edge Server Installation and Use 6806870A02A April 2019...
Page 8: ...List of Figures 6 MC1600 Extreme Edge Server Installation and Use 6806870A02A...
Page 26: ...Safety Notes 24 MaxCore MC1600 Extreme Edge Server Safety Notes Summary 6806870A04A...
Page 36: ...Sicherheitshinweise 34 MaxCore MC1600 Extreme Edge Server Safety Notes Summary 6806870A04A...
Page 116: ...Related Documentation 114 MC1600 Extreme Edge Server Installation and Use 6806870A02A...
Page 117: ......