5 no am all, 6 show am, No am all – PLANET WGSW-50040 User Manual

Page 368: Show am

Advertising
background image

Commands for Security Function Chapter 6 Commands for TACACS+

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.

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

24.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

Example:

Delete all configured IP address pools.

Switch(config)#no am all ip-pool

24.6 show am

Command:

show am [interface <interface-name>]

Advertising