traffic-source

Configures the traffic source tunneled by this session

Supported in the following platforms:

Syntax

traffic-source vlan <VLAN-ID-RANGE> {native-vlan <1-4094>}

Parameters

traffic-source vlan <VLAN-ID-RANGE> {native-vlan <1-4094>} 

traffic-source vlan <VLAN-ID-RANGE>

Configures VLAN as the traffic source for this tunnel

  • <VLAN-ID-RANGE> – Configures VLAN range list of traffic source. Specify the VLAN IDs as a range (for example, 10-20, 25, 30-35)

native-vlan <1-4094>

Optional – Configures the native VLAN ID for this session, which is not tagged

  • <1-4094> – Specify the native VLAN ID from 1- 4094.

Examples

nx9500-6C8809(config-profile default-nx5500-l2tpv3-manual-session-test)#traffic-source vlan 50-60 native-vlan 2
nx9500-6C8809(config-profile default-nx5500-l2tpv3-manual-session-test)#show context
 l2tpv3 manual-session test
  local-ip-address 1.2.3.4
  peer ip-address 5.6.7.8 udp port 150
  traffic-source vlan 50-60 native-vlan 2
  local-session-id 1
  remote-session-id 200
  remote-cookie size 8 400 700
nx9500-6C8809(config-profile default-nx5500-l2tpv3-manual-session-test)#

Related Commands

no

Removes the traffic source configured for a manual session