profile route

Specifies the hardware route profile and maximum load-sharing path.

Syntax

profile route { default | enable | max-l2 | max-l3-host | max-route | maximum-paths | route-enhance }
profile route default
profile route enable { ipv6-max-prefix-64 | urpf }
[no] profile route enable { ipv6-max-prefix-64 | urpf }
profile route max-l2
profile route max-l3-hosts
profile route max-routes
profile route maximum-paths { 8 | 16 | 32 | 64 | 128 }
profile route route-enhance { hw_opt | multi_vrf | v4_fib_comp | v6_fib_comp }

Command Default

The default route profile is enabled.

Parameters

default
Specifies the default route profile. (Not supported on SLX 9640.)
enable { ipv6-max-prefix-64 | urpf }
  • ipv6-max-prefix-64 - Use this option to enable/disable 64-bit prefix only mode for IPv6 routes. When enabled, IPv6 routes with prefix lengths of > 64 bits will not be accepted. (Only supported on SLX 9150 and SLX 9250.)

  • urpf - Use this option to enable/disable urpf (Unicast Reserve Path Forwarding) support on the device. When this is enabled, it reduces the maximum route/host capacity on the SLX device by half. This configuration knob only enables/disables the hardware capability on the SLX device. rpf-mode configuration CLI needs to be configured on the L3 interface level for the uRPF function. (Only supported on SLX 9150 and SLX 9250.)

    Note

    Note

    Interface level uprf configuration will not have any impact without this profile being enabled.
max-l2

Sets a profile that maximizes the addition of L2-MACs over L3 Unicast Hosts or L3 Unicast Routes.

max-l3-host
Sets a profile that maximizes the addition of L3 Unicast Hosts over L3 Unicast Routes or L2-MACs.
max-routes
Sets a profile that maximizes the addition of L3 Unicast Routes over L3 Unicast Hosts or L2-MACs.
maximum-paths { 8 | 16 | 32 | 64 | 128 }
Configures the maximum number of load sharing paths for ECMP. Select from one of the available choices.
route-enhance
(supported only on SLX 9540) Specifies various route enhancement.
hw_opt
Specifies route enhancement for hardware optimization. Disabled by default.
multi_vrf
Specifies route enhancement for multiple VRF support (route scaling) on a non-default VRF.
v4_fib_comp
Specifies route enhancement for IPv4 FIB compression.
v6_fib_comp
Specifies route enhancement for IPv6 FIB compression.
{ off | on }
(supported only on SLX 9540) Disables or enables the specified route-enhance options. By default, all options are disabled.

Modes

Hardware configuration mode

Usage Guidelines

To display the default and current number of routes supported for your device, run the show hardware profile command.

Use the profile route default form of the command to restore the default setting.

Use the no profile route enable form of the command to disable the route forwarding features.

Note

Note

SLX 9540 and SLX 9640 support 64 maximum paths.
Important

Important

SLX 9640 supports only maximum-paths option under router profile.

Examples

The following example sets 64 as the maximum paths for ECMP.

device(config-hardware)# profile route maximum-paths 64
**Warning: To activate the new profile config, run 
'copy running-config startup-config' followed by 'reload system'.
**Warning: User should remove unsupported configurations.           

The following command enables preferring L2 MACs over L3 Unicast Routes or L3 Unicast Host.

device(config)# profile route max-l2
device(config)#               
The following example sets 128 as the maximum paths for ECMP.
SLX(config-hardware)# profile route maximum-paths 128
%Warning: To activate the new profile config, please run 'reload system'.
SLX(config-hardware)#