Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.

mismatch neighbor address in wiki page #4

Open
xijq227 opened this issue Jul 24, 2018 · 0 comments
Open

mismatch neighbor address in wiki page #4

xijq227 opened this issue Jul 24, 2018 · 0 comments

Comments

@xijq227
Copy link

xijq227 commented Jul 24, 2018

wiki

  1. Openconfig demo using NetConf over SSH.
    Let's use the operation get-config with a filter to retrieve a specific neighbor subtree from the active configuration:
<rpc>
    <get-config>
        <source><running/></source>
        <filter type="subtree">
            <bgp xmlns="http://openconfig.net/yang/bgp">
                <neighbors>
                    <neighbor>
                        <neighbor-address>**10.10.0.2**</neighbor-address>
                    </neighbor>
                </neighbors>
            </bgp>
        </filter>
    </get-config>
</rpc>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:junos="http://xml.juniper.net/junos/16.1I0/junos">
<data>
<bgp xmlns="http://openconfig.net/yang/bgp">
    <neighbors>
        <neighbor>
            <neighbor-address>**192.168.1.2**</neighbor-address>
            <config>
                <peer-as>110</peer-as>
                <peer-group>OC</peer-group>
            </config>
        </neighbor>
    </neighbors>
</bgp>
</data>
</rpc-reply>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant