[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: On box implementation
"David T. Perkins" writes:
>protocols {
> ospf {
> area 0.0.0.0 {
> interface so-0/0/0 {
> hello-interval 5;
> }
> interface so-0/0/1 {
> hello-interval 5;
> }
> }
> }
>}
In XML, this looks like:
<configuration>
<protocols>
<ospf>
<area>
<name>0.0.0.0</name>
<interface>
<name>so-0/0/0.0</name>
<hello-interval>5</hello-interval>
</interface>
<interface>
<name>so-0/0/1.0</name>
<hello-interval>5</hello-interval>
</interface>
</area>
</ospf>
</protocols>
</configuration>
The conversion is pretty straight forward. The CLI display
includes some techniques to make the configuration more
pleasing to humans, but the XML is more regular.
Thanks,
Phil
--
to unsubscribe send a message to xmlconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/xmlconf/>