26
Normally, if the outgoing interface in the MAC address entry for a packet is the same as the incoming
interface where the packet arrived, the packet is dropped. The bridging function enables an Ethernet port
to forward such packets.
Examples
# Enable bridging on Layer 2 Ethernet interface GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port bridge enable
port-group manual
Syntax
port-group manual
port-group-name
undo port-group manual
port-group-name
View
System view
Default level
2: System level
Parameters
port-group-name
: Specifies a port group name, a string of 1 to 32 characters.
Description
Use the
port-group manual
command to create a port group and enter port group view.
Use the
undo port-group manual
command to remove a port group.
By default, no port group exists.
Examples
# Create port group
group1
.
<Sysname> system-view
[Sysname] port-group manual group1
[Sysname-port-group-manual-group1]
reset counters interface
Syntax
reset counters interface
[ interface-type [ interface-number ] ]
View
User view
Default level
2: System level
Parameters
interface-type
: Specifies an interface type.
interface-number
: Specifies an interface number.