beautypg.com

Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 528

background image

496

Network OS NETCONF Operations Guide

53-1003231-02

Configuring ingress SPAN, egress SPAN, or bidirectional SPAN

32

1. Issue the RPC to configure the node in the

urn:brocade.com:mgmt:brocade-span namespace.

2. Under the node, include the node element.

3. Under the node, include the following leaf elements.

a. In the field, identify the session with a unique session number.

b. Optional: In the field, provide a descriptive text for the session.

4. Under the node, include the node element.

5. Under the node, include the following leaf elements.

a. In the element, specify “source” to designate subsequent parameters as

pertaining to the source port.

b. In the element, specify “tengigabitethernet”,

“fortygigabitethernet”, or “gigabitethernet”, depending on the source port type.

c. In the element, specify the source port in

[rbridge-id/]slot/port format.

d. In the element, specify “destination” to designate subsequent parameters

as pertaining to the destination port.

e. In the element, specify “tengigabitethernet”,

“fortygigabitethernet”, or “gigabitethernet”, depending on the destination port type.

f.

In the element, specify the destination port in
[rbridge-id/]slot/port format.

g. In the element, specify “rx” to configure ingress SPAN, “tx” to configure egress

SPAN, or “both” to configure bidirectional SPAN.

The following example configures an ingress SPAN session. It designates 1/0/15 as the source
port and 1/0/18 as the destination port.

1

Hello World

source

tengigabitethernet

1/0/15

destination

tengigabitethernet

1/0/18

rx