4 am mac-ip-pool, 5 no am all, 6 show am – PLANET XGS3-24040 User Manual

Page 774: Am mac, Pool, No am all, Show am

Advertising
background image


44-2

Default: IP address pool is empty.

Command Mode: Port Mode.

Usage Guide: None.

Example: Configure that interface 1/3 of the switch will forward data packets from an IP address which is

one of 10 consecutive IP addresses starting from 10.10.10.1.

Switch(Config-If-Ethernet 1/3)#am ip-pool 10.10.10.1 10

44.4 am mac-ip-pool

Command: am mac-ip-pool <mac-address> < ip-address>

no am mac-ip-pool <mac-address> < ip-address>

Function: Set the AM MAC-IP address of the interface, allow/deny the IP messages or APR messages

from a source IP within that segment to be forwarded via the interface.

Parameter: <mac-address> is the source MAC address; < ip-address> is the source IP address of the

packets, which is a 32 bit binary number represented in four decimal numbers.

Default: MAC-IP address pool is empty.

Command Mode: Port Mode.

Usage Guide: None.

Example: Configure that the interface 1/3 of the switch will allow data packets with a source MAC

address of 11-22-22-11-11-11 and a source IP address of 10.10.10.1 to be forwarded.

Switch(Config-If-Ethernet1/3)#am mac-ip-pool 11-22-22-11-11-11 10.10.10.1

44.5 no am all

Command: no am all [ip-pool | mac-ip-pool]

Function: Delete MAC-IP address pool or IP address pool or both pools configured by all users.

Parameters: ip-pool is the IP address pool; mac-ip-pool is the MAC-IP address pool; no parameter

means both address pools.

Default: Both address pools are empty at the beginning.

Command Mode: Global Mode

Usage Guide: None.

Example: Delete all configured IP address pools.

Switch(config)#no am all ip-pool

44.6 show am

Command: show am [interface <interface-name>]

Function: Display the configured AM entries.

Parameters: <interface-name> is the name of the interface of which the configuration information will

be displayed. No parameter means to display the AM configuration information of all interfaces.

Command Mode: Admin and Configuration Mode.

Example: Display all configured AM entries.

Advertising