R3303-HP HSR6800 Routers High Availability Command Reference
130
port
Use port to assign the specified port as the primary or secondary port of the current smart link group.
Use undo port to remove the specified port from the smart link group.
Syntax
port interface-type interface-number { master | slave }
undo port interface-type interface-number
Views
Smart link group view
Default command level
2: System level
Parameters
interface-type interface-number: Specifies a port by its type and number.
master: Specifies a port as the primary port.
slave: Specifies a port as the secondary port.
Usage guidelines
Disable the spanning tree feature and RRPP on the ports you want to add to the smart link group, and
make sure that the ports are not member ports of any aggregation group or service loopback group. You
cannot enable the spanning tree feature or RRPP on a smart link group member port or assign a smart
link group member port to an aggregation group or service loopback group.
You can assign a port to a smart link group with the port smart-link group command in Ethernet interface
view or Layer 2 aggregate interface view.
Examples
# Configure GigabitEthernet 3/0/1 as the secondary port of smart link group 1.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/0/1
[Sysname-GigabitEthernet3/0/1] undo stp enable
[Sysname-GigabitEthernet3/0/1] quit
[Sysname] smart-link group 1
[Sysname-smlk-group1] protected-vlan reference-instance 0
[Sysname-smlk-group1] port gigabitethernet 3/0/1 slave
Related commands
port smart-link group
port smart-link group
Use port smart-link group to configure the current port as a member of the specified smart link group.
Use undo port smart-link group to remove the port from the specified smart link group.
Syntax
port smart-link group group-id { master | slave }