beautypg.com

Verification – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 67

background image

7-12

# Configure packets from VLAN 2, VLAN 6 through VLAN 50, and VLAN 100 to pass through
GigabitEthernet 0/0/1.

[AC-GigabitEthernet0/0/1] port trunk permit vlan 2 6 to 50 100

Please wait... Done.

2) Configure Device following similar steps as that of AC.

Verification

Verifying the configuration of AC is similar to that of Device. So only AC is taken for example here.

# Display the information about GigabitEthernet 0/0/1 of AC to verify the above configurations.

display interface GigabitEthernet 0/0/1

GigabitEthernet0/0/1 current state: UP

IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 0011-2233-5577

Description: GigabitEthernet0/0/1 Interface

Loopback is not set

Media type is twisted pair

Port hardware type is 1000_BASE_T

1000Mbps-speed mode, full-duplex mode

Link speed type is autonegotiation, link duplex type is autonegotiation

Flow-control is not enabled

The Maximum Frame Length is 9212

Broadcast MAX-ratio: 100%

Unicast MAX-ratio: 100%

Multicast MAX-ratio: 100%

Allow jumbo frame to pass

PVID: 100

Mdi type: auto

Link delay is 0(sec)

Port link-type: trunk

Tagged VLAN ID : 2, 6-50, 100

Untagged VLAN ID : 2, 6-50, 100

Port priority: 0

Last 300 seconds input: 8 packets/sec 1513 bytes/sec 0%

Last 300 seconds output: 1 packets/sec 179 bytes/sec 0%

Input (total): 25504971 packets, 13911485028 bytes

14288575 broadcasts, 11111535 multicasts

Input (normal): 25504971 packets, - bytes

14288575 broadcasts, 11111535 multicasts

Input: 0 input errors, 0 runts, 0 giants, 0 throttles

0 CRC, 0 frame, - overruns, 0 aborts

- ignored, - parity errors

Output (total): 175995 packets, 31290143 bytes

47 broadcasts, 68494 multicasts, 0 pauses

Output (normal): 175995 packets, - bytes

47 broadcasts, 68494 multicasts, 0 pauses

Output: 0 output errors, - underruns, - buffer failures

0 aborts, 0 deferred, 0 collisions, 0 late collisions

0 lost carrier, - no carrier

The output above shows that:

z

The port is a Trunk port (Port link-type: trunk).

z

The default VLAN is VLAN 100 (PVID: 100).