cisco_switch_ios_commands
Table of Contents
Cisco Catalyst 3750G - IOS commands
Network status
Disable telnet / enable ssh
sh ver #you need a k9 version image, update if needed ip domain-name yourdomain.com ... ...
Test cable
test cable-diagnostics tdr interface gigabitEthernet1/0/1 show cable-diagnostics tdr interface gigabitEthernet1/0/1
Interface status
show interface status
MAC address table
show mac-address-table
Ping
debug ip packet detail # don't do this on high traffic switch! ping 12.0.0.2 no debug ip packet detail
VLAN
Show VLANs
show run vlan
or
vlan database show
Create VLAN
enable conf t interface GigabitEthernet1/0/1 switchport access vlan 600 ctrl-z write
Name VLAN
interface vlan 800 description "text"
Delete VLAN
Put interfaces in VLAN 1, then…
enable conf t no vlan 600 ctrl-z write
You can also delete a range
no vlan 2-200
Configure IP-address on VLAN
enable conf t interface vlan 600 ip address 1.2.3.4 255.255.255.0 ctrl-z ip default gateway 1.2.3.1 ctrl-z write
Put interface in VLAN
enable conf t interface GigabitEthernet1/0/1 switchport host switchport access vlan 600 ctrl-z write
VTP
domain name
Change name to Null.
enable conf t vtp domain Null ctrl-z show vtp status write
VTP mode disabled
enable conf t vtp mode transparent ctrl-z show vtp status write
cisco_switch_ios_commands.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1