Virtual Private Routed Network Services
7750 SR OS Services Guide Page 1073
This is an optional command and can be used in the following circumstance:
Provider router P is moved from AS1 to AS2. The customer router that is connected to P, however, is 
configured to belong to AS1. To avoid reconfiguring the customer router, the local-as value on router 
P can be set to AS1. Thus, router P adds AS1 to the as-path message for routes it advertises to the 
customer router.
The no form of the command used at the global level will remove any virtual AS number configured.
The no form of the command used at the group level reverts to the value defined at the global level.
The no form of the command used at the neighbor level reverts to the value defined at the group level.
Default no local-as
Parameters as-number — The virtual autonomous system number, expressed as a decimal integer.
Values 1 — 65535
private — Specifies the local-as is hidden in paths learned from the peering.
local-preference
Syntax local-preference local-preference
no local-preference
Context config>service>vprn>bgp
config>service>vprn>bgp>group
config>service>vprn>bgp>group>neighbor
Description This command enables setting the BGP local-preference attribute in incoming routes if not specified 
and configures the default value for the attribute.
This value is used if the BGP route arrives from a BGP peer without the local-preference integer set. 
The specified value can be overridden by any value set via a route policy. This configuration 
parameter can be set at three levels: global level (applies to all peers), group level (applies to all peers 
in peer-group) or neighbor level (only applies to specified peer). The most specific value is used.
The no form of the command at the global level specifies that incoming routes with local-preference 
set are not overridden and routes arriving without local-preference set are interpreted as if the route 
had local-preference value of 100.
The no form of the command used at the group level reverts to the value defined at the global level.
The no form of the command used at the neighbor level reverts to the value defined at the group level.
Default no local-preference  — Does not override the local-preference value set in arriving routes and 
analyze routes without local preference with value of 100.
Parameters local-preference — The local preference value to be used as the override value, expressed as a 
decimal integer.
Values 0 — 4294967295 
loop-detect
Syntax loop-detect {drop-peer | discard-route | ignore-loop| off}