Brocade Network OS NETCONF Operations Guide v4.1.1 Uživatelský manuál Strana 532

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 622
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 531
500 Network OS NETCONF Operations Guide
53-1003231-02
Configuring RSPAN
32
<session-number>1</session-number>
<description>Hello World</description>
<span-command>
<source>source</source>
<src-tengigabitethernet>tengigabitethernet
</src-tengigabitethernet>
<src-tengigabitethernet-val>3/0/15
</src-tengigabitethernet-val>
<destination>destination</destination>
<dest-tengigabitethernet>tengigabitethernet
</dest-tengigabitethernet>
<dest-tengigabitethernet-val>5/0/18
</dest-tengigabitethernet-val>
<direction>both</direction>
</span-command>
</session>
This configuration rule applies to ingress, egress, and both directions of SPAN. Otherwise,
configure SPAN as you would in standalone mode. Refer to “SPAN configuration with NETCONF
overview on page 495.
Configuring RSPAN
The principal difference between configuring SPAN and RSPAN is that RSPAN requires a remote
VLAN to be created first. This example demonstrates the configuration of a bidirectional RSPAN.
To create a VLAN interface, perform the following steps.
1. Issue an <edit-config> RPC to configure the <interface-vlan> node in the
urn:brocade.com:mgmt:brocade-interface namespace,
2. Under the <interface-vlan> element, specify the <interface>/<vlan> hierarchy of node
elements.
3. Under the <vlan> node, specify the <name> element containing the new VLAN ID.
The following example creates VLAN 1010.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1904" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<interface-vlan xmlns="urn:brocade.com:mgmt:brocade-interface">
<interface>
<vlan>
<name>1010</name>
</vlan>
</interface>
</interface-vlan>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1904" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Zobrazit stránku 531
1 2 ... 527 528 529 530 531 532 533 534 535 536 537 ... 621 622

Komentáře k této Příručce

Žádné komentáře