distance
Except on the first page, right running head:
Heading1 or Heading1NewPage text (automatic)
339
Alcatel-Lucent
Beta
Beta
OmniAccess 700 CLI Command Reference Guide
DISTANCE
distance
<
1-255>
[[
ip-address subnet-mask|ip-address/prefix-
length
][<
1-99
>|<
1300-1999
>]]
D
ESCRIPTION
Enter the above command in Router Configuration mode. This command is used
to define an administrative distance for RIP or OSPF or BGP.
P
ARAMETERS
D
EFAULT
V
ALUE
RIP
- The default distance is 120.
OSPF
- The default distance is 110.
BGP
- The default distance is 20 for EBGP and 200 for IBGP.
E
XAMPLE
ALU(config-router rip)# distance 130 10.0.0.0/8 20
ALU(config-router ospf 1)# distance 60 10.0.0.0/8
ALU(config-router bgp AS1)#distance bgp 30 10 5
Parameter
Description
1-255
Sets the administrative distance for RIP or OSPF or BGP
external routes.
[<
ip-address
subnet-mask|<ip-
address/prefix-
length>
]
IP address with subnet mask.
1-99
Standard IP access list number.
1300-1999
Standard IP access list number.