Am Example - Digitalchina Networks DCS-3950 series Manual

Table of Contents

Advertisement

Default: The MAC-IP pool is empty by default.
Usage Guide: This command is used to configure MAC-IP address mapping pool. Only if
the packets with source address that comply with the rule can be forwarded.
Example: Enable AM on ethernet interface 0/0/4 to allow packets from 192.1.1.2 with mac
address as 00-01-10-22-33-10 to be delivered..
Switch(Config)#am enable
Switch(Config)#interface Ethernet 0/0/4
Switch(Config-Ethernet0/0/4)#am port
Switch(Config-Ethernet0/0/4)#mac-ip pool 00-01-10-22-33-10 192.1.1.2
16.3.2.5 no am all
Command: no am all {ip-pool|mac-ip-pool}
Function: Remove all user configured in the MAC-IP mapping pool or the IP pool.
Parameters: ip-pool is the IP address pool. mac-ip-pool is the mac-ip mapping address
pool. all is the IP and MAC address pool.
Command mode: Global Mode.
Default: None. None is configued by default.
Usage Guide: This command can be used to clear the IP addresses or the IP-MAC
mappings in the address pool,
Example:
Switch(Config)#no am all mac-ip-pool

16.4 AM Example

Scenario 1
The configuration demand of the user is that the port 10 of the switch connects to the
10.1.1.0/8 segment, the administrator hopes that 8 IP addresses from 10.1.1.1 to 10.1.1.8
8 can be allowed to access Internet.
Change Configuration:
Enable AM function;
Configure IP pool;
The following is the configuration procedure:
Switch(Config)#am enable
Switch(Config)#interface ethernet 0/0/1
Switch(Config-Ethernet0/0/1)#am port
Switch(Config-Ethernet0/0/1)#am ip-pool 10.1.1.1 8
Switch(Config-Ethernet0/0/1)#exit
Switch(Config)#exit
Configuration result:
Switch#show am
DCS-3950 series Ethernet switch manual
286

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents