Learning ninth day routing switch: the BPDU protection edge port & Link Aggregation &

Learning ninth day routing switch: the BPDU protection edge port & Link Aggregation &

Configure edge port and enable BPDU protection:

[HW-SW3] stp bpdu- protection // SW3 open global BPDU protection
[HW-SW3] interface GigabitEthernet 0/0/1 // configuration g0 / 0/1 port
[HW-SW3-GigabitEthernet0 / 0 /1] stp edged -port disable // do not open edge port
[HW-SW3-GigabitEthernet0 / 0 /1] int g 0/0/3 // configuration g0 / 0/3 port
[HW-SW3-GigabitEthernet0 / 0 /3] stp edged- port disable // do not open edge port
[HW-SW3] stp edged- port default // Enable global edge ports

*** // Before turning on the need to protect the global bpdu trunk link port is not open edge

[HW-SW3]display cu | i stp
stp edged-port default
stp mode stp
stp bpdu-protection
stp edged-port disable
stp edged-port disable

================================================

Static aggregation:
[HW-SWl] int // Create 12 is the Eth-Trunk-Trunk 12 is the Eth
[SWl-HW-the Eth-Trunk12] trunkport 0/0/5 to 0/0/6 // G bound port 5 and 6

[HW-SW2] int Eth- Trunk 12 // create-Trunk 12 Eth
[HW-SW2-Eth-Trunk12] trunkport G 0/0/5 to 0/0/6 // Bind port 5 and 6

[HW-SW2-Eth-Trunk12 ] shutdown // close port
[HW-SW2-Eth-Trunk12 ] undo shutdown // open port
[HW-SW2-Eth-Trunk12 ] port link-type trunk // Review of Eth-Trunk12 Trunk
[SW2-HW-the Eth-Trunk12] Trunk Port VLAN pass All the allow-it allows VLAN by //
[HW-SW2] dis eth- trunk 12 // Check eth-trunk 12 the configuration information of
the Eth-Trunk12 apos State information IS:
WorkingMode : the NORMAL the Hash Arithmetic: ACCORDING the SIP to the XOR-the DIP-
Least-linknumber the Active: Max. 1-Bandwidth-affected linknumber:. 8
Operate Status: Number The up the In Trunk Port Of up: 2

PortName Status Weight
GigabitEthernet0/0/5 Up 1
GigabitEthernet0/0/6 Up 1

Guess you like

Origin blog.51cto.com/63736/2428020