To facilitate optimal east-west routing while supporting transparent virtual machine mobility, leaf switches are assigned the same gateway IP and MAC address for each locally defined subnet. Having the same gateway IP and MAC address helps ensure a default gateway presence across all leaf switches. It removes the suboptimal routing inefficiencies associated with separate centralized gateways.

This command allows you to assign subnets to VLANs and VXLANs.

Syntax   subnet-create

name name-string

Specify the name for the subnet.

scope local|cluster|fabric

Specify the scope of the subnet.

vnet vnet name 

Specify the VNET name to assign to the subnet.

vlan vlan id

Specify the VLAN to assign to the subnet.

vxlan vlan vxlan

Specify the VXLAN to assign to the subnet

network ip-address

Specify the IP address to assign to the subnet.

netmask netmask

Specify the netmask of the IP address.

vrf vrf name

Specify the VRF  to assign to the subnet.

anycast-gw-ip ip-addresss

Specify the IP address for the anycast gateway.

Defaults   None

Access   Network Administrator

History   Command introduced in Version 3.0.0.

Usage   Use this command to create a subnet.

Examples  To create a subnet, subnet-one, use the following syntax:

CLI network-admin@switch > subnet-create name subnet-one scope fabric vnet vnet-1 vlan 35 vxlan 1001 network netmask vrf vrf-1 anycast-gw-ip

See Also