global-id (L2VPN)
To configure the L2VPN global ID value for the router, use the global-id command in the L2VPN routing
configuration submode.
global-id value
Syntax Description
Specifies the global-id value. Range is from 1 to 4294967295.
value
Command Default
If BGP is used as the redistribution L2 protocol, then the default value is the BGP AS number. Otherwise,
the default value is 0.
Command Modes
L2VPN routing configuration submode
Command History
ModificationRelease
This command was introduced.Release 5.1.2
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
This command overwrites the AS number from BGP.
Task ID
OperationTask ID
read, writel2vpn
Examples
The following example shows how to configure L2VPN global ID value:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# l2vpn
RP/0/RSP0/CPU0:router(config-l2vpn)#router-id 2.2.2.2
RP/0/RSP0/CPU0:router(config-l2vpn)# pw-routing
RP/0/RSP0/CPU0:router(config-l2vpn-pwr)# global-id 1000
RP/0/RSP0/CPU0:router(config-l2vpn-pwr)# bgp
RP/0/RSP0/CPU0:router(config-l2vpn-pwr-bgp)# rd 192.168.1.3:10
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
82
Point to Point Layer 2 Services Commands
global-id (L2VPN)