piszczynski>Aleks No edit summary |
piszczynski>Aleks No edit summary |
||
Line 25: | Line 25: | ||
*show ip dhcp conflict | *show ip dhcp conflict | ||
Show NAT translation table | |||
*show ip nat translations | |||
*show ip nat statistics | |||
Put into config mode | Put into config mode |
Revision as of 18:27, 17 April 2019
Cisco Routers Commands
Show MAC address table
- show mac-address-table
Show VLAN Information
- show vlan brief
Show IP address assignments and status of interfaces
- show ip interface brief
Show DHCP info
- show ip dhcp pool
Show which IP addresses are associated with which MAC addresses
- show ip dhcp binding
Show DHCP errors / IP conflicts
- show ip dhcp conflict
Show NAT translation table
- show ip nat translations
- show ip nat statistics
Put into config mode
- conf t
Create VLAN
- vlan <number>
- name <name>
- exit
Configure VLAN
- interface range Gig <port range>
- switchport mode access
- switchport access vlan <number>
- end
Show interfaces command - shows trunks
- show interfaces trunk
Configure Trunk
- interface gig <port>
- switchport trunk encapsulation dot1q
- switchport mode trunk
- end
Write command - write config to memory to keep changes after reboot
- wr
shutdown port
- conf t
- int
- g <port number>
- shutdown
Port mirroring
- monitor session <number of session> source int g <port>
- monitor session <number of session> destination int g <port>
Show IP Routes
- show iproute
Configure route
- conf t
- ip route <ipaddress of network> <subnet mask of network> <next hop - ipaddress of next router>