Cisco switch commands

Router> enable – switches to privileged EXEC level

Router# configure terminal – switches to global configuration level

Router(config)# enable secret cisco – configures router with an enable secret (global)

Router(config)# ip route 0.0.0.0

0.0.0.0 20.2.2.3 – configures a static IP route (global)

Router(config)# interface ethernet0 – switches to configure the ethernet0 interface

Router(config-if)# ip address

10.1.1.1 255.0.0.0 – configures an IP address on ethernet0 (interface)

Router(config-if)# no shutdown – activates ethernet0 (interface)

Router(config-if)# exit – exits back to global configuration level

Router(config)# interface serial0 – switches to configure the serial0 interface

Router(config-if)# ip address

20.2.2.2 255.0.0.0 – configures an IP address on serial0 (interface)

Router(config-if)# no shutdown – activates serial0 (interface)

Router(config-if)# exit – exits back to global configuration level

Router(config)# router rip – switches to configure RIP routing engine

Router(config-router)# network 10.0.0.0 – adds network 10.0.0.0 to RIP engine (routing engine)

Router(config-router)# network 20.0.0.0 – adds network 20.0.0.0 to RIP engine (routing engine)

Router(config-router)# exit – exits back to global configuration level

Router(config)# exit – exits out of configuration level

Router# copy running-config startup-

config – saves configuration into NVRAM

Router# disable – disables privileged EXEC level

Router> – indicates user is back to user EXEC level

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s