Name Type Constraint Mandatory Default Value ibgp Class [ibgp]No
Name Type Constraint Mandatory Default Value bgp_asn String Regex: ^(?:\d{1,10}|\d{1,5}\.\d{1,5})$ Yes route_reflectors Choice 2, 4No 2anycast_gateway_mac Any String[Regex: ^[a-f0-9]{1}\.[a-f0-9]{1}\.[a-f0-9]{1}$] or String[Regex: ^[a-f0-9]{4}\.[a-f0-9]{4}\.[a-f0-9]{4}$] or String[Regex: ^[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}$] or String[Regex: ^[a-f0-9]{2}-[a-f0-9]{2}-[a-f0-9]{2}-[a-f0-9]{2}-[a-f0-9]{2}-[a-f0-9]{2}$] No 20:20:00:00:00:aaoverlay_mode Choice cli, config-profileNo cligreenfield_cleanup Choice Enable, DisableNo Disablelayer2_vni_range Class [layer2_vni_range]No layer3_vni_range Class [layer3_vni_range]No layer2_vlan_range Class [layer2_vlan_range]No layer3_vlan_range Class [layer3_vlan_range]No enable_l3_vni_no_vlan Boolean true, falseNo falsemultisite_site_id Integer min: 1, max: 281474976710655 No vpc Class [vpc]No ptp Class [ptp]No snmp_server_host_trap Boolean true, falseNo trueenable_nxapi_http Boolean true, falseNo falsenxapi_http_port Integer No 80enable_nxapi_https Boolean true, falseNo truenxapi_https_port Integer No 443spanning_tree Class [spanning_tree]No auth_proto Choice MD5, SHA, MD5_DES, MD5_AES, SHA_DES, SHA_AESNo MD5dns_servers List [dns_servers]No ntp_servers List [ntp_servers]No syslog_servers List [syslog_servers]No netflow Class [netflow]No bootstrap Class [bootstrap]No tcam_allocation Boolean true, falseNo truespine_ibgp_peer_template_freeform String No leaf_ibgp_peer_template_freeform String No aaa_freeform String No banner_freeform String No leaf_pre_interface_freeform String No leaf_post_interface_freeform String No spine_pre_interface_freeform String No spine_post_interface_freeform String No tor_pre_interface_freeform String No tor_post_interface_freeform String No intra_fabric_link_freeform String No mpls_handoff Class [mpls_handoff]No heartbeat_interval Integer min: 150, max: 5000 No 190enable_ngoam Boolean true, falseNo true
Name Type Constraint Mandatory Default Value from Integer min: 1, max: 16777214 Yes 30000to Integer min: 1, max: 16777214 No 49000
Name Type Constraint Mandatory Default Value from Integer min: 1, max: 16777214 Yes 50000to Integer min: 1, max: 16777214 No 59000
Name Type Constraint Mandatory Default Value from Integer min: 2, max: 4094 Yes 2300to Integer min: 2, max: 4094 No 2999
Name Type Constraint Mandatory Default Value from Integer min: 2, max: 4094 Yes 2000to Integer min: 2, max: 4094 No 2299
Name Type Constraint Mandatory Default Value peer_link_vlan Integer min: 2, max: 3967 No 3600peer_keep_alive Choice loopback, managementNo managementauto_recovery_time Integer min: 240, max: 3600 No 360delay_restore_time Integer min: 1, max: 3600 No 150peer_link_port_channel_id Integer min: 1, max: 4096 No 500ipv6_nd_sync Boolean true, falseNo trueadvertise_pip Boolean true, falseNo falseadvertise_pip_border_only Boolean true, falseNo trueadvertise_pip_border_gateway Boolean true, falseNo domain_id_range String No 1-1000fabric_vpc_qos Boolean true, falseNo falsefabric_vpc_qos_policy_name String No spine_qos_for_fabric_vpc_peering
Name Type Constraint Mandatory Default Value enable Boolean true, falseNo falsedomain_id Integer min: 0, max: 127 No 0 lb_id Integer min: 0, max: 1023 No 0 vlan_id Integer min: 2, max: 3967 No
Name Type Constraint Mandatory Default Value root_bridge_protocol Choice rpvst+, mst, unmanagedYes unmanagedvlan_range List [vlan_range]No mst_instance_range List [mst_instance_range]No bridge_priority Choice 0, 4096, 8192, 12288, 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344, 61440No 0
Name Type Constraint Mandatory Default Value ip_address IP Yes vrf String Yes
Name Type Constraint Mandatory Default Value ip_address IP Yes vrf String Yes
Name Type Constraint Mandatory Default Value ip_address IP Yes vrf String Yes severity Integer min: 0, max: 7 Yes
Name Type Constraint Mandatory Default Value enable Boolean true, falseNo falseexporter List [exporter]No record List [record]No monitor List [monitor]No
Name Type Constraint Mandatory Default Value enable_bootstrap Boolean true, falseNo falseenable_local_dhcp_server Boolean true, falseNo falsedhcp_version Choice DHCPv4, DHCPv6No dhcp_v4 Class [dhcp_v4]No dhcp_v6 Class [dhcp_v6]No enable_cdp_mgmt Boolean true, falseNo falsebootstrap_freeform String No
Name Type Constraint Mandatory Default Value enable Boolean true, falseNo falseloopback_id Integer min: 0, max: 1023 No 101loopback_ip_range IP No 10.101.0.0/25isis_net_area_number String Regex: ^[0-9a-fA-F]{4}$ No 0001
Name Type Constraint Mandatory Default Value from Integer min: 1, max: 3967 Yes to Integer min: 1, max: 3967 No
Name Type Constraint Mandatory Default Value from Integer min: 0, max: 4094 Yes to Integer min: 0, max: 4094 No
Name Type Constraint Mandatory Default Value name String Yes ip_address IP Yes vrf String No source_interface String Regex: (?i)^(?:mgmt0|(?:e|eth(?:ernet)?)\d(?:/\d+){1,2}(?:\.\d{1,4})?)$ Yes udp_port Integer min: 1, max: 65535 Yes
Name Type Constraint Mandatory Default Value name String Yes template Choice netflow_ipv4_record, netflow_l2_recordYes layer2 Boolean true, falseNo
Name Type Constraint Mandatory Default Value name String Yes record String Yes exporter1 String Yes exporter2 String No
Name Type Constraint Mandatory Default Value scope_start_address IP Yes scope_end_address IP Yes switch_mgmt_default_gw IP Yes mgmt_prefix Integer min: 8, max: 30 Yes multi_subnet_scope String No domain_name String No
Name Type Constraint Mandatory Default Value scope_start_address IP Yes scope_end_address IP Yes switch_mgmt_default_gw IP Yes mgmt_prefix Integer min: 64, max: 126 Yes multi_subnet_scope String No domain_name String No
Note
With release 0.5.1, the data model was updated under the global key to provide segmentation for the different fabric types that are supported to provide better clarity for applicable parameters and attributes for a given fabric type. The primary keys for fabric types that are directly under the global key are ibgp, ebgp, and external. For fabric types ibgp and external, keys that were available in 0.5.0 under the global key are maintained and mapped for backwards compatibility for the time being. For the ebgp fabric type, initial support started with the usage of the ebgp key under the global key directly. Users should target the global section of the data model to reference vxlan.global.ibgp, vxlan.global.ebgp, or vxlan.global.external going forward.
In this example we will create a EVPN Fabric name myfabric with the AS Number: 6512
The value in bgp_asn should between double quotes.
Example:
bgp_asn : " 6512 " # Use quotes
anycast_gateway_mac : 20:20:00:00:00:aa
- ip_address : 172.25.74.200
- ip_address : 172.25.74.201
- ip_address : 10.195.225.200
- ip_address : 172.16.255.251
- ip_address : 172.16.255.252
peer_keep_alive : management
peer_link_port_channel_id : 500
advertise_pip_border_only : true
intra_fabric_link_freeform : |
service-policy type qos input my_fabric_policy
To display BGP session in asdot format, you can add the following CLI with a policy.
netascode-bgw(config )# as-format asdot
netascode-bgw# sh bgp l2vpn evpn summary | begin Neighbor
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
24569 24529 224 0 0 2w3d 10
24531 24532 224 0 0 2w3d 1
24554 24531 224 0 0 2w3d 10
24599 24537 224 0 0 2w3d 1
6868 6873 224 0 0 12:19:50 1
6871 6873 224 0 0 12:19:54 1
1697 1700 224 0 0 12:20:07 1
1697 1700 224 0 0 12:19:22 1
Neighbor T AS PfxRcd Type-2 Type-3 Type-4 Type-5 Type-12
10.0.0.3 I 65000.1 1697 1699 224 0 0 12:18:34 1
template_name : switch_freeform
auth_proto selects the SNMPv3 authentication/privacy protocol that ND uses when
discovering a switch for the first time. The default is MD5. The value applies to every
switch in the fabric ; it cannot be set per switch.
Value Authentication Privacy MD5MD5 — SHASHA-1 — MD5_DESMD5 DES MD5_AESMD5 AES-128 SHA_DESSHA-1 DES SHA_AESSHA-1 AES-128
NX-OS prerequisite: The SNMPv3 user must already exist on each switch with
authentication and privacy algorithms that match the selected auth_proto. Create the local
user once, then apply the single snmp-server user line for your chosen value:
username <USERNAME> password <PASSWORD> role network-admin
! Apply ONE of the following, matching the auth_proto value
! MD5 (default) — authentication only
snmp-server user <USERNAME> network-admin auth md5 <PASSWORD>
! SHA — authentication only
snmp-server user <USERNAME> network-admin auth sha <PASSWORD>
snmp-server user <USERNAME> network-admin auth md5 <PASSWORD> priv des <PASSWORD>
snmp-server user <USERNAME> network-admin auth md5 <PASSWORD> priv aes-128 <PASSWORD>
snmp-server user <USERNAME> network-admin auth sha <PASSWORD> priv des <PASSWORD>
snmp-server user <USERNAME> network-admin auth sha <PASSWORD> priv aes-128 <PASSWORD>
Verify the result with show snmp user <USERNAME>. The Auth and Priv columns must match
the table above.
The authentication and privacy passphrases must be identical . NaC sends a single
password to ND, which uses it for both. Mismatched passphrases are the most common
cause of notManageable and SNMPv3 timeouts during discovery.
Environment variables: ND uses NDFC_SW_USERNAME and NDFC_SW_PASSWORD to reach the
switch during discovery. These values must match the <USERNAME> and <PASSWORD> used when
configuring the SNMPv3 user on the switch.
anycast_gateway_mac : 20:20:00:00:00:aa
The snmp-server user commands above were verified on NX-OS 10.5(5): each one produces
the Auth/Priv combination listed in the table. On the ND side, SHA_AES discovery
has been confirmed against ND 4.2; the other values are carried by the data model and
the module mapping but have not been individually validated against ND.
Name Type Constraint Mandatory Default Value ibgp Class [ibgp]No
Name Type Constraint Mandatory Default Value bgp_asn String Regex: ^(?:\d{1,10}|\d{1,5}\.\d{1,5})$ Yes route_reflectors Choice 2, 4No 2anycast_gateway_mac Any String[Regex: ^[a-f0-9]{1}\.[a-f0-9]{1}\.[a-f0-9]{1}$] or String[Regex: ^[a-f0-9]{4}\.[a-f0-9]{4}\.[a-f0-9]{4}$] or String[Regex: ^[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}$] or String[Regex: ^[a-f0-9]{2}-[a-f0-9]{2}-[a-f0-9]{2}-[a-f0-9]{2}-[a-f0-9]{2}-[a-f0-9]{2}$] No 20:20:00:00:00:aaoverlay_mode Choice cli, config-profileNo cligreenfield_cleanup Choice Enable, DisableNo Disablelayer2_vni_range Class [layer2_vni_range]No layer3_vni_range Class [layer3_vni_range]No layer2_vlan_range Class [layer2_vlan_range]No layer3_vlan_range Class [layer3_vlan_range]No enable_l3_vni_no_vlan Boolean true, falseNo falsemultisite_site_id Integer min: 1, max: 281474976710655 No vpc Class [vpc]No ptp Class [ptp]No snmp_server_host_trap Boolean true, falseNo trueenable_nxapi_http Boolean true, falseNo falsenxapi_http_port Integer No 80enable_nxapi_https Boolean true, falseNo truenxapi_https_port Integer No 443spanning_tree Class [spanning_tree]No auth_proto Choice MD5, SHA, MD5_DES, MD5_AES, SHA_DES, SHA_AESNo MD5dns_servers List [dns_servers]No ntp_servers List [ntp_servers]No syslog_servers List [syslog_servers]No netflow Class [netflow]No bootstrap Class [bootstrap]No tcam_allocation Boolean true, falseNo truespine_ibgp_peer_template_freeform String No leaf_ibgp_peer_template_freeform String No aaa_freeform String No banner_freeform String No leaf_pre_interface_freeform String No leaf_post_interface_freeform String No spine_pre_interface_freeform String No spine_post_interface_freeform String No tor_pre_interface_freeform String No tor_post_interface_freeform String No intra_fabric_link_freeform String No mpls_handoff Class [mpls_handoff]No
Name Type Constraint Mandatory Default Value from Integer min: 1, max: 16777214 Yes 30000to Integer min: 1, max: 16777214 No 49000
Name Type Constraint Mandatory Default Value from Integer min: 1, max: 16777214 Yes 50000to Integer min: 1, max: 16777214 No 59000
Name Type Constraint Mandatory Default Value from Integer min: 2, max: 4094 Yes 2300to Integer min: 2, max: 4094 No 2999
Name Type Constraint Mandatory Default Value from Integer min: 2, max: 4094 Yes 2000to Integer min: 2, max: 4094 No 2299
Name Type Constraint Mandatory Default Value peer_link_vlan Integer min: 2, max: 3967 No 3600peer_keep_alive Choice loopback, managementNo managementauto_recovery_time Integer min: 240, max: 3600 No 360delay_restore_time Integer min: 1, max: 3600 No 150peer_link_port_channel_id Integer min: 1, max: 4096 No 500ipv6_nd_sync Boolean true, falseNo trueadvertise_pip Boolean true, falseNo falseadvertise_pip_border_only Boolean true, falseNo trueadvertise_pip_border_gateway Boolean true, falseNo domain_id_range String No 1-1000fabric_vpc_qos Boolean true, falseNo falsefabric_vpc_qos_policy_name String No spine_qos_for_fabric_vpc_peering
Name Type Constraint Mandatory Default Value enable Boolean true, falseNo falsedomain_id Integer min: 0, max: 127 No 0 lb_id Integer min: 0, max: 1023 No 0 vlan_id Integer min: 2, max: 3967 No
Name Type Constraint Mandatory Default Value root_bridge_protocol Choice rpvst+, mst, unmanagedYes unmanagedvlan_range List [vlan_range]No mst_instance_range List [mst_instance_range]No bridge_priority Choice 0, 4096, 8192, 12288, 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344, 61440No 0
Name Type Constraint Mandatory Default Value ip_address IP Yes vrf String Yes
Name Type Constraint Mandatory Default Value ip_address IP Yes vrf String Yes
Name Type Constraint Mandatory Default Value ip_address IP Yes vrf String Yes severity Integer min: 0, max: 7 Yes
Name Type Constraint Mandatory Default Value enable Boolean true, falseNo falseexporter List [exporter]No record List [record]No monitor List [monitor]No
Name Type Constraint Mandatory Default Value enable_bootstrap Boolean true, falseNo falseenable_local_dhcp_server Boolean true, falseNo falsedhcp_version Choice DHCPv4, DHCPv6No dhcp_v4 Class [dhcp_v4]No dhcp_v6 Class [dhcp_v6]No enable_cdp_mgmt Boolean true, falseNo falsebootstrap_freeform String No
Name Type Constraint Mandatory Default Value enable Boolean true, falseNo falseloopback_id Integer min: 0, max: 1023 No 101loopback_ip_range IP No 10.101.0.0/25isis_net_area_number String Regex: ^[0-9a-fA-F]{4}$ No 0001
Name Type Constraint Mandatory Default Value from Integer min: 1, max: 3967 Yes to Integer min: 1, max: 3967 No
Name Type Constraint Mandatory Default Value from Integer min: 0, max: 4094 Yes to Integer min: 0, max: 4094 No
Name Type Constraint Mandatory Default Value name String Yes ip_address IP Yes vrf String No source_interface String Regex: (?i)^(?:e|eth(?:ernet)?)\d(?:\/\d+){1,2}(\.\d{1,4})?$ Yes udp_port Integer min: 1, max: 65535 Yes
Name Type Constraint Mandatory Default Value name String Yes template Choice netflow_ipv4_record, netflow_l2_recordYes layer2 Boolean true, falseNo
Name Type Constraint Mandatory Default Value name String Yes record String Yes exporter1 String Yes exporter2 String No
Name Type Constraint Mandatory Default Value scope_start_address IP Yes scope_end_address IP Yes switch_mgmt_default_gw IP Yes mgmt_prefix Integer min: 8, max: 30 Yes multi_subnet_scope String No domain_name String No
Name Type Constraint Mandatory Default Value scope_start_address IP Yes scope_end_address IP Yes switch_mgmt_default_gw IP Yes mgmt_prefix Integer min: 64, max: 126 Yes multi_subnet_scope String No domain_name String No
Note
With release 0.5.1, the data model was updated under the global key to provide segmentation for the different fabric types that are supported to provide better clarity for applicable parameters and attributes for a given fabric type. The primary keys for fabric types that are directly under the global key are ibgp, ebgp, and external. For fabric types ibgp and external, keys that were available in 0.5.0 under the global key are maintained and mapped for backwards compatibility for the time being. For the ebgp fabric type, initial support started with the usage of the ebgp key under the global key directly. Users should target the global section of the data model to reference vxlan.global.ibgp, vxlan.global.ebgp, or vxlan.global.external going forward.
In this example we will create a EVPN Fabric name myfabric with the AS Number: 6512
The value in bgp_asn should between double quotes.
Example:
bgp_asn : " 6512 " # Use quotes
anycast_gateway_mac : 20:20:00:00:00:aa
- ip_address : 172.25.74.200
- ip_address : 172.25.74.201
- ip_address : 10.195.225.200
- ip_address : 172.16.255.251
- ip_address : 172.16.255.252
peer_keep_alive : management
peer_link_port_channel_id : 500
advertise_pip_border_only : true
intra_fabric_link_freeform : |
service-policy type qos input my_fabric_policy
To display BGP session in asdot format, you can add the following CLI with a policy.
netascode-bgw(config )# as-format asdot
netascode-bgw# sh bgp l2vpn evpn summary | begin Neighbor
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
24569 24529 224 0 0 2w3d 10
24531 24532 224 0 0 2w3d 1
24554 24531 224 0 0 2w3d 10
24599 24537 224 0 0 2w3d 1
6868 6873 224 0 0 12:19:50 1
6871 6873 224 0 0 12:19:54 1
1697 1700 224 0 0 12:20:07 1
1697 1700 224 0 0 12:19:22 1
Neighbor T AS PfxRcd Type-2 Type-3 Type-4 Type-5 Type-12
10.0.0.3 I 65000.1 1697 1699 224 0 0 12:18:34 1
template_name : switch_freeform
Name Type Constraint Mandatory Default Value ibgp Class [ibgp]No
Name Type Constraint Mandatory Default Value bgp_asn String Regex: ^(?:\d{1,10}|\d{1,5}\.\d{1,5})$ Yes route_reflectors Choice 2, 4No 2anycast_gateway_mac Any String[Regex: ^[a-f0-9]{1}\.[a-f0-9]{1}\.[a-f0-9]{1}$] or String[Regex: ^[a-f0-9]{4}\.[a-f0-9]{4}\.[a-f0-9]{4}$] or String[Regex: ^[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}:[a-f0-9]{2}$] or String[Regex: ^[a-f0-9]{2}-[a-f0-9]{2}-[a-f0-9]{2}-[a-f0-9]{2}-[a-f0-9]{2}-[a-f0-9]{2}$] No 20:20:00:00:00:aaoverlay_mode Choice cli, config-profileNo clilayer2_vni_range Class [layer2_vni_range]No layer3_vni_range Class [layer3_vni_range]No layer2_vlan_range Class [layer2_vlan_range]No layer3_vlan_range Class [layer3_vlan_range]No enable_l3_vni_no_vlan Boolean true, falseNo falsemultisite_site_id Integer min: 1, max: 281474976710655 No vpc Class [vpc]No ptp Class [ptp]No snmp_server_host_trap Boolean true, falseNo trueenable_nxapi_http Boolean true, falseNo falsenxapi_http_port Integer No 80enable_nxapi_https Boolean true, falseNo truenxapi_https_port Integer No 443spanning_tree Class [spanning_tree]No auth_proto Choice MD5, SHA, MD5_DES, MD5_AES, SHA_DES, SHA_AESNo MD5dns_servers List [dns_servers]No ntp_servers List [ntp_servers]No syslog_servers List [syslog_servers]No netflow Class [netflow]No bootstrap Class [bootstrap]No tcam_allocation Boolean true, falseNo truespine_ibgp_peer_template_freeform String No leaf_ibgp_peer_template_freeform String No aaa_freeform String No banner_freeform String No leaf_pre_interface_freeform String No leaf_post_interface_freeform String No spine_pre_interface_freeform String No spine_post_interface_freeform String No tor_pre_interface_freeform String No tor_post_interface_freeform String No intra_fabric_link_freeform String No mpls_handoff Class [mpls_handoff]No
Name Type Constraint Mandatory Default Value from Integer min: 1, max: 16777214 Yes 30000to Integer min: 1, max: 16777214 No 49000
Name Type Constraint Mandatory Default Value from Integer min: 1, max: 16777214 Yes 50000to Integer min: 1, max: 16777214 No 59000
Name Type Constraint Mandatory Default Value from Integer min: 2, max: 4094 Yes 2300to Integer min: 2, max: 4094 No 2999
Name Type Constraint Mandatory Default Value from Integer min: 2, max: 4094 Yes 2000to Integer min: 2, max: 4094 No 2299
Name Type Constraint Mandatory Default Value peer_link_vlan Integer min: 2, max: 3967 No 3600peer_keep_alive Choice loopback, managementNo managementauto_recovery_time Integer min: 240, max: 3600 No 360delay_restore_time Integer min: 1, max: 3600 No 150peer_link_port_channel_id Integer min: 1, max: 4096 No 500ipv6_nd_sync Boolean true, falseNo trueadvertise_pip Boolean true, falseNo falseadvertise_pip_border_only Boolean true, falseNo trueadvertise_pip_border_gateway Boolean true, falseNo domain_id_range String No 1-1000fabric_vpc_qos Boolean true, falseNo falsefabric_vpc_qos_policy_name String No spine_qos_for_fabric_vpc_peering
Name Type Constraint Mandatory Default Value enable Boolean true, falseNo falsedomain_id Integer min: 0, max: 127 No 0 lb_id Integer min: 0, max: 1023 No 0 vlan_id Integer min: 2, max: 3967 No
Name Type Constraint Mandatory Default Value root_bridge_protocol Choice rpvst+, mst, unmanagedYes unmanagedvlan_range List [vlan_range]No mst_instance_range List [mst_instance_range]No bridge_priority Choice 0, 4096, 8192, 12288, 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344, 61440No 0
Name Type Constraint Mandatory Default Value ip_address IP Yes vrf String Yes
Name Type Constraint Mandatory Default Value ip_address IP Yes vrf String Yes
Name Type Constraint Mandatory Default Value ip_address IP Yes vrf String Yes severity Integer min: 0, max: 7 Yes
Name Type Constraint Mandatory Default Value enable Boolean true, falseNo falseexporter List [exporter]No record List [record]No monitor List [monitor]No
Name Type Constraint Mandatory Default Value enable_bootstrap Boolean true, falseNo falseenable_local_dhcp_server Boolean true, falseNo falsedhcp_version Choice DHCPv4, DHCPv6No dhcp_v4 Class [dhcp_v4]No dhcp_v6 Class [dhcp_v6]No enable_cdp_mgmt Boolean true, falseNo falsebootstrap_freeform String No
Name Type Constraint Mandatory Default Value enable Boolean true, falseNo falseloopback_id Integer min: 0, max: 1023 No 101loopback_ip_range IP No 10.101.0.0/25isis_net_area_number String Regex: ^[0-9a-fA-F]{4}$ No 0001
Name Type Constraint Mandatory Default Value from Integer min: 1, max: 3967 Yes to Integer min: 1, max: 3967 No
Name Type Constraint Mandatory Default Value from Integer min: 0, max: 4094 Yes to Integer min: 0, max: 4094 No
Name Type Constraint Mandatory Default Value name String Yes ip_address IP Yes vrf String No source_interface String Regex: (?i)^(?:e|eth(?:ernet)?)\d(?:\/\d+){1,2}(\.\d{1,4})?$ Yes udp_port Integer min: 1, max: 65535 Yes
Name Type Constraint Mandatory Default Value name String Yes template Choice netflow_ipv4_record, netflow_l2_recordYes layer2 Boolean true, falseNo
Name Type Constraint Mandatory Default Value name String Yes record String Yes exporter1 String Yes exporter2 String No
Name Type Constraint Mandatory Default Value scope_start_address IP Yes scope_end_address IP Yes switch_mgmt_default_gw IP Yes mgmt_prefix Integer min: 8, max: 30 Yes multi_subnet_scope String No domain_name String No
Name Type Constraint Mandatory Default Value scope_start_address IP Yes scope_end_address IP Yes switch_mgmt_default_gw IP Yes mgmt_prefix Integer min: 64, max: 126 Yes multi_subnet_scope String No domain_name String No
Note
With release 0.5.1, the data model was updated under the global key to provide segmentation for the different fabric types that are supported to provide better clarity for applicable parameters and attributes for a given fabric type. The primary keys for fabric types that are directly under the global key are ibgp, ebgp, and external. For fabric types ibgp and external, keys that were available in 0.5.0 under the global key are maintained and mapped for backwards compatibility for the time being. For the ebgp fabric type, initial support started with the usage of the ebgp key under the global key directly. Users should target the global section of the data model to reference vxlan.global.ibgp, vxlan.global.ebgp, or vxlan.global.external going forward.
In this example we will create a EVPN Fabric name myfabric with the AS Number: 6512
The value in bgp_asn should between double quotes.
Example:
bgp_asn : " 6512 " # Use quotes
anycast_gateway_mac : 20:20:00:00:00:aa
- ip_address : 172.25.74.200
- ip_address : 172.25.74.201
- ip_address : 10.195.225.200
- ip_address : 172.16.255.251
- ip_address : 172.16.255.252
peer_keep_alive : management
peer_link_port_channel_id : 500
advertise_pip_border_only : true
intra_fabric_link_freeform : |
service-policy type qos input my_fabric_policy
To display BGP session in asdot format, you can add the following CLI with a policy.
netascode-bgw(config )# as-format asdot
netascode-bgw# sh bgp l2vpn evpn summary | begin Neighbor
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
24569 24529 224 0 0 2w3d 10
24531 24532 224 0 0 2w3d 1
24554 24531 224 0 0 2w3d 10
24599 24537 224 0 0 2w3d 1
6868 6873 224 0 0 12:19:50 1
6871 6873 224 0 0 12:19:54 1
1697 1700 224 0 0 12:20:07 1
1697 1700 224 0 0 12:19:22 1
Neighbor T AS PfxRcd Type-2 Type-3 Type-4 Type-5 Type-12
10.0.0.3 I 65000.1 1697 1699 224 0 0 12:18:34 1
template_name : switch_freeform