H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 87

Advertising
background image

9-10

# Enable GVRP on GigabitEthernet 0/0/1.

[Device-GigabitEthernet0/0/1] gvrp

[Device-GigabitEthernet0/0/1] quit

# Create VLAN 3 (a static VLAN).

[Device] vlan 3

3) Verify the configuration

# Display dynamic VLAN information on AC.

[AC] display vlan dynamic

No dynamic vlans exist!

# Display the VLANs allowed on GigabitEthernet 0/0/1.

[AC] display interface GigabitEthernet 0/0/1

GigabitEthernet0/0/1 current state: DOWN

IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 00e0-fc55-0010

Description: GigabitEthernet0/0/1 Interface

Loopback is not set

Media type is twisted pair

Port hardware type is 1000_BASE_T

Unknown-speed mode, unknown-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: 1

Mdi type: auto

Link delay is 0(sec)

Port link-type: trunk

VLAN passing : 1(default vlan)

VLAN permitted: 1(default vlan)

(Omitted)

The above output indicates that port GigabitEthernet 0/0/1 only allows packets of VLAN 1 to pass.

# Display dynamic VLAN information on Device.

[Device] display vlan dynamic

No dynamic vlans exist!

Device in this configuration example refers to a device that supports VLAN in a generic sense.

Advertising