Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 553

Advertising
background image

Network OS NETCONF Operations Guide

521

53-1003231-02

OSPF in a VCS environment

34

f.

Assign the VE interface to the area created in

step c

.

g. Enable the VE interface.

<?xml version="1.0" encoding="UTF-8"?>

<rpc message-id="2600" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<edit-config>

<target>

<running/>

</target>

<config>

<interface xmlns="urn:brocade.com:mgmt:brocade-interface">

<interface-vlan>

<interface>

<vlan>

<name>1001</name>

</vlan>

</interface>

</interface-vlan>

</interface>

<rbridge-id xmlns xmlns="urn:brocade.com:mgmt:brocade-rbridge">

<rbridge-id>1</rbridge-id>

<router>

<ospf/>

<area>0.0.0.0</area>

</router>

<interface xmlns="urn:brocade.com:mgmt:brocade-interface">

<ve>

<name>1001</name>

<ip xmlns="urn:brocade.com:mgmt:brocade-ip-config">

<ip-config>

<address>

<address>101.1.1.1/24</address>

</address>

</ip-config>

<interface-vlan-ospf-conf

xmlns="urn:brocade.com:mgmt:brocade-ospf">

<ospf1>

<area>0.0.0.0</area>

</ospf1>

</interface-vlan-ospf-conf>

</ip>

<shutdown

xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"

operation="delete"/>

</ve>

</interface>

</rbridge-id>

</config>

</edit-config>

</rpc>

<rpc-reply message-id="2600" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<ok/>

</rpc-reply>

2. On Router RB2, issue an <edit-config> RPC to perform the following tasks.

a. Configure a VLAN for Router RB2.

b. Enable OSPF for Router RB2.

Advertising