configure auto-peering one-config iproute

configure auto-peering one-config iproute [add | delete] [host | hostv6] [[ipaddress {netmask} | ipNetmask] gateway | ipNetmaskv6 gatewayv6] {vr vrname }

Description

Configures a list of OneConfig dynamic Auto-peering static routes.

Syntax Description

auto-peering Specifies Auto-peering.
one-config Specifies changing the BGP Auto-peering OneConfig configuration.
iproute Specifies configuring the dynamic IP route configured when the host IP address attaches to the device.
add Adds route.
delete Deletes routes.
host Specifies the IPv4 host address.
hostv6 Specifies the IPv6 host address.
ipaddress Specifies the IPv4 address.
netmask Specifies the IPv4 netmask.
ipNetmask Specifies the IPv4 netmask/mask.
gateway Specifies the IPv4 gateway address.
ipNetmaskv6 Specifies the IPv6 address/netmask.
\gatewayv6 Specifies the IPv6 gateway address.
vr Specifies selecting the virtual router (VR) If you do not specify a VR or VRF, the current VR context is used.
vrname Specifies the VR name.

Default

If you do not specify a VR or VRF, the current VR context is used.

Usage Guidelines

The switch holds the static route in the dynamic database until the host attaches to the switch. The routes are applied in the route table when the host IP address is discovered on a local access port. They are removed when the host is no longer connected to the device. To see if the host routes are properly installed, use the show iproute {ipv4} {priority | vlan vlan_name | permanent | ip_address netmask | summary} {multicast | unicast} {vr vrname}} command.

Example

The following example adds the static IP route for host 50.1.102.101, IP/netmask 60.1.1.0/24, gateway 50.1.102.101 on VR "red":

# configure auto-peering oneconfig iproute add 50.1.102.101 60.1.1.0/24 50.1.102.101 vr red 

History

This command was first available in ExtremeXOS 31.1.

Platform Availability

This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.