Asante Technologies 35516 Set Metrics for Redistributed Routes, Set Administrative Distance

Page 46

Router(config)# route-map

map-tag permit 10

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)#

One or more match and set commands typically follow a route-mapcommand. If there are no match commands, then everything matches. If there are no set commands, nothing is done. Therefore, you need at least one match or set command. You can enter match commands into a route map in any order. If the match criteria are met, and permit is on, then the route is redistributed or controlled as defined by the set commands and route-map processing is complete. If the match criteria are met, and deny is on, then the route is not redistributed or controlled and route-map processing is complete. To define conditions for redistributing routes from a source route entry into the RIP tables, perform at least one of the following tasks in route-map configuration mode:

Command

Purpose

match interface interface-name

Match the specified interface.

match ip address {access-list-

Match a standard access list or prefix list.

name prefix-listprefix-list-name}

 

match ip next-hop access-list-name

Match a next-hop router address passed by one of the

 

access lists specified.

match metric metric-value

Match the specified metric.

set ip next-hop ip-address

Specify the address of the next hop.

set metric metric-value

Set the metric value to give the redistributed routes.

5.4.5 Set Metrics for Redistributed Routes

The metrics of one routing protocol do not necessarily translate into the metrics of another. For example, the RIP metric is a hop count and the OSPF metric is a combination of five quantities.

In such situations, an artificial metric is assigned to the redistributed route. Because of this unavoidable tampering with dynamic information, carelessly exchanging routing information between different routing protocols can create routing loops, which can seriously degrade network operation.

To use the current routing protocol’s metric value for all redistributed routes, enter the following command in router configuration mode.

Command

Purpose

default-metric metric-value

Cause the current routing protocol to use the same metric value

 

for all redistributed routes.

Note: The metric value range is very large for compatibility with other protocols (0-2494967295).

For RIP, valid metric value is from 1 to 16.

5.4.6 Set Administrative Distance

The administrative distance is a value that rates the trustworthiness of a routing information source, such as an individual router or a group of routers. In a large network, some routing protocols and some routers can be more reliable than others as sources of routing information. Also, when multiple routing processes are running in the same router for IP, it is possible for the same route to be advertised by more than one routing

46

