Evpn-Multihoming-Netconf
此内容尚不支持你的语言。
Evpn Multihoming
Section titled “Evpn Multihoming”Resources Summary
Section titled “Resources Summary”| YANG Path | get/get-config | edit-config | rpc |
|---|---|---|---|
| /evpn-multihoming | Y | merge, replace, create, delete | — |
| /evpn-multihoming/ethernet-segments/{name} | Y | merge, replace, create, delete | — |
| /evpn-multihoming/global | Y | merge, replace, create, delete | — |
| /show-evpn-es | — | — | Y |
Examples
Section titled “Examples”This chapter provides examples on how to use Netconf to manage EVPN Multihoming configurations on AsterNOS devices.
Get EVPN Multihoming Configurations
Section titled “Get EVPN Multihoming Configurations”Request example to get all EVPN Multihoming configurations via get-config with subtree filter.
<filter type="subtree"> <top> <evpn-multihoming/> </top></filter>Response example
<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <top> <evpn-multihoming xmlns="http://asterfusion.com/ns/yang/asternos-evpn-multihoming"> <global> <disable-advertise-svi-mac>false</disable-advertise-svi-mac> <mac-holdtime>1080</mac-holdtime> <neigh-holdtime>1080</neigh-holdtime> <redirect-off>false</redirect-off> <startup-delay>180</startup-delay> </global> <ethernet-segments> <ethernet-segment> <name>Ethernet1</name> <es-id>100</es-id> <es-sys-mac>00:11:22:33:44:55</es-sys-mac> <df-pref>100</df-pref> <uplink>true</uplink> </ethernet-segment> </ethernet-segments> </evpn-multihoming> </top></data>Set (Create/Modify) EVPN Multihoming Configurations
Section titled “Set (Create/Modify) EVPN Multihoming Configurations”Request example to set EVPN Multihoming global and ethernet segment via edit-config.
<config> <top> <evpn-multihoming> <global> <disable-advertise-svi-mac>true</disable-advertise-svi-mac> <mac-holdtime>2000</mac-holdtime> <neigh-holdtime>2000</neigh-holdtime> <redirect-off>true</redirect-off> <startup-delay>300</startup-delay> </global> <ethernet-segments> <ethernet-segment operation="create"> <name>Ethernet1</name> <es-id>100</es-id> <es-sys-mac>00:11:22:33:44:55</es-sys-mac> <df-pref>200</df-pref> <uplink>false</uplink> </ethernet-segment> </ethernet-segments> </evpn-multihoming> </top></config>Response example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <ok/></rpc-reply>Delete EVPN Multihoming Ethernet Segment
Section titled “Delete EVPN Multihoming Ethernet Segment”Request example to delete an ethernet segment via edit-config.
<config> <top> <evpn-multihoming> <ethernet-segments> <ethernet-segment operation="delete"> <name>Ethernet1</name> </ethernet-segment> </ethernet-segments> </evpn-multihoming> </top></config>For detailed fields and YANG definitions, please refer to yang/asternos-evpn-multihoming.yang.
Properties Descriptions
Section titled “Properties Descriptions”Evpn Multihoming
Section titled “Evpn Multihoming”Tree Diagram
module: asternos-evpn-multihoming +--rw evpn-multihoming +--rw global | +--rw disable-advertise-svi-mac? boolean | +--rw mac-holdtime? uint32 | +--rw neigh-holdtime? uint32 | +--rw redirect-off? boolean | +--rw startup-delay? uint16 +--rw ethernet-segments +--rw ethernet-segment* [name] +--rw name interface-name +--rw esi? string +--rw es-sys-mac? yang:mac-address +--rw es-id? uint32 +--rw df-pref? uint16 +--rw uplink? booleanTable of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| evpn-multihoming | M | Path-only node, has no configurable value. | |
| global | M | Path-only node, has no configurable value. EVPN multihoming global configuration. | |
| disable-advertise-svi-mac | O | ”true" "false” | Disable SVI Mac advertise to bgp. Default value: False |
| mac-holdtime | O | 0..86400 | MAC hold time. Default value: 1080 |
| neigh-holdtime | O | 0..86400 | Neighbor entry hold time. Default value: 1080 |
| redirect-off | O | ”true" "false” | ES bond redirect for fast-failover off. Default value: False |
| startup-delay | O | 0..3600 | Startup delay. Default value: 180 |
| ethernet-segments | M | Path-only node, has no configurable value. EVPN multihoming ethernet segments configuration. | |
| ethernet-segment | M | Path-only node, has no configurable value. | |
| name | O | Ethernet name | Interfaces name that can configure EVPN multihoming. |
| esi | O | None | A 10-byte complete ESINAME. |
| es-sys-mac | O | yang:mac-address | Ethernet segment system MAC. |
| es-id | O | 1..16777215 | Local discriminator. |
| df-pref | O | 1..65535 | Preference value used for DF election. |
| uplink | O | ”true" "false” | Uplink to the VxLAN core. |
EVPN multihoming ethernet segments configuration
Section titled “EVPN multihoming ethernet segments configuration”Tree Diagram
module: asternos-evpn-multihoming +--rw evpn-multihoming +--rw ethernet-segments +--rw ethernet-segment* [name] +--rw name interface-name +--rw esi? string +--rw es-sys-mac? yang:mac-address +--rw es-id? uint32 +--rw df-pref? uint16 +--rw uplink? booleanTable of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| ethernet-segments | M | Path-only node, has no configurable value. EVPN multihoming ethernet segments configuration. | |
| ethernet-segment | M | Path-only node, has no configurable value. | |
| name | O | Ethernet name | Interfaces name that can configure EVPN multihoming. |
| esi | O | None | A 10-byte complete ESINAME. |
| es-sys-mac | O | yang:mac-address | Ethernet segment system MAC. |
| es-id | O | 1..16777215 | Local discriminator. |
| df-pref | O | 1..65535 | Preference value used for DF election. |
| uplink | O | ”true" "false” | Uplink to the VxLAN core. |
EVPN multihoming global configuration
Section titled “EVPN multihoming global configuration”Tree Diagram
module: asternos-evpn-multihoming +--rw evpn-multihoming +--rw global +--rw disable-advertise-svi-mac? boolean +--rw mac-holdtime? uint32 +--rw neigh-holdtime? uint32 +--rw redirect-off? boolean +--rw startup-delay? uint16Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| global | M | Path-only node, has no configurable value. EVPN multihoming global configuration. | |
| disable-advertise-svi-mac | O | ”true" "false” | Disable SVI Mac advertise to bgp. Default value: False |
| mac-holdtime | O | 0..86400 | MAC hold time. Default value: 1080 |
| neigh-holdtime | O | 0..86400 | Neighbor entry hold time. Default value: 1080 |
| redirect-off | O | ”true" "false” | ES bond redirect for fast-failover off. Default value: False |
| startup-delay | O | 0..3600 | Startup delay. Default value: 180 |
Show Evpn Es
Section titled “Show Evpn Es”Tree Diagram
module: asternos-evpn-multihoming
rpcs: +---x show-evpn-es +---w input | +---w (options)? | +--:(detail) | | +---w detail? empty | +--:(esi) | +---w esi? string +--ro output +--ro data? stringTable of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-evpn-es | O | ||
| detail | O | empty | Display more details. |
| esi | O | string | Display information of specific ESI. |
| data | O | string | evpn information. |