
Configuring Routing Information (Static Routes) T1/E1 WAN Configuration Guide
14 Copyright © 2005 ADTRAN, Inc. 61200860L1-29.6A
The following command listing applies the ACP to the fr 1.16 and eth 0/1 interfaces:
>enable
#config terminal
(config)#interface fr 1.16
(config-fr 1.16)#access-policy INTERLANwNAT
(config-fr 1.16)#exit
(config)#interface eth 0/1
(config-eth 0/1)#access-policy INTERLANwNAT
(config-eth 0/1)#exit
(config)#
Configuring Routing Information (Static Routes)
AOS products support various routing protocols including static routes, RIP, OSPF, and BGP.
RIP, OPSF, and BGP are all routing protocols which allow routers to share the information contained in
their route tables with other routers in the network. These routing protocols are generally used on networks
that frequently change or contain a large number of nodes. For small applications, manually adding static
routes to the router’s route table is the easiest method of configuration.
Manually adding static routes to the route table requires two steps:
1. Determine the routes needed (destination address and subnet mask as well as the next-hop address or
forwarding interface). Be sure to plan the default route.
2. Use the ip route command to add the route to the route table.
The following lists the complete syntax for the ip route command:
ip route <ip address> <subnet mask> <interface or ip address> <administrative distance>
<ip address>
Specifies the network address (in dotted decimal notation) to add to the route table.
<subnet mask>
Specifies the subnet mask (in dotted decimal notation) associated with the listed network IP address.
<interface or ip address>
Specifies the gateway peer IP address (in dotted decimal notation) or a configured interface in the unit.
<administrative distance>
Specifies an administrative distance associated with this router (1 to 255). The administrative distance
provides a way for a router to determine the best route when multiple routes to the same destination exist.
The smaller the administrative distance, the more reliable the route.
Comentarios a estos manuales