Configuring a nondefault TPID

About this task

Perform the following steps to configure a nondefault TPID. The interface can be a port or a port-channel (LAG).

Procedure

  1. Do the following to configure a nondefault TPID on an Ethernet interface.
    1. Enter global configuration mode.
      device# configuration terminal
      
      
    2. Enter interface configuration mode and specify an Ethernet interface.
      device(config)# interface ethernet 0/1
      
      
    3. Use the tag-type command to configure the TPID.
      device(conf-if-eth-0/1)# tag-type 0x9100 
      
      
      By default, all interfaces in the system have default TPID value of 0x8100.
    4. Enter the show interface ethernet command to confirm the configuration.
      device# show interface ethernet 0/1
      Ethernet 0/1 is up, line protocol is up (connected)
      Hardware is Ethernet, address is 609c.9f5f.5005
          Current address is 609c.9f5f.5005
      Pluggable media present
      Interface index (ifindex) is 203431936
      MTU 1548 bytes
      10G Interface
      LineSpeed Actual     : 1000 Mbit
      LineSpeed Configured : Auto, Duplex: Full
      Tag-type: 0x9100
      Priority Tag disable
      Forward LACP PDU: Disable
      Route Only: Disabled
      Last clearing of show interface counters: 23:12:47
      Queueing strategy: fifo
      Receive Statistics:
          0 packets, 0 bytes
          Unicasts: 0, Multicasts: 0, Broadcasts: 0
          64-byte pkts: 0, Over 64-byte pkts: 0, Over 127-byte pkts: 0
          Over 255-byte pkts: 0, Over 511-byte pkts: 0, Over 1023-byte pkts: 0
          Over 1518-byte pkts(Jumbo): 0
          Runts: 0, Jabbers: 0, CRC: 0, Overruns: 0
          Errors: 0, Discards: 0
      Transmit Statistics:
          0 packets, 0 bytes
          Unicasts: 0, Multicasts: 0, Broadcasts: 0
          Underruns: 0
          Errors: 0, Discards: 0
      Rate info:
          Input 0.000000 Mbits/sec, 0 packets/sec, 0.00% of line-rate
          Output 0.000000 Mbits/sec, 0 packets/sec, 0.00% of line-rate
      Route-Only Packets Dropped: 0
      Time since last interface status change: 23:12:45
      
      
    5. To revert to the default TPID value, enter the no tag-type command.
      device(conf-if-eth-0/1)# no tag-type 
      
      
    You can achieve the same result by configuring a tag-type of 0x8100.
  2. Do the following to configure a nondefault TPID on a port-channel interface.
    1. Enter global configuration mode.
      device# configuration terminal
      
      
    2. Enter interface configuration mode and specify a port-channel interface.
      device(config)# interface port-channel 20
      
      
    3. Use the tag-type command to configure the TPID.
      device(config-Port-channel-20)# tag-type 0x88a8 
      
      
      By default, all interfaces in the system have default TPID value of 0x8100.
    4. Enter the show interface port-channel command to confirm the configuration.
      device# show interface port-channel 20
      Port-channel 20 is up, line protocol is up
      Hardware is AGGREGATE, address is 609c.9f5c.ac07
          Current address is 609c.9f5c.ac07
      Interface index (ifindex) is 671088660 (0x28000014)
      Minimum number of links to bring Port-channel up is 1
      MTU 1548 bytes
      LineSpeed Actual     : 300000 Mbit
      Allowed Member Speed : 100000 Mbit
      Priority Tag disable
      Forward LACP PDU: Disable
      Route Only: Disabled
      Tag-type: 0x88a8
      Last clearing of show interface counters: 2d01h50m
      Queueing strategy: fifo
      Receive Statistics:
          34579 packets, 4201368 bytes
          Unicasts: 0, Multicasts: 34579, Broadcasts: 0
          64-byte pkts: 0, Over 64-byte pkts: 17288, Over 127-byte pkts: 17291
          Over 255-byte pkts: 0, Over 511-byte pkts: 0, Over 1023-byte pkts: 0
          Over 1518-byte pkts(Jumbo): 0
          Runts: 0, Jabbers: 0, CRC: 0, Overruns: 0
          Errors: 0, Discards: 0
      Transmit Statistics:
          34578 packets, 4201240 bytes
          Unicasts: 0, Multicasts: 34578, Broadcasts: 0
          Underruns: 0
          Errors: 0, Discards: 0
      Rate info:
          Input 0.000000 Mbits/sec, 0 packets/sec, 0.00% of line-rate
          Output 0.000000 Mbits/sec, 0 packets/sec, 0.00% of line-rate
      Route-Only Packets Dropped: 0
      Time since last interface status change: 1d23h59m