EasyManua.ls Logo

Huawei quidway s7700 - Page 388

Huawei quidway s7700
648 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
l VLAN to which the Switch belongs: VLAN 2
l Interface connecting the Switch to the LSW: GE 1/0/1
l Interface connecting the Switch to the server: GE 1/0/2
l VLAN ID required to be changed to when the Switch sends packets through the outgoing
interface: VLAN 4
l Aging time of dynamic entries in the MAC address table of the Switch: 500 seconds
Procedure
Step 1 Add static MAC address entries.
# Create VLAN 2; add GE 1/0/1 1/0/2 to VLAN 2; configure VLAN mapping on GE 1/0/1.
<Quidway> system-view
[Quidway] vlan 2
[Quidway-vlan2] quit
[Quidway] interface gigabitethernet 1/0/1
[Quidway-GigabitEthernet1/0/1] port hybrid pvid vlan 2
[Quidway-GigabitEthernet1/0/1] port hybrid untagged vlan 2
[Quidway-GigabitEthernet1/0/1] port vlan-mapping vlan 4 map-vlan 2
[Quidway-GigabitEthernet1/0/1] quit
[Quidway] interface gigabitethernet 1/0/2
[Quidway-GigabitEthernet1/0/2] port hybrid pvid vlan 2
[Quidway-GigabitEthernet1/0/2] port hybrid untagged vlan 2
[Quidway-GigabitEthernet1/0/2] quit
# Configure static MAC address entries.
[Quidway] mac-address static 2-2-2 gigabitethernet 1/0/1 vlan 2
[Quidway] mac-address static 3-3-3 gigabitethernet 1/0/1 vlan 2
[Quidway] mac-address static 4-4-4 gigabitethernet 1/0/2 vlan 2
Step 2 Set the aging time of dynamic MAC address entries.
[Quidway] mac-address aging-time 500
Step 3 Verify the configuration.
# Run the display mac-address command in any view. You can check whether the static MAC
address entries are successfully added.
[Quidway] display mac-address static vlan 2
-------------------------------------------------------------------------------
MAC Address VLAN/VSI Learned-From Type
-------------------------------------------------------------------------------
0002-0002-0002 2/- GE1/0/1 static
0003-0003-0003 2/- GE1/0/1 static
0004-0004-0004 2/- GE1/0/2 static
-------------------------------------------------------------------------------
Total items displayed = 3
# Run the display mac-address aging-time command in any view. You can check whether the
aging time of dynamic entries is set successfully.
[Quidway] display mac-address aging-time
Aging time: 500 seconds
----End
Configuration Files
The following lists the configuration file of the Switch.
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 7 MAC Address Table Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
371

Table of Contents

Other manuals for Huawei quidway s7700

Related product manuals