Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Specify a globally unique Layer 2 VPN community identifier for the instance.


as-number:id—Autonomous system number (l2vpn-id:as-number:2-byte-number. For example: l2vpn-id l2vpn-id:100:200. The AS number can be in the range from 1 through 65,535.

ip-address:id—IP address (l2vpn-id:ip-address:2-byte-number. For example: l2vpn-id l2vpn-id: The IP address can be any globally unique unicast address.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 10.4R2.