3.3.2 Router Configuration Mode

Router configuration commands are used to configure an IP routing protocol and always follow a router command. To list the available router configuration keywords, enter the router command followed by a space and a question mark (?) at the global configuration prompt.

Router(config)# router ?

ospf

Open Shortest Path First

rip

Routing Information Protocol (RIP)

Router(config)# router

In the following example, the router is configured to support the Routing Information Protocol (RIP). The new prompt is Router(config-rip-router)#.

Router(config)# router rip

Router(config-rip-router)# ?

default-information

Control distribution of default route

default-metric

Set a metric of redistribute routes

distance

Administrative distance

distribute-list

Filter networks in routing updates

end

End current mode and change to enable mode

exit

Exit current mode and down to previous mode

help

Description of the interactive help system

neighbor

Specify a neighbor router

network

Enable routing on an IP network

no

Negate a command or set its defaults

offset-list

Modify RIP metric

passive-interface

Suppress routing updates on an interface

quit

Exit current mode and down to previous mode

redistribute

Redistribute information from another routing protocol

timers

Adjust routing timers

version

Set routing protocol version

Router(config-rip-router)#

To exit router configuration mode and return to global configuration mode, enter the exit command. To exit configuration mode and return to privileged EXEC mode, use the end command or press Ctrl-Z.

3.3.3 Route-Map Configuration Mode

Use the route-map configuration mode to configure the routing table and the source and destination information. To access and list the route-map configuration commands, enter route-mapcommand at the global configuration mode.

In the following example, a route map named mymap is configured. The new prompt is Router(config-route- map)#. Enter a question mark (?) to list route-mapconfiguration commands.

Router(config)# route-map

mymap permit 30

Router(config-route-map)#

?

end

End current mode and change to enable mode

exit

Exit current mode and down to previous mode

help

Description of the interactive help system

match

Match values from routing table

no

Negate a command or set its defaults

on-match

Exit policy on matches

quit

Exit current mode and down to previous mode

route-map

Create route-map or enter route-map command mode

set

Set values in destination routing protocol

Router(config-route-map)#

To exit route-map configuration mode and return to global configuration mode, enter the exit command. To exit configuration mode and return to privileged EXEC mode, use the end command or press Ctrl-Z.

23

Page 23
Image 23
Asante Technologies 35516 user manual Router Configuration Mode, Route-Map Configuration Mode