Image 46
Contents IntraCore 35516 Series IntraCore 35516 Series Technical SupportTable of Contents Page Features IntroductionPackage Contents LEDsFront and Back Panel Descriptions GbicManagement and Configuration Console InterfaceSafety Overview Hardware Installation and SetupInstallation Overview Recommended Installation ToolsEnvironmental Requirements Installation into an Equipment RackPower Requirements Cooling and AirflowInstalling a Gbic Gigabit Interface ConvertersGbic Care and Handling Installing the Optional Emergency Power SupplyRemoving a Gbic System Information System up since 103443 Fri Feb 07Connecting to the Network Connecting Power1 10/100/1000BaseT Ports Cabling Procedures Gigabit Ethernet Ports Cabling Procedures SetupConnecting to a Console User Access Verification Password Specifies an Unencrypted line password will follow Setting PasswordsUnencrypted cleartext line password Specifies a Hidden line password will followSetting a Default IP Gateway Address Configuring an IP AddressRouterconfig-if-veth1# System Boot Parameters Restoring Factory DefaultsRouterconfig# boot system flash bank1bank2 Access Each Command Mode Understanding the Command Line Interface CLIUser Top User Exec Mode Command Show ? PurposeRouter enable Password Router# Privileged Top Privileged Exec ModeCommand Purpose Command Purpose Router# configure terminal Global Configuration ModeCommand Exit end Ctrl-Z Purpose Interface Configuration Mode Router Configuration Mode Route-Map Configuration ModeAdvanced Features Supported within the Command Mode Command Help PurposeRouterconfig# routed rip Invalid input detected at marker Checking Command SyntaxRouterconfig# hostname ? Word This systems network name Routerconfig# route Ambiguous command. Routerconfig#Using Command-Line Editing Features and Shortcuts Using CLI Command HistoryUsing the No and Default Forms of Commands Routerconfig# router Command incomplete. Routerconfig#Router# confTab Router# configure Moving Around on the Command LineCompleting a Partial Command Name Keystrokes PurposeDeleting Entries Editing Command Lines that WrapRouter# co? configure copy Router# co Keystrokes Purpose Press the Delete or BackspaceTransposing Mistyped Characters Redisplaying the Current Command LineScrolling Down a Line or a Screen Controlling CapitalizationPassword Passwords and Privileges CommandsEnable Password Routerconfig-line# password AsanteService Password-Encryption Changing the Password Managing the System and Configuration FilesSetting the System Clock Managing the SystemTrace Packet Routes Enable the System LogDisplaying the Operating Configuration Test Connections with Ping TestsConfiguration to Nvram Managing Configuration FilesConfiguring from the Terminal Routerconfig# hostname newname Newnameconfig# endCopying Configuration Files to a Network Server Running-config Configuring Snmp and Spanning TreeConfiguring Snmp Support Startup-configRouterconfig# duplicate-ip detect Configuring Spanning Tree Protocol STPCreate or Modify Access Control for Snmp Community Disable the Snmp ProtocolMaximum Age Forward TimeHello Time PriorityPort Priority Routerconfig# mac-address-table aging-timeMAC Address Table Port Path CostAssign IP Addresses to Network Interfaces Configuring IPConfiguring IP Addressing Class Address or Range StatusAssign Multiple IP Addresses to Network Interfaces Command PurposeCidr Prefix Class C Equivalent Host Addresses Define a Static ARP Cache Establish Address ResolutionConfiguring IP Routing SecondaryConfiguring Static Routes Route Source Default DistanceAllow Unicast Updates for RIP Configuring RIPEnable RIP Neighbor ip-addressSpecify a RIP Version Command Purpose Route-map map-tagdeny permit sequenceRedistribute Routing Information Set Administrative Distance Set Metrics for Redistributed RoutesSuppress Routing Updates through an Interface Generate a Default RouteFiltering Routing Information Manage Authentication Keys Adjust TimersEnable or Disable Split-horizon Command Purpose Offset-list access-list-name in outConfiguring IP Multicast Routing Monitor and Maintain RIPModifying the Igmp Host-Query Message Interval Configuring IgmpPurpose Ip igmp query-interval 1-65535 seconds Changing the Igmp Version CommandConfiguring the Router as a Statically Connected Member SecondsConfiguring Dvmrp Nbr-timeout 35-8000 secondsDefault value 200 seconds Default value 180 secondsCommand Purpose Route-expire-time 20-4000 seconds Report-intervalUsing Access Lists Create a Standard Access ListCreate an Expanded Access List Destination address to match. e.gOperator equal to Creating an Access List with a NameApplying an Access List to an Interface Operator greater thenConfigure ABR Type Configuring OspfEnable Ospf Command Purpose Router ospf StepConfigure Ospf Interface Parameters Configure CompatibilityConfigure Ospf Network Type Configure Ospf Not So Stubby Area Nssa Configure Ospf for Non-broadcast NetworksConfigure Area Parameters Command Purpose Neighbor ip-address priority numberCreate Virtual Links Configure Route Summarization between Ospf AreasCommand Purpose Area area-idvirtual-link router-idhello Not-advertisedRefresh Timer Configuration Control Default MetricsConfigure Route Calculation Timers Redistribute Routes into OspfCommand Purpose Distance ospf external distance1 inter-area Change the Ospf Administrative DistancesPrevent Routes from being Advertised in Routing Updates Suppress Routes on an InterfaceRouter ip-address NameVrrp Configuration Virtual Router Redundancy Protocol VrrpMonitoring and Maintaining the Network Configuring Icmp Router Discovery Protocol IrdpEnable Irdp Processing Change Irdp ParametersShow ip prefix-list prefix-list-name Command Purpose Show arp interfaceShow access-lists access-list Show ip irdpVlan Configuration Creating or Modifying a VlanRouterconfig# no vlan Routerconfig# exit Router# show vlan Routerconfig# interface veth2 vlan Routerconfig-if-veth2#Deleting a Vlan Vlan Port Membership Modes Static AccessTrunk Ieee 802.1Q 3 Dot1q Tunnel Command Purpose Routerconfig# vlan dot1q tag nativeTrunk allowed vlan add all except Mode dot1q-tunnel Appendix A. Basic Troubleshooting Problem Possible SolutionsTechnical Support and Warranty Appendix B. SpecificationsPhysical Characteristics Standards ComplianceFCC Compliance Statement Important Safety Instructions Appendix C. FCC Compliance and Warranty StatementsIntraCare Warranty Statement Page Pin Number Signal Name Appendix D. Console Port Pin OutsAppendix E. Online Warranty Registration