D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 5 Port-based Flow Control Configuration
5-9
Command Function
DES-7200(config-if)#
switchportport-security mac-address
mac-address vlan [vlan_id]
In the interface configuration mode, manually
configure the secure addresses on the port.
DES-7200(config-if)#
switchportport-security mac-address
sticky mac-address vlan [vlan_id]
In the interface configuration mode, manually
configure the Sticky secure addresses on the
port.
In the interface configuration mode, you can use the command no switchport
port-security mac-address mac-address to delete the secure address of this
interface. Use the command no switchport port security sticky mac-address
mac-address to delete the Sticky secure address of this interface.
The example below describes how to configure a secure address for interface
gigabitethernet 0/3: 00d0.f800.073c and bind it with an IP address: 192.168.12.202.
DES-7200# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
DES-7200(config)# interface gigabitethernet 0/3
DES-7200(config-if)# switchport mode access
DES-7200(config-if)# switchport port-security
DES-7200(config-if)# switchport port-security mac-address 00d0.f800.073c
ip-address 192.168.12.202
DES-7200(config-if)# end
The example below describes how to configure a secure address for the
Sticky-MAC-learning-enabled interface gigabitethernet 0/3: 00d0.f800.073c.
DES-7200# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
DES-7200(config)# interface gigabitethernet 0/3
DES-7200(config-if)# switchport mode access
DES-7200(config-if)# switchport port-security
DES-7200(config-if)# switchport port-security mac-address sticky
DES-7200(config-if)# switchport port-security mac-address sticky
00d0.f800.073c vlan 1
DES-7200(config-if)# end
5.3.2.5 Configuration of Secure
Address Binding on the Secure
Port
In the global configuration mode, add secure address binding for secure ports by using
the following commands:
Command Function