Switchport Port-Security; Switchport Private-Vlan - Planet Networking & Communication GS-2240-48T4X Command Manual

Gigabit ethernet l2 web smart switch with 10gbe uplink
Table of Contents

Advertisement

4.3.5.43 switchport port-security

Command:
switchport port-security {mac-address <mac> vlan <vlan id> | maximum <1-1024>}
mac-address
Secure MAC address
<mac>
MAC address in HHHH.HHHH.HHHH format
vlan
VLAN.
<vlan id>
VLAN ID
maximum
Max secure addresses
<1-1024>
Maximum addresses
Default:
N/A
Usage Guide:
To configure switchport port-security mode for specific interface
Example:
To configure switchport port-security mode (2 entries) for ge4
Switch# configure terminal
Switch (config)# interface ge4
Switch (config-ge4) # switchport port-security maximum 2

4.3.5.44 switchport private-vlan

Command:
switchport private-vlan [host-association | mapping] <vlan_list> add <vlan_list>
host-association
Host-association
mapping
Mapping
add
Switching mode characteristics
<vlan_list>
VLAN IDs
Default:
N/A
Usage Guide:
To configure private VLAN host-association for specific interface
Example:
To configure private VLAN host-association (Primary VLAN: 4, Secondary VLAN: 5, host mode) for ge4
-44-
Command Guide

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gs-2240-24t4x

Table of Contents