====== Cisco Port Einstellungen ======
[[:start#computer|Home]] / [[network:switch|Back]]
----
===== Erstellen eines Access Ports mit VLAN =====
switch> enable
switch# conf t
switch(config)# interface gi1/0/1
# or
switch(config)# interface range gi1/0/1-20
switch(config-if)# switchport mode access
switch(config-if)# switchport access vlan ???
# Wenn Port mit einem Endgerät verbunden ist (Notwendig damit beispielsweise FOG funktioniert)!
spanning-tree portfast
===== Portzugriff begrenzen =====
switch> enable
switch# conf t
switch(config)# interface gi1/0/1
# or
switch(config)# interface range gi1/0/1-20
switch(config-if)# switchport mode access
switch(config-if)# switchport port-security
switch(config-if)# switchport port-security mac-address 00:00:00:00:00:00
switch(config-if)# switchport port-security violation {protec | restrict | shutdown}
switch# show port-security interface gi1/0/1
switch# show port-security address
----
[[:start#computer|Home]] / [[network:switch|Back]]