VPRN Service Configuration Commands
Page 772 7210 SAS-X OS Services Guide
Static hosts may exist on the SAP even with anti-spoof and arp-populate (VPRN) features disabled.
When enabled, each feature has different requirements for static hosts.
anti-spoof — When enabled, this feature uses static and dynamic host information to populate entries
into an anti-spoof filter table. The anti-spoof filter entries generated will be of the same type as
specified in the anti-spoof type parameter. If the SAP anti-spoof filter is defined as mac, each
static host definition must specify a MAC address. If the SAP anti-spoof filter is defined as ip,
each static host definition must specify an IP address. If the SAP anti-spoof filter is defined as ip-
mac, each static host definition must specify both an IP address and MAC address. If definition
of a static host is attempted without the appropriate addresses specified for the enabled anti-spoof
filter, the static host definition will fail.
arp-populate — When enabled, this feature uses static and dynamic host information to populate
entries into the system’s ARP cache. This is only available on the VPRN service SAPs. Both a
MAC address and IP address are required to populate an ARP entry in the system. If definition of
a static host is attempted without both a MAC and IP address specified when arp -populate is
enabled, the static host definition will fail.
fdb-populate — This is an implicit feature that uses the static host definition as a static MAC in the
VPLS forwarding database. It cannot be enabled or disabled and has no effect on the ability to
create static hosts without a MAC address specified. When a MAC address is specified for a
static host, it will automatically be populated into the VPLS forwarding database associated with
the SAP on which the host is created. The static host MAC address will override any static MAC
entries using the same MAC and prevent dynamic learning of the MAC on another interface.
Existing static MAC entries with the same MAC address as a static host are marked as inactive
but not deleted. If all static hosts are removed from the SAP, the static MAC may be populated.
New static MAC definitions for the VPLS instance may be created while a static host exists
associated with the static MAC address.
The no form of the command removes a static entry from the system. The specified ip address and
mac address must match the host’s exact IP and MAC addresses as defined when it was created.
When a static host is removed from the SAP, the affect of its removal on the anti-spoof filter, ARP
cache or the VPLS forwarding database is also evaluated.
Default There are no default static entries.
Parameters ip ip-address — Specify this optional parameter when defining a static host. The IP address must be
specified for anti-spoof ip and anti-spoof ip-mac commands. Only one static host can be
configured on the SAP with a given IP address.
The following rules apply to configure static hosts using an IP address:
• Only one static host can be defined using a specific IP address.
• Defining a static host with the same IP address as a previous static host overwrites the previous
static host.
• If a static host has an IP address assigned, the MAC address for the host is optional (depending
on the features enabled on the SAP).
mac mac-address — Specify this optional parameter when defining a static host. The MAC address
must be specified for anti-spoof mac and anti-spoof ip-mac. Multiple static hosts may be
configured with the same MAC address given that each definition is distinguished by a unique IP
address. The following rules apply to configuring static hosts using a MAC address:
• Multiple static hosts may share the same MAC address.