Name Type Constraint Mandatory Default Value global Class global No
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 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 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) ^(?: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 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
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.
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
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