Sample XPath Notifications Received on Devices for a Created E-LAN Service
This topic illustrates the differential configuration, which is the delta or the change-set of the configuration that you are about to deploy on the devices, and the XPath attributes associated with the delta configuration for a newly created E-LAN service:
The following are the configuration stanzas and device settings for a newly created E-LAN service at the different hierarchy levels of the CLI interface:
[edit interfaces ge-0/1/7] unit 29 { encapsulation vlan-vpls; vlan-id 34; family vpls { filter { input filter_in_ge-0/1/7_29; } } }
[edit firewall family vpls] filter filter_in_ge-0/1/8_102 { ... } filter filter_in_ge-0/1/7_29 { interface-specific; term 1 { then { policer policer_in_ge-0/1/7_29; accept; } } }
[edit firewall] policer policer_in_ge-0/1/8_102 { ... } policer policer_in_ge-0/1/7_29 { if-exceeding { bandwidth-limit 10m; burst-size-limit 1g; } then discard; }
[edit routing-instances] VplsBgpPW { instance-type vpls; interface ge-0/1/7.29; route-distinguisher 36000:23; vrf-import VplsBgpPW-import; vrf-export VplsBgpPW-export; protocols { vpls { mac-table-size { 5120; } interface-mac-limit { 1024; } no-mac-learning; no-tunnel-services; site Site_2 { site-identifier 2; site-preference primary; interface ge-0/1/7.29; } } } }
The following are the changed XPath attributes for a newly created E-LAN service:
/configuration/routing-instances/instance/protocols/vpls/mac-table-size/limit /configuration/firewall/family/vpls/filter/term/name /configuration/firewall/policer/if-exceeding/burst-size-limit /configuration/interfaces/interface/unit/name /configuration/routing-instances/instance/interface/name /configuration/routing-instances/instance/instance-type /configuration/firewall/policer/name /configuration/routing-instances/instance/protocols/vpls/site/interface/name /configuration/routing-instances/instance/protocols/vpls/site/site-preference /configuration/interfaces/interface/unit/vlan-id /configuration/interfaces/interface/unit/family/vpls/filter/input/filter-name /configuration/routing-instances/instance/route-distinguisher/rd-type /configuration/routing-instances/instance/name /configuration/interfaces/interface/unit/encapsulation /configuration/routing-instances/instance/vrf-export /configuration/routing-instances/instance/protocols/vpls/no-mac-learning /configuration/firewall/policer/then/discard /configuration/routing-instances/instance/protocols/vpls/site/site-identifier /configuration/routing-instances/instance/protocols/vpls/interface-mac-limit/limit /configuration/firewall/family/vpls/filter/name /configuration/routing-instances/instance/protocols/vpls/no-tunnel-services /configuration/firewall/family/vpls/filter/interface-specific /configuration/firewall/family/vpls/filter/term/then/policer /configuration/firewall/family/vpls/filter/term/then/accept /configuration/routing-instances/instance/protocols/vpls/site/name /configuration/routing-instances/instance/vrf-import
The following is the differential configuration set for the XPath attributes of a newly created E-LAN service:
<?xml version="1.0" encoding="UTF-8"?> <rpc-reply op="U"> <configuration op="U"> <interfaces op="U"> <interface op="U"> <name>ge-0/1/7</name> <flexible-vlan-tagging/> <mtu>1522</mtu> <encapsulation>flexible-ethernet-services</encapsulation> <unit op="C"> <name op="C">29</name> <encapsulation op="C">vlan-vpls</encapsulation> <vlan-id op="C">34</vlan-id> <family op="C"> <vpls op="C"> <filter op="C"> <input op="C"> <filter-name op="C">filter_in_ge-0/1/7_29</filter-name> </input> </filter> </vpls> </family> </unit> </interface> </interfaces> <firewall op="U"> <family op="U"> <vpls op="U"> <filter op="C"> <name op="C">filter_in_ge-0/1/7_29</name> <interface-specific op="C"/> <term op="C"> <name op="C">1</name> <then op="C"> <policer op="C">policer_in_ge-0/1/7_29</policer> <accept op="C"/> </then> </term> </filter> </vpls> </family> <policer op="C"> <name op="C">policer_in_ge-0/1/7_29</name> <if-exceeding op="C"> <bandwidth-limit op="C">10m</bandwidth-limit> <burst-size-limit op="C">1g</burst-size-limit> </if-exceeding> <then op="C"> <discard op="C"/> </then> </policer> </firewall> <routing-instances op="U"> <instance op="C"> <name op="C">VplsBgpPW</name> <instance-type op="C">vpls</instance-type> <interface op="C"> <name op="C">ge-0/1/7.29</name> </interface> <route-distinguisher op="C"> <rd-type op="C">36000:23</rd-type> </route-distinguisher> <vrf-import op="C">VplsBgpPW-import</vrf-import> <vrf-export op="C">VplsBgpPW-export</vrf-export> <protocols op="C"> <vpls op="C"> <mac-table-size op="C"> <limit op="C">5120</limit> </mac-table-size> <interface-mac-limit op="C"> <limit op="C">1024</limit> </interface-mac-limit> <no-mac-learning op="C"/> <no-tunnel-services op="C"/> <site op="C"> <name op="C">Site_2</name> <site-identifier op="C">2</site-identifier> <site-preference op="C">primary</site-preference> <interface op="C"> <name op="C">ge-0/1/7.29</name> </interface> </site> </vpls> </protocols> </instance> </routing-instances> </configuration> </rpc-reply>