IOS commands: Interface configuration: (RIP)
Upcoming SlideShare
Loading in...5

IOS commands: Interface configuration: (RIP)






Total Views
Views on SlideShare
Embed Views



1 Embed 1 1



Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

IOS commands: Interface configuration: (RIP) IOS commands: Interface configuration: (RIP) Document Transcript

  • 1 IOS commands: Interface configuration: In the following example, 2 interfaces are configured: Router>enable Password: <> Router# configure terminal Router(config)# ip routing //Enables IP forwarding Router(config)# no ip routing //Disable IP forwarding and deletes routing table Router(config-if)# interface FastEthernet0/0 Router(config-if)# no shutdown //enable network interface Router(config-if)# ip address //sets the IP address Router(config-if)# interface FastEthernet0/1 Router(config-if)# no shutdown Router(config-if)# ip address Router(config-if)# interface Serial0/0 Router(config-if)# no shutdown Router(config-if)# ip address Router(config-if)# end FastEthernet0/0, Serial0/0, Serial0/1, Ethernet0/0 To displays the current configuration Show running-config (or write term) To displays the startup configuration Show config (or show config) To reboot and force it and reload the startup configuration: reload To save running –config as the starting config: copy run start To display the IOS version: Show version To display the IP configuration of the interfaces of the router and the status of IP forwarding: show protocols To enable IP routing ( or forwarding) from global config: ip routing To display the routing table: show ip route
  • 2 To display the routing cache: show ip cache To display information about all network interfaces: (show run will also display the int settings): show interfaces To display information about a specific network interface: show interfaces <interfacename> To display content of ARP table: Show ip arp Setting static routing table entries: To add as static routing table entry: Router(config)# ip route destination mask gateway-address To remove an entry from routing table: Router(config)# no ip route destination mask gateway-address NOTE: The destination is a NETWORK ADDRESS To configure RIP : In global configuration mode, enables the routing protocol RIP: router(config)# router rip Router(config-router)# To disable RIP: Router# No router rip In router configuration, the networks must be associated with RIP ( then RIP will send updates only on interfaces on which the network address has been associated with rip): Router(config-router)# network <NetAddress> To disable RIP from a specified network address: Router(config-router)# no network <NetAddress> To enable a debugging mode where the router displays a message for each received RIP packet: router# debug ip rip To disable that: router# no debug ip rip To set the interface in RIP passive mode (only income RIP packets are processed and no RIP packet is transmitted): Router(config-router)# passive-interface Interface-name
  • 3 To enable active mode on a passive interface: Router(config-router)# no passive-interface Interface-name To increase the metric ( ho-count) of incoming RIP packets that arrive on an interface by value ( a number): Router(config-router)# offset-list 0 in value Interface-name To increase the metric of outgoing RIP packets that are sent on interface by value: Router(config-router)# offset-list 0 out value Interface-name To disable the specified offset-list for incoming rip packets: Router(config-router)# no offset-list 0 in value Interface-name To disable the specified offset-list for outgoing rip packets: Router(config-router)# no offset-list 0 value Interface-name To set RIP version 2: Router(config-router)# Version 2 The timers in IP are : 1) update timer: time interval between the transmission of RIP update messages ( default : 30 seconds) 2) invalid timer: time interval after which a route, which has not been updated , is declared invalid ( default : 180 seconds) 3) hold-down timer: determines how long after a route has been updated as unavailable a router will wait before accepting a new route with a lower metric . This introduces a delay for processing incoming RIP packets with routing updates after a link failure ( default: 180 seconds) 4) flush timer: the amount of time that must pass before a route that has not been updated is removed from the routing table ( default:240 seconds). Ex: router(config-router)# timers basic 30 180 180 240 To set the router no to perform triggered updates when the next transmission is due in time t. If time t is set to the same value as the update timer, then triggered updates are disabled. In RIP, a triggered update means that a router sends a RIP packet with a routing update whenever one of its routing table entries changes. Flash-update-threshold t