Configures a session‘s pseudowire ID, which describes the session‘s purpose. The session established message sends this pseudowire ID to the L2TPv3 peer.
session <L2TPV3-SESSION-NAME> [pseudowire-id|rate-limit]
session <L2TPV3-SESSION-NAME> pseudowire-id <1-4294967295> traffic-source vlan <VLAN-ID-RANGE> {native-vlan <1-4094>}
session <L2TPV3-SESSION-NAME> rate-limit [egress|ingress] rate <50-1000000> max-burst-size <2-1024>
session <L2TPV3-SESSION-NAME> pseudowire-id <1-4294967295> traffic-source vlan <VLAN-ID-RANGE> {native-vlan <1-4094>}
session <L2TPV3-SESSION-NAME> |
Configures this session's name
|
pseudowire-id <1-4294967295> |
Configures the pseudowire ID for this session from 1- 4204067295 A pseudowire is an emulation of a layer 2 point-to-point connection over a packet-switching network (PSN). A pseudowire is needed to encapsulate and tunnel layer 2 protocols across a layer 3 network. |
traffic-source vlan <VLAN-ID-RANGE> |
Configures VLAN as the traffic source for this tunnel
|
native-vlan <1-4094> |
Optional – Configures the native VLAN ID for this session, which is not tagged
|
session <L2TPV3-SESSION-NAME> rate-limit [egress|ingress] rate <50-1000000> max-burst-size <2-1024>
session <L2TPV3-SESSION-NAME> |
Configures this session's name
|
rate-limit [egress|ingress] | Configures a rate for incoming and/or outgoing traffic on this L2TPv3
tunnel. When configured, this option limits the rate at which data is sent to
or received from L2TPv3 tunnel members.
|
rate <50-1000000> | Specify the data rate, in kilobits per second, for the incoming and/or
outgoing traffic
|
max-burst-size <2-1024> | Configures the maximum burst size, in kilobytes, for incoming/outgoing
traffic rate limiting (depending on the direction selected) on a L2TPv3
tunnel.
|
The working status of a pseudowire is reflected by the state of the L2TPv3 session. If the corresponding session is L2TPv3 down, the pseudowire associated with it must be shut down.
nx9500-6C8809(config-profile default-nx5500-l2tpv3-tunnel-Tunnel1)#session tunnel1peer1session1 pseudowire-id 5000 traffic-source vlan 10-20 native-vlan 1
nx9500-6C8809(config-profile default-nx5500-l2tpv3-tunnel-Tunnel1)#show context l2tpv3 tunnel Tunnel1 peer 2 hostname tunnel1peer1 udp port 100 session tunnel1peer1session1 pseudowire-id 5000 traffic-source vlan 10-20 native-vlan 1 router-id 2000 establishment-criteria cluster-master nx9500-6C8809(config-profile default-nx5500-l2tpv3-tunnel-Tunnel1)#
no |
Removes a session |