123HELPDESK

IT professionals voor ondernemers

Cisco router quick reference PDF Afdrukken

Enter privileged mode by issuing the command 'enable', issue ' show ?' commands to see what they display.

Router#show interfaces
Router#show ip protocols
Router#show ip route
Router#show ip arp

To configure any feature of the router, you must enter configuration mode.
Router#config
Router(config)#

In configuration mode you can set options that apply system-wide, also refered to as "global configurations."
Until you hit ctrl-Z (or type exit until you reach parent mode) your command has not been put into affect.Configuring Cisco router interfaces:
media type slot#/port#

ExampleName#show interface ethernet 6/2

ExampleName#show interface serial 0

Here is an example of configuring a serial port with an IP address:
ExampleName#config
ExampleName(config)#interface serial 1/1
ExampleName(config-if)#ip address 192.168.155.2 255.255.255.0
ExampleName(config-if)#no shutdown
ExampleName(config-if)#ctrl-Z
ExampleName#

Then to verify configuration:
ExampleName#show interface serial 1/1

Router(config)#hostname ExampleName
ExampleName(config)#

Designate the DNS server to be used by the router:
ExampleName(config)#ip name-server aa.bb.cc.dd
ExampleName(config)#ctrl-Z
ExampleName#

Set the password for privileged mode.
ExampleName(config)#enable secret examplepassword
ExampleName(config)#ctrl-Z
ExampleName#

Physically connected and configured, but "administratively down.

ExampleName(config)#interface serial 1/1
ExampleName(config-if)#shutdown
ExampleName(config-if)#ctrl-Z
ExampleName#show interface serial 1/1

Configuring Cisco Routing:

IP routing is automatically enabled on Cisco routers.
ExampleName(config)#ip routing
ExampleName(config)#ctrl-Z

ExampleName#config
ExampleName(config)#ip route 172.16.0.0 255.255.255.0 192.168.150.1
ExampleName(config)#ctrl-Z
ExampleName#show ip route

RIP, Routing Information Protocol, on Cisco routers:
ExampleName#config
ExampleName(config)#router rip
ExampleName(config-router)#network aa.bb.cc.dd
ExampleName(config-router)#network ee.ff.gg.hh
ExampleName(config-router)#ctrl-Z
ExampleName#show ip protocols

Saving your Cisco Router configuration in NVRAM:
ExampleName#copy running-config startup-config

Your configuration is now saved to non-volatile RAM (NVRAM). Issue the command show startup-config.
ExampleName#show startup-config

When you need to return your router to that configuration, issue the command copy startup-config running-config.
ExampleName#copy startup-config running-config




 
< Vorige   Volgende >