Zl3d, Name, Synopsis – Znyx Networks bh5700 User Manual

Page 223: Description, Options

Advertising
background image

zl3d

NAME

zl3d - Layer 3 daemon for the OpenArchitect switch.

SYNOPSIS

zl3d [-h <host_name>] [-t <msecs>] [-b] [-e] [-l] [-n] [-d <level>]
<iface ..>

DESCRIPTION

zl3d is run after the network interfaces are created and initialized with zconfig, and started
with ifconfig(1M).zl3d listens for Netlink messages from the kernel and monitors the
Linux network routing tables for routing updates. When an update occurs, if appropriate, zl3d
updates the corresponding routing tables in the silicon so that Layer 3 forwarding is done in the
switch at line speed. zl3d also ages the switch host route entries.

zl3d attempts to keep the Linux route cache and the switch host route table consistent. When a
host route table entry is in use, zl3d updates the Linux route cache. Host route table entries are
deleted when Linux removes the corresponding entry from the route cache. Similarly, network
route entries are removed when the corresponding Linux FIB table entry is deleted.

OPTIONS

-h <hostname>

Specifies which host to monitor. By default,

zl3d monitors the OpenArchitect switch that is locally connected
(i.e., the one that is on the local PCI bus).

-t <msec>

Sets the timeout value. By default, zl3d wakes up

every 15 seconds (15000 ms) to look for updates to the Linux
routing tables and to do aging processing of route table entries
on the switch.

-b

Do not background the zl3d process.

-e

Enables additions of a default route to the L3 network route

table.

-l

Leave hardware tables intact on exit.

-n

Writes the proc table entry. zl3d writes 3/2 of it’s

timeout value to

/proc/net/sys/ipv4/route/route_expires

. The Linux kernel uses

this value as an expiration time for cache routes updated by
zl3d.

-d <level> Sets the level of debugging output required by zl3d.
The default level is one (1). Setting the debug level higher

Ethernet Switch Blade User's Guide

release 3.2.2j

page 223

Advertising