[c-nsp] Vlans on an ASR9000
Brian Christopher Raaen
mailing-lists at brianraaen.com
Wed Jan 4 14:35:53 EST 2012
As Promised here are some example configs. In this example I have an
untagged port (GigabitEthernet0/1/0/2) connected to a CPE and a 802.1q
tagged port (GigabitEthernet0/1/0/1) connected to another switch which
has another CPE in vlan 200.
interface GigabitEthernet0/1/0/1
negotiation auto
!
interface GigabitEthernet0/1/0/1.1 l2transport
encapsulation untagged
!
interface GigabitEthernet0/1/0/1.200 l2transport
encapsulation dot1q 200
rewrite ingress tag pop 1 symmetric
!
interface GigabitEthernet0/1/0/2
!
interface GigabitEthernet0/1/0/2.200 l2transport
encapsulation untagged
!
interface BVI1
description Internal LAN
ipv4 address 192.0.2.254 255.255.255.0
!
interface BVI200
description Customer 001 Vlan
ipv4 address 198.51.100.254 255.255.255.0
!
l2vpn
bridge group 1
bridge-domain BD_1
interface GigabitEthernet0/1/0/3.1
!
routed interface BVI1
!
!
bridge group 200
bridge-domain BD_200
interface GigabitEthernet0/1/0/3.200
!
interface GigabitEthernet0/1/0/39.200
!
routed interface BVI200
!
!
!
router hsrp
interface BVI1
hsrp 1 ipv4 192.0.2.1
hsrp 1 priority 110
!
interface BVI200
hsrp 2 ipv4 198.51.100.1
hsrp 2 priority 120
!
!
On Wed, Dec 21, 2011 at 3:43 PM, Brian Christopher Raaen
<mailing-lists at brianraaen.com> wrote:
> I am currently working on replacing two 7200's and a 3750 switch with
> an ASR9000 Router for a 10G upgrade. Currently the 3750 is only
> preforming layer2 functions and the two routers connect to it via
> 802.1q trunks. The switch then hands off a 802.1q trunk to other
> downstream switches. I am unsure of how to configure the ports on the
> ASR to allow me to put more than one port in a vlan. I have tried
> going through the different configuration guides and think that either
> the would do something like the l2vpn set or the IRB setup listed in
> the "Cisco ASR 9000 Series Aggregation Services Router Interface and
> Hardware Component Configuration Guide". If I were using a 6500 or
> 7600 I know how I would set up the ports, however I am unsure how I
> would do it in the ASR. I am wondering about the best way to set this
> up, or if I really shouldn't be using the 40 Port linecard for
> switching/layer2 functions. Thanks for any input and I'd really
> appreciate any configuration snippets.
>
> ---
> Brian Raaen
> Zcorum
> Network Architect
> braaen at zcorum.com
More information about the cisco-nsp
mailing list