Download Print this page

HP 5900 series Command Reference Manual Page 173

Layer 2 - lan switching.
Hide thumbs

Advertisement

<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] vlan mapping 1 translated-vlan 101
# Configure many-to-one VLAN mapping on customer-side port Ten-GigabitEthernet 1/0/2 to map
VLANs 1 through 50 and VLAN 80 to VLAN 101. Configure Ten-GigabitEthernet 1/0/3 as the
network-side interface of many-to-one VLAN mapping.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/2
[Sysname-Ten-GigabitEthernet1/0/2] vlan mapping uni range 1 to 50 translated-vlan 101
[Sysname-Ten-GigabitEthernet1/0/2] vlan mapping uni single 80 translated-vlan 101
[Sysname-Ten-GigabitEthernet1/0/2] quit
[Sysname] interface ten-gigabitethernet 1/0/3
[Sysname-Ten-GigabitEthernet1/0/3] vlan mapping nni
# Configure one-to-two VLAN mapping on Ten-GigabitEthernet 1/0/4 to add outer VLAN tag 101 to
packets carrying VLAN tags 1 through 10 and VLAN tag 80.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/4
[Sysname-Ten-GigabitEthernet1/0/4] vlan mapping nest range 1 to 10 nested-vlan 101
[Sysname-Ten-GigabitEthernet1/0/4] vlan mapping nest single 80 nested-vlan 101
# Configure two-to-two VLAN mapping on Ten-GigabitEthernet 1/0/5 to map outer VLAN 101 and
inner VLAN 1 to outer VLAN 201 and inner VLAN 10.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/5
[Sysname-Ten-GigabitEthernet1/0/5] vlan mapping tunnel 101 1 translated-vlan 201 10
Related commands
display vlan mapping
166

Advertisement

This manual also for:

5920 series

Comments to this Manuals

Symbols: 0
Latest comments: