Step-by-step login and configuration
Putty into the switch and log in with your Domain Admin account.
Type in:
Enable
Log in again with your Domain Admin account Commands:
- Show run - ‘to see all vlan’s available
- Config – ‘ goes to configuration mode
- Vlan 109 untagged <port #> - ‘ untaggs the port # you connect your computer to so it can boot from PXE vlan
- Sh int – (show interface; displays a full status of all ports and traffic on them)
- Sh ? – help
- Sh vlan x – displays all ports connected to that vlan
- sh vlan port # - displays all vlan's port # is part of
- Sh int brief – displays a ports table and status
- Sh trunk h7 – displays port H7 trunk configuration
- No trunk h7 – removes port h7 from trunk
- No untagged h7 - removes port h7 from vlan (if you untag a port it is only untagged on 1 port. You can tag a port with multiple VLANS) (by unt agging a port to a vlan it will remove it from other vlan automatically) - Untagged h7 –adds port h7 to vlan
- int 13 name BellTV (To name port 13 BellTV you'll have to type)
- sh cdp neighbors
- sh cdp neighbors detail (connect your putty to your router first)
sh cdp nei det - sh config
- sh int 7 - diplays port 7 configuration
- sh mac-address 7 - displays port 7 mac address
Note: To trunk or vlan ports you have to be in the config prompt.
Other network usefull cli commands:
netstat
net view
arp -a
tracert
tcpview.exe (from sysinternal)