beautypg.com

H3C Technologies H3C SecBlade NetStream Cards User Manual

Page 122

background image

107

2.

Configure the SecBlade card.

# Create VLAN 1000.

system-view
[SecBlade] vlan 1000
[SecBlade-vlan1000] quit

# Configure the link type of Ten-GigabitEthernet 0/0 as trunk and operating mode as Layer 2. Assign the
trunk port to VLAN 102, VLAN 103, and VLAN 1000.

[SecBlade] interface ten-gigabitethernet 0/0
[SecBlade-Ten-GigabitEthernet0/0] port link-mode bridge
[SecBlade-Ten-GigabitEthernet0/0] port link-type trunk
[SecBlade-Ten-GigabitEthernet0/0] port trunk permit vlan 102 103 1000
[SecBlade-Ten-GigabitEthernet0/0] quit

# Configure two subinterfaces Ten-GigabitEthernet 0/0.102 and Ten-GigabitEthernet 0/0.103.
Configure them as access ports and set the operating mode to Layer 2. Assign the two interfaces to VLAN

1000.

[SecBlade] interface ten-gigabitethernet 0/0.102
[SecBlade-Ten-GigabitEthernet0/0.102] port link-mode bridge
[SecBlade-Ten-GigabitEthernet0/0.102] port link-type access
[SecBlade-Ten-GigabitEthernet0/0.102] port access vlan 1000
[SecBlade-Ten-GigabitEthernet0/0.102] quit
[SecBlade] interface ten-gigabitethernet 0/0.103
[SecBlade-Ten-GigabitEthernet0/0.103] port link-mode bridge
[SecBlade-Ten-GigabitEthernet0/0.103] port link-type access
[SecBlade-Ten-GigabitEthernet0/0.103] port access vlan 1000