Network OS NETCONF Operations Guide 499
53-1003231-02
SPAN in management cluster
32
</dest-tengigabitethernet>
<dest-tengigabitethernet-val>1/0/18
</dest-tengigabitethernet-val>
<direction>both</direction>
</span-command>
</session>
<session>
<session-number>2</session-number>
(output truncated)
2. Issue the <edit-config> RPC to configure the <monitor> node in the
urn:brocade.com:mgmt:brocade-span namespace.
3. Under the <monitor> node, include the <session> node element and include the delete
operation in the element tag.
4. Under the <session> node, include the <session-number> leaf element and specify the
session number you want to delete.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2803" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<monitor xmlns="urn:brocade.com:mgmt:brocade-span">
<session xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete">
<session-number>1</session-number>
</session>
</monitor>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2803" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
5. Reissue the <get-config> RPC used in step 1 to check that the session configuration
information has been removed.
SPAN in management cluster
SPAN in management cluster supports mirroring of a source port to a destination port lying on a
different switch in the management cluster. SPAN in management cluster is configured in the same
manner, with the exception of the <source> leaf.
The <source> leaf controls the source and destination switches in the management cluster by the
interface designation. The source and destination port can be anywhere in the management
cluster. In this example, the <source> leaf is set as the third switch in the management cluster by
the 3/0/15 leaf. However the destination is set to the fifth switch in the management cluster by the
5/0/18 leaf.
<rpc-reply message-id="2802" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<monitor xmlns="urn:brocade.com:mgmt:brocade-span">
<session>
Komentáře k této Příručce