5 commands for arp configuration, 1 arp, Ommands for – PLANET XGS3-24040 User Manual

Page 282: Onfiguration

Advertising
background image

17-40

no urpf enable

Function:

Enable the global URPF function.

Parameters:

None

Command mode:

Global Mode

Default:

The URPF protocol module is disabled by default.

Usage Guide:

None

Example:

Switch(config)#urpf enable

17.5 Commands for ARP Configuration
17.5.1 arp

Command:

arp <ip_address> <mac_address> {interface [ethernet] <portName>}

no arp <ip_address>

Function:

Configures a static ARP entry; the “no arp <ip_address>” command deletes a ARP entry of the

specified IP address.

Parameters:

<ip_address> is the IP address, at the same filed with interface address; <mac_address> is the

MAC address; ethernet stands for Ethernet port; <portName> for the name of layer2 port.

Default:

No static ARP entry is set by default.

Command mode:

VLAN Interface Mode

Usage Guide:

Static ARP entries can be configured in the switch.

Example:

Configuring static ARP for interface VLAN1.

Switch(Config-if-Vlan1)#arp 1.1.1.1 00-30-4f-f0-12-34 eth 1/2

Advertising