Configuration example, Configuration procedure – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 183

Advertising
background image

20-25

z

With BPDU guard disabled, when a port set as an edge port receives a BPDU from another port, it
will become a non-edge port again. In this case, you must reset the port before you can configure it
to be an edge port again.

z

If a port directly connects to a user terminal, configure it to be an edge port and enable BPDU guard
for it. This enables the port to transition to the forwarding state while ensuring network security.

Configuration example

# Configure GigabitEthernet 0/0/1 to be an edge port.

<Sysname> system-view

[Sysname] interface GigabitEthernet 0/0/1

[Sysname-GigabitEthernet0/0/1] stp edged-port enable

Configuring Whether Ports Connect to Point-to-Point Links

A point-to-point link is a link directly connecting with two devices. If the two ports across a point-to-point
link are root ports or designated ports, the ports can rapidly transition to the forwarding state after a
proposal-agreement handshake process.

Configuration procedure

Follow these steps to configure whether a port or a group of ports connect to point-to-point links:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet
interface view

interface interface-type
interface-number

Enter Ethernet
interface view
or port group
view

Enter port group
view

port-group

{ manual

port-group-name | aggregation

agg-id

}

Required
Use either command.
Configurations made in Ethernet
interface view will take effect on
the current port only;
configurations made in port group
view will take effect on all ports in
the port group.

Configure whether the port(s)
connect to point-to-point links

stp point-to-point

{ auto |

force-false

| force-true }

Optional
The default setting is auto;
namely the device automatically
detects whether an Ethernet port
connects to a point-to-point link.

Advertising