cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
257
Views
0
Helpful
2
Replies

ar9k template problem

nethousebimltd
Level 1
Level 1

I am trying to create a template script, but it's not working. Where am I going wrong?

Template: create_l2if (if, vlan)
interface TenGigE $if.$vlan l2transport
encapsulation dot1q $vlan
rewrite ingress tag pop 2 symmetric

Apply-template create_l2if (0/0/0/28/0, 1234)

2 Replies 2

tkarnani
Cisco Employee
Cisco Employee

there seems to be an issue with the pop 2 symmetric, you will need to match on 2 if you plan to pop 2

for example

encapsulation dot1q 100 second-dot1q 200

otherwise you would use pop 1 symmetric

no, 
this is ok :

interface TenGigE0/5/0/8.307 l2transport
 encapsulation dot1q 100 second-dot1q 307
 rewrite ingress tag pop 2 symmetric

when i try to create using template feature with variable is not creating interface