VLAN interfaces (SVIs) provide Layer 3 routing capabilities for VLAN segments on NX-OS, enabling inter-VLAN routing, management access, and gateway services with configurable IPv4/IPv6 addressing, VRF membership, and bandwidth/delay settings. They support advanced features including fabric forwarding mode (anycast gateway) for VXLAN deployments, autostate control, medium type selection, MTU with inheritance, MAC address override, and load interval counters for traffic monitoring. VLAN interfaces also support DHCP relay and ICMPv6 (redirects, unreachables), along with directed broadcast control, IP forwarding, uRPF, and access group filtering for comprehensive gateway functionality.
Interface-level protocol settings are documented on the respective protocol pages: OSPF , OSPFv3 , IS-IS , EIGRP , PIM , BFD , HSRP , VRRP , VRRPv3 , ND , ePBR .
VLAN interfaces (SVIs) provide Layer 3 routing capabilities for VLAN segments on NX-OS, enabling inter-VLAN routing, management access, and gateway services with configurable IPv4/IPv6 addressing, VRF membership, and bandwidth/delay settings. They support advanced features including fabric forwarding mode (anycast gateway, proxy gateway) for VXLAN deployments, autostate control, medium type selection, MTU with inheritance, MAC address override, and load interval counters for traffic monitoring. VLAN interfaces include protocol sub-sections for OSPF, OSPFv3, PIM, IS-IS, HSRP, DHCP relay, IPv6 ND, and ICMPv6 (redirects, unreachables), along with directed broadcast control, IP forwarding, uRPF, and access group filtering for comprehensive gateway functionality.
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value interfaces Class interfaces No
Name Type Constraint Mandatory Default Value vlans List vlans No
Name Type Constraint Mandatory Default Value id Integer min: 1, max: 4094 Yes interface_ groups List String No shutdown Boolean true, falseNo autostate Boolean true, falseNo bandwidth Integer min: 1, max: 400000000 No carrier_delay Integer min: 0, max: 60000 No delay Integer min: 1, max: 16777215 No description String No management Boolean true, falseNo load_ interval_ counter_ 1 Integer min: 60, max: 600 No load_ interval_ counter_ 2 Integer min: 60, max: 600 No load_ interval_ counter_ 3 Integer min: 60, max: 600 No mac_address MAC No medium Choice broadcast, p2pNo mtu Integer min: 64, max: 9216 No snmp_ trap_ link_ status Boolean true, falseNo vrf String No ip Class ip No ipv6 Class ipv6 No fabric_ forwarding_ mode Choice anycast-gatewayNo fabric_ forwarding_ mode_ anycast_ gateway_ proxy Boolean true, falseNo igmp Class igmp No mpls_ ip_ forwarding Boolean true, falseNo service_ policy_ type_ qos_ input String No service_ policy_ type_ qos_ input_ statistics Boolean true, falseNo evpn_ multisite_ dci_ tracking Boolean true, falseNo evpn_ multisite_ fabric_ tracking Boolean true, falseNo evpn_ multihoming_ core_ tracking Boolean true, falseNo private_ vlan_ mapping Class private_ vlan_ mapping No
Name Type Constraint Mandatory Default Value id Integer min: 1, max: 4094 Yes interface_ groups List String No shutdown Boolean true, falseNo autostate Boolean true, falseNo bandwidth Integer min: 1, max: 400000000 No carrier_delay Integer min: 0, max: 60000 No delay Integer min: 1, max: 16777215 No description String No management Boolean true, falseNo load_ interval_ counter_ 1 Integer min: 60, max: 600 No load_ interval_ counter_ 2 Integer min: 60, max: 600 No load_ interval_ counter_ 3 Integer min: 60, max: 600 No mac_address MAC No medium Choice broadcast, p2pNo mtu Integer min: 64, max: 9216 No snmp_ trap_ link_ status Boolean true, falseNo vrf String No ip Class ip No ipv6 Class ipv6 No fabric_ forwarding_ mode Choice anycast-gw, proxy-gwNo ospf Class ospf No ospfv3 Class ospfv3 No pim Class pim No isis Class isis No hsrp Class hsrp No bfd Class bfd No service_ policy_ type_ qos_ input String No service_ policy_ type_ qos_ input_ statistics Boolean true, falseNo nd Class nd No evpn_ multisite_ dci_ tracking Boolean true, falseNo evpn_ multisite_ fabric_ tracking Boolean true, falseNo
Name Type Constraint Mandatory Default Value address IP No tag Integer min: 0, max: 4294967295 No secondary_ addresses List secondary_ addresses No forward Boolean true, falseNo drop_glean Boolean true, falseNo unnumbered String No directed_ broadcast Boolean true, falseNo directed_ broadcast_ acl String No redirects Boolean true, falseNo unreachables Boolean true, falseNo port_ unreachable Boolean true, falseNo verify_ unicast_ source_ reachable_ via Choice disabled, rx, any, any-allow-default, rx-allow-vni-hostsNo access_group_in String No access_ group_ out String No policy_ route_ map String No dhcp_ relay_ information_ trusted Boolean true, falseNo dhcp_ relay_ smart_ relay Boolean true, falseNo dhcp_ relay_ subnet_ broadcast Boolean true, falseNo dhcp_ relay_ information_ option Boolean true, falseNo dhcp_ relay_ source_ subnet IP No dhcp_ relay_ source_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo dhcp_ relay_ source_ interface_ id Any String or Integer[min: 0] No dhcp_ relay_ addresses List dhcp_ relay_ addresses No dhcp_ snooping_ trust Boolean true, falseNo arp_ inspection_ trust Boolean true, falseNo verify_ source_ dhcp_ snooping_ vlan Boolean true, falseNo
Name Type Constraint Mandatory Default Value address IP No tag Integer min: 0, max: 4294967295 No secondary_ addresses List secondary_ addresses No forward Boolean true, falseNo drop_glean Boolean true, falseNo unnumbered String No directed_ broadcast Boolean true, falseNo directed_ broadcast_ acl String No redirects Boolean true, falseNo unreachables Boolean true, falseNo port_ unreachable Boolean true, falseNo verify_ unicast_ source_ reachable_ via Choice disabled, rx, any, any-allow-default, rx-allow-vni-hostsNo access_group_in String No access_ group_ out String No dhcp_ relay_ information_ trusted Boolean true, falseNo dhcp_ relay_ smart_ relay Boolean true, falseNo dhcp_ relay_ subnet_ broadcast Boolean true, falseNo dhcp_ relay_ information_ option Boolean true, falseNo dhcp_ relay_ source_ subnet String No dhcp_ relay_ addresses List dhcp_ relay_ addresses No
Name Type Constraint Mandatory Default Value address_ autoconfig Boolean true, falseNo nd_ default_ route Boolean true, falseNo forward Boolean true, falseNo link_ local_ use_ bia Boolean true, falseNo address_ use_ link_ local_ only Boolean true, falseNo verify_ unicast_ source_ reachable_ via Choice disabled, rx, any, any-allow-default, rx-allow-vni-hostsNo address_ link_ local IP No addresses List addresses No dhcp_ smart_ relay Boolean true, falseNo dhcp_ relay_ source_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo dhcp_ relay_ source_ interface_ id Any String or Integer[min: 0] No dhcp_ relay_ addresses List dhcp_ relay_ addresses No redirects Boolean true, falseNo unreachables Boolean true, falseNo policy_ route_ map String No
Name Type Constraint Mandatory Default Value address_ autoconfig Boolean true, falseNo nd_ default_ route Boolean true, falseNo forward Boolean true, falseNo link_ local_ use_ bia Boolean true, falseNo address_ use_ link_ local_ only Boolean true, falseNo verify_ unicast_ source_ reachable_ via Choice disabled, rx, any, any-allow-default, rx-allow-vni-hostsNo address_ link_ local IP No addresses List addresses No dhcp_ smart_ relay Boolean true, falseNo dhcp_ relay_ addresses List dhcp_ relay_ addresses No redirects Boolean true, falseNo unreachables Boolean true, falseNo
Name Type Constraint Mandatory Default Value version Choice 2, 3No startup_ query_ interval Integer min: 0, max: 18000 No startup_ query_ count Integer min: 0, max: 10 No robustness_ variable Integer min: 1, max: 7 No querier_timeout Integer min: 1, max: 65535 No query_ max_ response_ time Integer min: 1, max: 8387 No query_interval Integer min: 1, max: 18000 No last_ member_ query_ response_ time Integer min: 1, max: 25 No last_ member_ query_ count Integer min: 1, max: 5 No group_timeout Integer min: 3, max: 65535 No allow_v3_asm Boolean true, falseNo state_limit Integer min: 0, max: 4294967295 No state_ limit_ reserved_ route_ map String No state_ limit_ reserved Integer min: 0, max: 4294967295 No report_policy String No report_ policy_ prefix_ list String No access_group String No access_ group_ prefix_ list String No join_groups List join_groups No join_ group_ route_ map String No static_groups List static_groups No static_oifs List static_oifs No static_ oif_ route_ map String No report_ link_ local_ groups Boolean true, falseNo immediate_leave Boolean true, falseNo suppress_v3_gsq Boolean true, falseNo
Name Type Constraint Mandatory Default Value ids List Integer[min: 1, max: 4094] No ranges List ranges No
Name Type Constraint Mandatory Default Value address IP Yes tag Integer min: 0, max: 4294967295 No
Name Type Constraint Mandatory Default Value address IP Yes vrf String No
Name Type Constraint Mandatory Default Value address IP Yes type Choice primary, secondaryNo tag Integer min: 0, max: 4294967295 No eui64 Boolean true, falseNo route_ preference Integer min: 0, max: 255 No
Name Type Constraint Mandatory Default Value address IP Yes vrf String No
Name Type Constraint Mandatory Default Value group IP Yes source IP No
Name Type Constraint Mandatory Default Value group IP Yes source IP No
Name Type Constraint Mandatory Default Value group IP Yes source IP No
Name Type Constraint Mandatory Default Value from Integer min: 1, max: 4094 Yes to Integer min: 1, max: 4094 Yes
Name Type Constraint Mandatory Default Value process String Yes advertise_ secondaries Boolean true, falseNo advertise_ subnet Boolean true, falseNo area Any IP or Integer[min: 0, max: 4294967295] No bfd Boolean true, falseNo cost Integer min: 0, max: 65535 No dead_interval Integer min: 0, max: 65535 No hello_interval Integer min: 0, max: 65535 No mtu_ignore Boolean true, falseNo network Choice point-to-point, broadcastNo prefix_ attributes_ n_ flag_ clear Choice unspecified, clearNo passive_ interface Boolean true, falseNo priority Integer min: 0, max: 255 No retransmit_ interval Integer min: 1, max: 65535 No transmit_delay Integer min: 1, max: 450 No authentication_ key String No message_ digest_ key_ id Integer min: 0, max: 255 No authentication_ key_ secure_ mode Boolean true, falseNo authentication_ key_ chain String No message_ digest_ key String No message_ digest_ key_ secure_ mode Boolean true, falseNo authentication Choice simple, md5, noneNo
Name Type Constraint Mandatory Default Value process String Yes advertise_ secondaries Boolean true, falseNo area Any IP or Integer[min: 0, max: 4294967295] No bfd Boolean true, falseNo cost Integer min: 0, max: 65535 No dead_interval Integer min: 0, max: 65535 No hello_interval Integer min: 1, max: 65535 No network Choice none, p2p, bcastNo passive_ interface Boolean true, falseNo priority Integer min: 0, max: 255 No instance_id Integer min: 0, max: 255 No mtu_ignore Boolean true, falseNo retransmit_ interval Integer min: 1, max: 65535 No transmit_delay Integer min: 1, max: 450 No
Name Type Constraint Mandatory Default Value bfd_instance Boolean true, falseNo dr_priority Integer min: 1, max: 4294967295 No passive Boolean true, falseNo sparse_mode Boolean true, falseNo border Boolean true, falseNo dr_delay Integer min: 1, max: 65535 No jp_policy String No neighbor_policy String No neighbor_ policy_ prefix_ list String No strict_ rfc_ compliant Boolean true, falseNo
Name Type Constraint Mandatory Default Value instance_name String Yes circuit_type Choice level-1, level-2, level-1-2No ipv4 Boolean true, falseNo ipv6 Boolean true, falseNo network_ point_ to_ point Boolean true, falseNo passive_ interface Choice level-1, level-2, level-1-2, no-level-1, no-level-2, no-level-1-2No metric_level_1 Integer min: 0, max: 16777216 No metric_level_2 Integer min: 0, max: 16777216 No ipv6_ metric_ level_ 1 Integer min: 0, max: 16777216 No ipv6_ metric_ level_ 2 Integer min: 0, max: 16777216 No priority_ level_ 1 Integer min: 0, max: 127 No priority_ level_ 2 Integer min: 0, max: 127 No hello_interval Integer min: 1, max: 65535 No hello_ interval_ level_ 1 Integer min: 1, max: 65535 No hello_ interval_ level_ 2 Integer min: 1, max: 65535 No hello_ multiplier Integer min: 3, max: 1000 No hello_ multiplier_ level_ 1 Integer min: 3, max: 1000 No hello_ multiplier_ level_ 2 Integer min: 3, max: 1000 No hello_padding Choice always, transient, neverNo authentication_ check Boolean true, falseNo authentication_ check_ level_ 1 Boolean true, falseNo authentication_ check_ level_ 2 Boolean true, falseNo authentication_ key_ chain String No authentication_ key_ chain_ level_ 1 String No authentication_ key_ chain_ level_ 2 String No authentication_ type Choice clear, md5, unknownNo authentication_ type_ level_ 1 Choice clear, md5, unknownNo authentication_ type_ level_ 2 Choice clear, md5, unknownNo mtu_check Boolean true, falseNo mtu_ check_ level_ 1 Boolean true, falseNo mtu_ check_ level_ 2 Boolean true, falseNo bfd Boolean true, falseNo ipv6_bfd Boolean true, falseNo csnp_ interval_ level_ 1 Integer min: 1, max: 65535 No csnp_ interval_ level_ 2 Integer min: 1, max: 65535 No lsp_interval Integer min: 10, max: 65535 No retransmit_ interval Integer min: 1, max: 65535 No retransmit_ throttle_ interval Integer min: 20, max: 65535 No mesh_group Integer min: 0, max: 4294967295 No mesh_ group_ blocked Boolean true, falseNo prefix_ attributes_ n_ flag_ clear Boolean true, falseNo suppressed Boolean true, falseNo
Name Type Constraint Mandatory Default Value version Integer min: 1, max: 2 No bfd Boolean true, falseNo use_bia Boolean true, falseNo use_bia_scope Choice global, localNo delay_minimum Integer min: 0, max: 10000 No delay_reload Integer min: 0, max: 10000 No mac_refresh Integer min: 0, max: 10000 No groups List groups No
Name Type Constraint Mandatory Default Value interval Integer min: 0, max: 999 No min_rx Integer min: 0, max: 999 No multiplier Integer min: 0, max: 50 No echo Boolean true, falseNo echo_ rx_ interval Integer min: 0, max: 999 No optimize_ subinterface Boolean true, falseNo per_link Boolean true, falseNo source_ip IP No vpc_watch Boolean true, falseNo track_ member_ link Boolean true, falseNo authentication_ type Choice none, keyed-sha1, meticulous-keyed-sha1No authentication_ key_ id Integer min: 1, max: 255 No authentication_ key String No authentication_ interop Boolean true, falseNo
Name Type Constraint Mandatory Default Value ra_bootfile_url String No suppress_ra Boolean true, falseNo suppress_ra_mtu Boolean true, falseNo managed_ config_ flag Boolean true, falseNo other_ config_ flag Boolean true, falseNo redirects Boolean true, falseNo dad_attempts Integer min: 0, max: 15 No dadns_interval Integer min: 1000, max: 6000 No delete_ adj_ on_ mac_ delete Boolean true, falseNo ra_ dns_ search_ list_ suppress Boolean true, falseNo ra_ dns_ server_ suppress Boolean true, falseNo hop_limit Integer min: 0, max: 255 No mac_extract Choice none, nud-phase, exclude-nud-phaseNo mtu Integer min: 1280, max: 65535 No ns_interval Integer min: 1000, max: 3600000 No ra_interval Integer min: 4, max: 1800 No ra_ interval_ minimum Integer min: 3, max: 1350 No ra_lifetime Integer min: 0, max: 9000 No reachable_time Integer min: 0, max: 3600000 No retrans_timer Integer min: 0, max: 4294967295 No ra_ route_ suppress Boolean true, falseNo router_ preference Choice low, medium, highNo
Name Type Constraint Mandatory Default Value id Integer min: 0, max: 4095 Yes address_family Choice ipv4, ipv6Yes authentication_ md5_ compatibility Boolean true, falseNo authentication_ md5_ key_ chain String No authentication_ md5_ key_ string String No authentication_ md5_ key_ string_ type Choice unencrypted, hiddenNo authentication_ md5_ timeout Integer min: 0, max: 32767 No authentication_ md5_ type Choice key-chain, key-stringNo authentication_ text String No authentication_ type Choice simple, md5No follow String No forwarding_ threshold_ lower Integer min: 0, max: 255 No timers_hello Integer min: 250, max: 254000 No timers_hold Integer min: 750, max: 255000 No ip IP No mac_address MAC No name String No preempt Boolean true, falseNo preempt_ delay_ minimum Integer min: 0, max: 3600 No preempt_ delay_ reload Integer min: 0, max: 3600 No preempt_ delay_ sync Integer min: 0, max: 3600 No priority Integer min: 0, max: 255 No
Example 1: L3 SVI for tenant gateway with anycast gateway in a VXLAN fabric
description : VRF-BLUE-Gateway
fabric_forwarding_mode : anycast-gateway
Example 2: L3 VNI transit SVI and tenant SVI for symmetric IRB routing
description : BLUE-Tenant-Gateway
fabric_forwarding_mode : anycast-gateway
description : GREEN-Tenant-Gateway
fabric_forwarding_mode : anycast-gateway
Example 3: SVI with dual-stack addressing, DHCP relay, ICMPv6 controls, and MTU configuration
description : Infrastructure-VLAN
dhcp_relay_information_option : true
- address : 2001:db8:10::1/64
Example 5: SVI with IP address tags
Example 6: SVI with EVPN multisite tracking for DCI
description : DCI-Transit-SVI
evpn_multisite_dci_tracking : true
Example 7: SVI mapping for inter-VLAN routing in a private VLAN domain
private_vlan_type : primary
private_vlan_association :
private_vlan_type : isolated
private_vlan_type : community
Example 8: SVI with anycast gateway proxy (requires NX-OS 10.6(3) or later)
anycast_gateway_mac : 2020.0000.00aa
description : VRF-BLUE-Proxy-Gateway
fabric_forwarding_mode : anycast-gateway
fabric_forwarding_mode_anycast_gateway_proxy : true
Example 9: SVI with EVPN ESI multihoming core tracking (requires NX-OS 10.6(1) or later)
description : Core-Transit-SVI
evpn_multihoming_core_tracking : true
Example 10: SVI with MPLS forwarding (mpls ip forwarding, requires feature mpls segment-routing or feature mpls l3vpn)
mpls_segment_routing : true
Example 1: L3 SVI for tenant gateway with anycast gateway in a VXLAN fabric
description : VRF-BLUE-Gateway
fabric_forwarding_mode : anycast-gw
Example 2: L3 VNI transit SVI and tenant SVI for symmetric IRB routing
description : BLUE-Tenant-Gateway
fabric_forwarding_mode : anycast-gw
description : GREEN-Tenant-Gateway
fabric_forwarding_mode : anycast-gw
Example 3: SVI with dual-stack addressing, OSPF, DHCP relay, ICMPv6 controls, and MTU configuration
description : Infrastructure-VLAN
dhcp_relay_information_option : true
- address : 2001:db8:10::1/64
Example 5: SVI with IP address tags
Example 6: SVI with EVPN multisite tracking for DCI
description : DCI-Transit-SVI
evpn_multisite_dci_tracking : true