116 CHAPTER 5: USING NETWORK PROTOCOL COMMANDS
By default, the access management trap is disabled.
Example
To enable the access management trap, enter the following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]am trap enable
display am Syntax
display am [ interface-list ]
View
Any view
Parameters
interface-list Enter to display the access management information of the
specified port in the { { interface_type interface_num | interface_name }
[ to { interface_type interface_num | interface_name } ] } &<1-10>
format.
interface_name Enter the port name, represented with interface_name=
interface_type interface_num.
interface_type is the port type and interface_num is the port number.
&<1-10> indicates the preceding parameter can be input up to 10 times.
Description
Use the display am command to view the current access management
configurations on part or all of the ports.
Use the display am command to view the status of access management function
and configuration of IP address pool.
Example
To display the access management configurations on Ethernet0/1 and
Ethernet0/2.
<4500>display am Ethernet0/1 Ethernet0/2
Ethernet0/1
Status : disabled
IP Pools : (NULL)
Isolate Ports: Ethernet0/2
Ethernet0/2
Status : disabled
IP Pools : (NULL)
Isolate Ports: Ethernet0/1