H3C Technologies H3C SecBlade NetStream Cards User Manual

Page 120

Advertising
background image

105

To do…

Use the command…

Remarks

Create a subinterface of the
ten-GigabitEthernet interface and
enter subinterface view

interface ten-gigabitethernet
interface-number.subnumber

Required
The subnumber must be one of the

VLAN IDs created on the host
device.

Configure the operating mode of
the subinterface as Layer 2

port link-mode bridge

Required
Layer 2 by default.

Configure the link type of the
subinterface as access

port link-type access

Optional
By default, the link type of a

subinterface is access.

Assign the subinterface to the
VLAN of the SecBlade card

port access vlan vlan-id Required

Create another subinterface and
enter subinterface view

interface ten-gigabitethernet
interface-number.subnumber

Required
The subnumber must be the ID of the
other VLAN created on the host

device.

Configure the operating mode of
the subinterface as Layer 2

port link-mode bridge

Required
Layer 2 by default.

Configure the link type of the
subinterface as access

port link-type access

Optional
By default, the link type of a
subinterface is access.

Assign the subinterface to the
VLAN of the SecBlade card

port access vlan vlan-id Required

Displaying and maintaining inter-VLAN Layer 2 forwarding

To do…

Use the command…

Remarks

Display VLAN information

display vlan [ vlan-id1 [ to vlan-id2 ] | all |
dynamic | reserved | static ]

Available in any view

Display brief

interface/subinterface
information

display interface [ interface-type
[ interface-number |

interface-number.subnumber ] ] [ | { begin |

exclude | include } regular-expression ]

Available in any view

Display interface/subinterface
state and related information

display interface [ interface-type
[interface-number |
interface-number.subnumber ] ]

Available in any view

Clear the interface/subinterface
statistics

reset counters interface [ interface-type
[ interface-number |

interface-number.subnumber ] ]

Available in any view

Advertising