Asante Technologies 35516 user manual Configuring Static Routes, Route Source Default Distance

Page 43

Interior gateway protocols are used to exchange routing information among routers in an autonomous network, such as a company’s LAN. A routing protocol determines how routers in a network share and update information and report changes, enabling a network to be dynamic instead of static. All IP interior gateway protocols must be specified with a list of associated networks before routing activities can begin on the switch. The IC35516 supports the Open Shortest Path First (OSPF) and Routing Information Protocol (RIP) as interior gateway protocols.

Exterior protocols are used to exchange routing information between networks that do not share a common administration. The supported exterior gateway protocol is Border Gateway Protocol (BGP).

With any of the IP routing protocols, the user must create the routing process, associate networks with the routing process, and customize the routing protocol for a particular network. In order to configure the IP routing protocols, perform the following tasks:

Configure the Static Routes

Configure RIP

Configure OSPF

5.3Configuring Static Routes

Static routes are user-defined routes that cause packets that are moving between a source and a destination to take a specified path. Static routes can be important if the switch cannot build a route to a particular destination.

To configure static routes, perform the following task in global configuration mode.

Command

Purpose

ip route {prefix mask prefix-length}

Establish a static route.

address interface} [<1-255>]

 

Note: The numeric value is the static administrative distance. Enter a number between 1 and 255. See Table 5-3 for a list of default administrative distances for common routing protocols.

The software retains the configured static routes until they are removed, using the no ip route global configuration command. However, the user can override the static routes with dynamic routing information through the assignment of administrative distance values. Each dynamic routing protocol has a default administrative distance, as listed in Table 5-3. If you would like a static route to be overridden by information from a dynamic routing protocol, you will need to ensure that the administrative distance of the static route is higher than that of the dynamic protocol, since the lower value will be used. For example, if a route is known both by OSPF and RIP, the OSPF route will be used, since its default administrative distance is lower than RIP.

Note: Static routes that point to an interface will not be advertised via RIP, nor by other dynamic routing protocols, unless a redistribute static command is specified for these protocols.

When an interface goes down, all static routes through that interface are removed from the IP routing table. Also, when the software can no longer find a valid next hop for the specified forwarding router's address in a static route, the static route is removed from the IP routing table.

Route Source

Default Distance

Connected interface

0

Static route

1

External BGP

20

OSPF

110

RIP

120

Internal BGP

200

Unknown

255

Table 5-3: Dynamic Routing Protocol Default Administrative Distances

43

