networking , security , visio-stencils

Proxy – Router Debug Notes

July 1, 2022

Router proxy Technical Notes

show clock – shows date and time on router
show history – shows the history of your commands
show debug – shows all debugging that is currently enabled
no debug all – turns off all debugging
show users – shows users connected to router

enable password <give password here> – sets privileged mode password
enable secret <give password here> – sets encrypted privileged mode password

Setting Passwords on router
Here you will be able to learn how to set the password on a router.
enable secret <give password here> – set encrypted password for privileged access
enable password <give password here> – set password for privileged access (used when there is no enable secret and when using older software)

Setting the password for console access:
(config)#line console 0
(config-line)#login
(config-line)#password <put password here>

Set password for virtual terminal (telnet) access (password must be set to access router through telnet):
(config)#line vty 0 4
(config-line)#login
(config-line)#password <put password here>
Set password for auxiliary (modem) access:
(config)#line aux 0
(config-line)#login
(config-line)#password <put password here>

show ip route – view ip routing table

show arp – view arp cache; shows MAC address of connected routers

show access-lists
show ip access-lists

Apply standard IP access list to int eth 0:
access-list 1 deny 200.1.1.0 0.0.0.255
access-list 1 permit any
interface eth 0
ip access-group 1 in
Apply Extended IP access list to int eth 0:
access-list 100 deny tcp host 1.1.1.1 host 2.2.2.2 eq 23
access-list 100 deny tcp 3.3.3.0 0.0.0.255 any eq 80
interface eth 0

Ingress Route Filtering

Allow source address 165.21.0.0/16

permit source=A

else deny

permit source=B

else deny

Egress Route Filtering

Deny source address 165.21.0.0/16

Cisco’s Express Forwarding (CEF) technology for IP is a scalable, distributed, layer 3 switching solution designed to meet the future performance requirements of the Internet and Enterprise networks. It represents the latest advance in Cisco IOSTM switching capabilities that includes NetFlowTM Switching and Distributed Switching. CEF is also a key component of Cisco’s Tag Switching architecture.