[c-nsp] Apply C-VID and S-VID to untagged packet
Aaron
aaron1 at gvtc.com
Fri Jun 1 15:15:01 EDT 2012
Maybe like this.
RP/0/RSP0/CPU0:9k(config)#int GigabitEthernet0/0/0/9.15 l2transport
RP/0/RSP0/CPU0:9k(config-subif)#encapsulation untagged
RP/0/RSP0/CPU0:9k(config-subif)#rewrite ?
ingress Set the tag rewriting policy for this EFP
RP/0/RSP0/CPU0:9k(config-subif)#rewrite ingress ?
tag Set the tag rewriting policy for this EFP
RP/0/RSP0/CPU0:9k(config-subif)#rewrite ingress tag ?
pop Remove one or more tags
push Push one or more tags
translate Replace tags with other tags
RP/0/RSP0/CPU0:9k(config-subif)#rewrite ingress tag translate ?
1-to-1 Replace the outermost tag with another tag
1-to-2 Replace the outermost tag with two tags
2-to-1 Replace the outermost two tags with one tag
2-to-2 Replace the outermost two tags with two other tags
RP/0/RSP0/CPU0:9k(config-subif)#rewrite ingress tag push ?
dot1ad Push a Dot1ad tag
dot1q Push a Dot1Q tag
RP/0/RSP0/CPU0:9k(config-subif)#rewrite ingress tag push dot1q ?
<1-4094> VLAN Id to push
RP/0/RSP0/CPU0:9k(config-subif)#rewrite ingress tag push dot1q 111 ?
second-dot1q Push another Dot1Q tag
symmetric All rewrites must be symmetric
RP/0/RSP0/CPU0:9k(config-subif)#rewrite ingress tag push dot1q 111
second-dot1q ?
<1-4094> VLAN Id to push
RP/0/RSP0/CPU0:9k(config-subif)#rewrite ingress tag push dot1q 111
second-dot1q 222 ?
symmetric All rewrites must be symmetric
RP/0/RSP0/CPU0:9k(config-subif)#rewrite ingress tag push dot1q 111
second-dot1q 222 symmetric ?
<cr>
RP/0/RSP0/CPU0:9k(config-subif)#rewrite ingress tag push dot1q 111
second-dot1q 222 symmetric
-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net
[mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Ian Couch
Sent: Friday, June 01, 2012 1:41 PM
To: cisco-nsp at puck.nether.net
Subject: [c-nsp] Apply C-VID and S-VID to untagged packet
Does anyone know of a way to do this without using 2 switches? I've used
selective q-in-q to apply an outer 802.1Q tag to a given C-VID, as well as a
number of other options on a selective q-in-q port, but can't seem to handle
untagged packets the way I want to do it, i.e. applying an inner and outer
tag to the packet. Using the native vlan doesn't work, or at least I
haven't managed to get it working that way.
Thank you,
--
*Ian Couch* | Network Engineering IP Specialist
*Tbaytel *| 871 Tungsten St. | Thunder Bay, Ontario | P7B 6H2
Tel. (807) 625-2018 | Cell. (807) 624-6355 | Fax. (807) 623-2237
Email: ian.couch at tbaytel.com
www.tbaytel.net
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this email. Please notify the sender
immediately by e-mail if you have received this email by mistake and delete
this e-mail from your system. If you are not the intended recipient you are
notified that disclosing, copying, distributing or taking any action in
reliance on the contents of this information is strictly prohibited.
_______________________________________________
cisco-nsp mailing list cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
More information about the cisco-nsp
mailing list