Image 43
Contents IntraCore 35516 Series Technical Support IntraCore 35516 SeriesTable of Contents Page Introduction FeaturesLEDs Package ContentsGbic Front and Back Panel DescriptionsConsole Interface Management and ConfigurationRecommended Installation Tools Hardware Installation and SetupInstallation Overview Safety OverviewCooling and Airflow Installation into an Equipment RackPower Requirements Environmental RequirementsGigabit Interface Converters Installing a GbicSystem Information System up since 103443 Fri Feb 07 Installing the Optional Emergency Power SupplyRemoving a Gbic Gbic Care and HandlingConnecting 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 a Hidden line password will follow Setting PasswordsUnencrypted cleartext line password Specifies an Unencrypted 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 Command Show ? Purpose Understanding the Command Line Interface CLIUser Top User Exec Mode Access Each Command ModeRouter 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 Route-Map Configuration Mode Router Configuration ModeCommand Help Purpose Advanced Features Supported within the Command ModeRouterconfig# route Ambiguous command. Routerconfig# Checking Command SyntaxRouterconfig# hostname ? Word This systems network name Routerconfig# routed rip Invalid input detected at markerRouterconfig# router Command incomplete. Routerconfig# Using CLI Command HistoryUsing the No and Default Forms of Commands Using Command-Line Editing Features and ShortcutsKeystrokes Purpose Moving Around on the Command LineCompleting a Partial Command Name Router# confTab Router# configureKeystrokes Purpose Press the Delete or Backspace Editing Command Lines that WrapRouter# co? configure copy Router# co Deleting EntriesControlling Capitalization Redisplaying the Current Command LineScrolling Down a Line or a Screen Transposing Mistyped CharactersRouterconfig-line# password Asante Passwords and Privileges CommandsEnable Password PasswordService Password-Encryption Managing the System Managing the System and Configuration FilesSetting the System Clock Changing the PasswordTest Connections with Ping Tests Enable the System LogDisplaying the Operating Configuration Trace Packet RoutesRouterconfig# hostname newname Newnameconfig# end Managing Configuration FilesConfiguring from the Terminal Configuration to NvramCopying Configuration Files to a Network Server Startup-config Configuring Snmp and Spanning TreeConfiguring Snmp Support Running-configDisable the Snmp Protocol Configuring Spanning Tree Protocol STPCreate or Modify Access Control for Snmp Community Routerconfig# duplicate-ip detectPriority Forward TimeHello Time Maximum AgePort Path Cost Routerconfig# mac-address-table aging-timeMAC Address Table Port PriorityClass Address or Range Status Configuring IPConfiguring IP Addressing Assign IP Addresses to Network InterfacesAssign Multiple IP Addresses to Network Interfaces Command PurposeCidr Prefix Class C Equivalent Host Addresses Secondary Establish Address ResolutionConfiguring IP Routing Define a Static ARP CacheRoute Source Default Distance Configuring Static RoutesNeighbor ip-address Configuring RIPEnable RIP Allow Unicast Updates for RIPSpecify a RIP Version Command Purpose Route-map map-tagdeny permit sequenceRedistribute Routing Information Set Metrics for Redistributed Routes Set Administrative DistanceSuppress Routing Updates through an Interface Generate a Default RouteFiltering Routing Information Command Purpose Offset-list access-list-name in out Adjust TimersEnable or Disable Split-horizon Manage Authentication KeysMonitor and Maintain RIP Configuring IP Multicast RoutingModifying the Igmp Host-Query Message Interval Configuring IgmpPurpose Ip igmp query-interval 1-65535 seconds Seconds CommandConfiguring the Router as a Statically Connected Member Changing the Igmp VersionNbr-timeout 35-8000 seconds Configuring DvmrpReport-interval Default value 180 secondsCommand Purpose Route-expire-time 20-4000 seconds Default value 200 secondsCreate a Standard Access List Using Access ListsDestination address to match. e.g Create an Expanded Access ListOperator greater then Creating an Access List with a NameApplying an Access List to an Interface Operator equal toCommand Purpose Router ospf Step Configuring OspfEnable Ospf Configure ABR TypeConfigure Ospf Interface Parameters Configure CompatibilityConfigure Ospf Network Type Command Purpose Neighbor ip-address priority number Configure Ospf for Non-broadcast NetworksConfigure Area Parameters Configure Ospf Not So Stubby Area NssaNot-advertised Configure Route Summarization between Ospf AreasCommand Purpose Area area-idvirtual-link router-idhello Create Virtual LinksRedistribute Routes into Ospf Control Default MetricsConfigure Route Calculation Timers Refresh Timer ConfigurationSuppress Routes on an Interface Change the Ospf Administrative DistancesPrevent Routes from being Advertised in Routing Updates Command Purpose Distance ospf external distance1 inter-areaName Router ip-addressVirtual Router Redundancy Protocol Vrrp Vrrp ConfigurationChange Irdp Parameters Configuring Icmp Router Discovery Protocol IrdpEnable Irdp Processing Monitoring and Maintaining the NetworkShow ip irdp Command Purpose Show arp interfaceShow access-lists access-list Show ip prefix-list prefix-list-nameCreating or Modifying a Vlan Vlan ConfigurationRouterconfig# 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 Problem Possible Solutions Appendix A. Basic TroubleshootingStandards Compliance Appendix B. SpecificationsPhysical Characteristics Technical Support and WarrantyFCC Compliance Statement Important Safety Instructions Appendix C. FCC Compliance and Warranty StatementsIntraCare Warranty Statement Page Appendix D. Console Port Pin Outs Pin Number Signal NameAppendix E. Online Warranty Registration