This is a notes page, extended with tips & tricks. This page is not really documentation, just stuff for me to remember. Sometimes things will get removed from these pages and turned into real documentation, sometimes not. You might find these notes to come in hand, maybe not. For me, it's just things I don't want to forget.
config t
int g0/12
enter your changes
end
show run (optional to check your changes)
write
| Commando | Beschrijving |
| conf t | config terminal ; configureer via de terminal |
| int g0/12 | interface g0/12 ; configureer gigabit interface van stack 0, poort 12 |
| end | klaar met wijzigen |
| write | schrijf de instellingen weg |
interface GigabitEthernet0/12
description server12
switchport access vlan 10
switchport mode access
spanning-tree portfast
spanning-tree bpdufilter enable
no shutdown
| Setting | Beschrijving |
| description server12 | Beschrijving van de functie van de poort |
| switchport access vlan 10 | Het vlan waar toegang toe moet zijn |
| switchport mode access | Er is maar één vlan waar toegang toe is |
| spanning-tree portfast | De poort zal snel opkomen ondanks spanning-tree |
| spanning-tree bpdufilter enable | Voorkomt broadcast packet storms |
| no shutdown | Zet de poort aan |
interface GigabitEthernet0/4
description blade4
switchport trunk native vlan 3999
switchport mode trunk
spanning-tree portfast trunk
spanning-tree bpdufilter enable
| Setting | Beschrijving |
| switchport trunk native vlan 3999 | Apparaten aangesloten op de poort die geen vlan tags hebben staan native in dit vlan (dus zonder tagging) |
| switchport mode trunk | De poort heeft toegang tot alle vlans, vlan tagging gebeurt door de aangesloten machine. |
| spanning-tree portfast trunk | De poort zal snel opkomen ondanks spanning-tree |
The 'show interfaces status' command will give you a quick overview of port configuration:
coreswitch#show interfaces status
Port Name Status Vlan Duplex Speed Type
Gi1/0/1 connected trunk a-full a-1000 10/100/1000BaseTX
Gi1/0/2 connected trunk a-full a-1000 10/100/1000BaseTX
Gi1/0/3 connected trunk a-full a-1000 10/100/1000BaseTX
Gi1/0/4 connected trunk a-full a-1000 10/100/1000BaseTX
Gi1/0/5 notconnect 18 auto auto 10/100/1000BaseTX
Gi1/0/6 notconnect 1 auto auto 10/100/1000BaseTX
Gi1/0/7 notconnect 1 auto auto 10/100/1000BaseTX
Gi1/0/8 notconnect 1 auto auto 10/100/1000BaseTX