Дерево страниц
Перейти к концу метаданных
Переход к началу метаданных

ip arp inspection enable

This command in the CONFIG mode enables global control of ARP (ARP Inspection feature) on the device.

The use of a negative form (no) of the command disables the ARP Inspection feature.

Syntax     

[no] ip arp inspection enable

Parameters

The command contains no arguments.

Command mode

CONFIG

Example

ma4000(config)# ip arp inspection enable	

ip arp inspection trusted

This command adds the configured interface to the list of 'trusted' when using ARP control. The ARP traffic of the 'trusted' interface is considered safe and is not monitored.

The use of the negative (no) form of the command removes interface from the 'trusted' list and makes it 'untrusted'.

Syntax     

[no] ip arp inspection trusted

Parameters

The command contains no arguments.

Command mode

FRONT-PORT

PORT-CHANNEL

SLOT-CHANNEL

SLOT-CHANNEL

PLC-PON-PORT

PLC-SLOT-CHANNEL

PLC-FRONT-PORT

Example

ma4000(config-front-port-2/5)# ip arp inspection trusted	

ip arp inspection static-table

This command adds new IP + MAC + VLAN compliance to static table for ARP inspection.

The use of the negative (no) form of the command removes an existing entry from the static Arp inspection table..

Syntax     

ip arp inspection static-table ip <IP-ADDRESS> mac-address <MAC-ADDRESS> vlan <VID>
no ip arp inspection static-table ip <IP-ADDRESS>

Parameters

<IP-ADDRESS> – IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255]. For a command with the prefix (no), only this parameter is sufficient;

<MAC-ADDRESS> – subscriber terminal MAC address, defined as XX:XX:XX:XX:XX:XX, where each part takes values of [00-FF];

<VID> – VLAN ID, in which to make the assignment. May take values [1..4094, ignore]. The 'ignore' value corresponds to any VLAN.

Command mode

CONFIG

FRONT-PORT

PORT-CHANNEL

SLOT-CHANNEL

SLOT-CHANNEL

PLC-PON-PORT

PLC-SLOT-CHANNEL

PLC-FRONT-PORT

Example

ma4000(config)# ip arp inspection static-table ip 192.168.1.2 mac-address 00:22:68:77:D0:94 vlan ignore

show ip arp inspection

ARP Inspection function configuration view command.

Syntax

show ip arp inspection

Parameters

The command contains no arguments.

Command mode

ROOT

Example

ma4000# show ip arp inspection 
Arp inspection settings:
Global mode: disabled
Per VLAN enable:
  None

Trusted ports:
  front-port 1/0, front-port 1/1, front-port 1/2, front-port 1/3, front-port 1/4
  front-port 1/5, front-port 2/0, front-port 2/1, front-port 2/2, front-port 2/3
  front-port 2/4, front-port 2/5

   Static mapping
   ~~~~~~~~~~~~~~
IP                 MAC                    VID      IFACE                       
----------------   --------------------   ------   -------------------------   

show arp

Command to view the ARP table.

ip arp inspection should be enabled.

Syntax

show arp

Parameters

The command contains no arguments.

Command mode

ROOT

Example

ma4000# show arp

show slot <SLOT> ip arp inspection

ARP Inspection function configuration view command for PLC8 line board.

Syntax

show slot <SLOT> ip arp inspection

Parameters

<SLOT> – PLC8 module number, may take values (0..15). You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - ).

Command mode

ROOT

Example

ma4000# show slot 6 ip arp inspection 
Arp inspection settings:
Global mode: disabled
Per VLAN enable: 0
  None

Trusted ports: 1
  plc-front-port 6/0

   Static mapping
   ~~~~~~~~~~~~~~
IP                 MAC                    VID      IFACE                       
----------------   --------------------   ------   -------------------------   

show slot <SLOT> ip arp table

ARP table view command for PLC8 line board.

ip arp inspection should be enabled.

Syntax

show slot <SLOT> ip arp table

Parameters

<SLOT> – PLC8 module number, may take values (0..15). You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - ).

Command mode

ROOT

Example

test1_3_2# show slot 6 ip arp table 
ARP table is empty
  • Нет меток