vlan 配置

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sys s1

[s1]

Aug 25 2015 10:34:37-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 4, the chan

ge loop count is 0, and the maximum number of records is 4095.

[s1]int

[s1]interface et

[s1]interface Eth-Trunk 1

[s1-Eth-Trunk1]mod

[s1-Eth-Trunk1]mode la

[s1-Eth-Trunk1]mode lacp-static

[s1-Eth-Trunk1]

Aug 25 2015 10:35:17-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 5, the chan

ge loop count is 0, and the maximum number of records is 4095.tr

[s1-Eth-Trunk1]trunkport

[s1-Eth-Trunk1]tr

[s1-Eth-Trunk1]trun

[s1-Eth-Trunk1]trunkport gi

[s1-Eth-Trunk1]trunkport GigabitEthernet 0/0/1

Info: This operation may take a few seconds. Please wait for a moment......done.

[s1-Eth-Trunk1]

Aug 25 2015 10:35:47-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 6, the chan

ge loop count is 0, and the maximum number of records is 4095.

[s1-Eth-Trunk1]trunkport GigabitEthernet 0/0/2

Info: This operation may take a few seconds. Please wait for a moment...done.

[s1-Eth-Trunk1]q

[s1]

Aug 25 2015 10:35:57-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 7, the chan

ge loop count is 0, and the maximum number of records is 4095.

[s1]dis

[s1]display et

[s1]display eth-trunk 1

Eth-Trunk1‘s state information is:

Local:

LAG ID: 1                   WorkingMode: STATIC

Preempt Delay: Disabled     Hash arithmetic: According to SIP-XOR-DIP

System Priority: 32768      System ID: 4c1f-cc9c-08f2

Least Active-linknumber: 1  Max Active-linknumber: 8

Operate status: down        Number Of Up Port In Trunk: 0

--------------------------------------------------------------------------------

ActorPortName          Status   PortType PortPri PortNo PortKey PortState Weight

GigabitEthernet0/0/1   Unselect 1000TG   32768   2      401     10100010  1

GigabitEthernet0/0/2   Unselect 1000TG   32768   3      401     10100010  1

Partner:

--------------------------------------------------------------------------------

ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState

GigabitEthernet0/0/1   0        0000-0000-0000  0       0      0       10100011

GigabitEthernet0/0/2   0        0000-0000-0000  0       0      0       10100011

[s1]

Aug 25 2015 10:37:03-08:00 s1 %%01IFNET/4/IF_STATE(l)[0]:Interface Eth-Trunk1 has

turned into UP state.

<s1>int

<s1>sys

Enter system view, return user view with Ctrl+Z.

[s1]int

[s1]interface et

[s1]interface Eth-Trunk 1

[s1-Eth-Trunk1]po

[s1-Eth-Trunk1]port lin

[s1-Eth-Trunk1]port link-type tr

[s1-Eth-Trunk1]port link-type trunk

[s1-Eth-Trunk1]po

[s1-Eth-Trunk1]port tr

[s1-Eth-Trunk1]port trunk all

[s1-Eth-Trunk1]port trunk allow-pass

Aug 25 2015 10:58:58-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 8, the chan

ge loop count is 0, and the maximum number of records is 4095.vlan all

[s1-Eth-Trunk1]port trunk allow-pass vlan all

[s1-Eth-Trunk1]

Aug 25 2015 10:59:08-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 9, the chan

ge loop count is 0, and the maximum number of records is 4095.

[s1-Eth-Trunk1]q

[s1]int

[s1]interface gi

[s1]interface GigabitEthernet 0/0/3

[s1-GigabitEthernet0/0/3]po

[s1-GigabitEthernet0/0/3]port lin

[s1-GigabitEthernet0/0/3]port link-t

[s1-GigabitEthernet0/0/3]port link-type acc

[s1-GigabitEthernet0/0/3]port link-type access

[s1-GigabitEthernet0/0/3]

Aug 25 2015 11:01:18-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 10, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s1-GigabitEthernet0/0/3]q

[s1]int

[s1]interface gi

[s1]interface e

[s1]interface Et

[s1]int

[s1]interface gi

[s1]interface GigabitEthernet 0/0/24

[s1-GigabitEthernet0/0/24]po

[s1-GigabitEthernet0/0/24]port lin

[s1-GigabitEthernet0/0/24]port link-t

[s1-GigabitEthernet0/0/24]port link-type acc

[s1-GigabitEthernet0/0/24]port link-type access

[s1-GigabitEthernet0/0/24]q

[s1]v

Aug 25 2015 11:03:28-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 11, the cha

nge loop count is 0, and the maximum number of records is 4095.

^

Error:Ambiguous command found at ‘^‘ position.

[s1]vlan 3

[s1-vlan3]

Aug 25 2015 11:04:18-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 12, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s1-vlan3]po

[s1-vlan3]port gi

[s1-vlan3]port GigabitEthernet 0/0/3

[s1-vlan3]

Aug 25 2015 11:04:38-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 13, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s1-vlan3]vlan 4

[s1-vlan4]po

[s1-vlan4]port

Aug 25 2015 11:04:58-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 14, the cha

nge loop count is 0, and the maximum number of records is 4095. g

[s1-vlan4]port GigabitEthernet 0/0/24

[s1-vlan4]

Aug 25 2015 11:05:08-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 15, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s1-vlan4]dis

[s1-vlan4]q

[s1]dis

[s1]display vlan

The total number of vlans is : 3

--------------------------------------------------------------------------------

U: Up;         D: Down;         TG: Tagged;         UT: Untagged;

MP: Vlan-mapping;               ST: Vlan-stacking;

#: ProtocolTransparent-vlan;    *: Management-vlan;

--------------------------------------------------------------------------------

VID  Type    Ports

--------------------------------------------------------------------------------

1    common  UT:GE0/0/4(D)      GE0/0/5(D)      GE0/0/6(D)      GE0/0/7(D)

GE0/0/8(D)      GE0/0/9(D)      GE0/0/10(D)     GE0/0/11(D)

GE0/0/12(D)     GE0/0/13(D)     GE0/0/14(D)     GE0/0/15(D)

GE0/0/16(D)     GE0/0/17(D)     GE0/0/18(D)     GE0/0/19(D)

GE0/0/20(D)     GE0/0/21(D)     GE0/0/22(D)     GE0/0/23(D)

Eth-Trunk1(U)

3    common  UT:GE0/0/3(U)

TG:Eth-Trunk1(U)

4    common  UT:GE0/0/24(U)

TG:Eth-Trunk1(U)

VID  Status  Property      MAC-LRN Statistics Description

--------------------------------------------------------------------------------

1    enable  default       enable  disable    VLAN 0001

3    enable  default       enable  disable    VLAN 0003

4    enable  default       enable  disable    VLAN 0004

[s1]

<s1>

<s1>

<s1>sys

Enter system view, return user view with Ctrl+Z.

[s1]dis

[s1]display vlan

The total number of vlans is : 3

--------------------------------------------------------------------------------

U: Up;         D: Down;         TG: Tagged;         UT: Untagged;

MP: Vlan-mapping;               ST: Vlan-stacking;

#: ProtocolTransparent-vlan;    *: Management-vlan;

--------------------------------------------------------------------------------

VID  Type    Ports

--------------------------------------------------------------------------------

1    common  UT:GE0/0/4(D)      GE0/0/5(D)      GE0/0/6(D)      GE0/0/7(D)

GE0/0/8(D)      GE0/0/9(D)      GE0/0/10(D)     GE0/0/11(D)

GE0/0/12(D)     GE0/0/13(D)     GE0/0/14(D)     GE0/0/15(D)

GE0/0/16(D)     GE0/0/17(D)     GE0/0/18(D)     GE0/0/19(D)

GE0/0/20(D)     GE0/0/21(D)     GE0/0/22(D)     GE0/0/23(D)

Eth-Trunk1(U)

3    common  UT:GE0/0/3(U)

TG:Eth-Trunk1(U)

4    common  UT:GE0/0/24(U)

TG:Eth-Trunk1(U)

VID  Status  Property      MAC-LRN Statistics Description

--------------------------------------------------------------------------------

1    enable  default       enable  disable    VLAN 0001

3    enable  default       enable  disable    VLAN 0003

4    enable  default       enable  disable    VLAN 0004

[s1]

User interface con0 is available

Please Press ENTER.

<s1>sys

Enter system view, return user view with Ctrl+Z.

[s1]dis

[s1]display vlan

The total number of vlans is : 3

--------------------------------------------------------------------------------

U: Up;         D: Down;         TG: Tagged;         UT: Untagged;

MP: Vlan-mapping;               ST: Vlan-stacking;

#: ProtocolTransparent-vlan;    *: Management-vlan;

--------------------------------------------------------------------------------

VID  Type    Ports

--------------------------------------------------------------------------------

1    common  UT:GE0/0/4(D)      GE0/0/5(D)      GE0/0/6(D)      GE0/0/7(D)

GE0/0/8(D)      GE0/0/9(D)      GE0/0/10(D)     GE0/0/11(D)

GE0/0/12(D)     GE0/0/13(D)     GE0/0/14(D)     GE0/0/15(D)

GE0/0/16(D)     GE0/0/17(D)     GE0/0/18(D)     GE0/0/19(D)

GE0/0/20(D)     GE0/0/21(D)     GE0/0/22(D)     GE0/0/23(D)

Eth-Trunk1(U)

3    common  UT:GE0/0/3(U)

TG:Eth-Trunk1(U)

4    common  UT:GE0/0/24(U)

TG:Eth-Trunk1(U)

VID  Status  Property      MAC-LRN Statistics Description

--------------------------------------------------------------------------------

1    enable  default       enable  disable    VLAN 0001

3    enable  default       enable  disable    VLAN 0003

4    enable  default       enable  disable    VLAN 0004

[s1]vlan 2

[s1-vlan2]

Aug 25 2015 13:49:24-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 16, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s1-vlan2]q

[s1]dis

[s1]display vlan

The total number of vlans is : 4

--------------------------------------------------------------------------------

U: Up;         D: Down;         TG: Tagged;         UT: Untagged;

MP: Vlan-mapping;               ST: Vlan-stacking;

#: ProtocolTransparent-vlan;    *: Management-vlan;

--------------------------------------------------------------------------------

VID  Type    Ports

--------------------------------------------------------------------------------

1    common  UT:GE0/0/4(D)      GE0/0/5(D)      GE0/0/6(D)      GE0/0/7(D)

GE0/0/8(D)      GE0/0/9(D)      GE0/0/10(D)     GE0/0/11(D)

GE0/0/12(D)     GE0/0/13(D)     GE0/0/14(D)     GE0/0/15(D)

GE0/0/16(D)     GE0/0/17(D)     GE0/0/18(D)     GE0/0/19(D)

GE0/0/20(D)     GE0/0/21(D)     GE0/0/22(D)     GE0/0/23(D)

Eth-Trunk1(U)

2    common  TG:Eth-Trunk1(U)

3    common  UT:GE0/0/3(U)

TG:Eth-Trunk1(U)

4    common  UT:GE0/0/24(U)

TG:Eth-Trunk1(U)

VID  Status  Property      MAC-LRN Statistics Description

--------------------------------------------------------------------------------

1    enable  default       enable  disable    VLAN 0001

2    enable  default       enable  disable    VLAN 0002

3    enable  default       enable  disable    VLAN 0003

4    enable  default       enable  disable    VLAN 0004

[s1]

以上配置s2和s1配置一样

<s1>sys

Enter system view, return user view with Ctrl+Z.

[s1]int

[s1]interface gi

[s1]interface GigabitEthernet 0/0/24

[s1-GigabitEthernet0/0/24]un

[s1-GigabitEthernet0/0/24]undo po

[s1-GigabitEthernet0/0/24]undo port de

[s1-GigabitEthernet0/0/24]undo port default vlan

[s1-GigabitEthernet0/0/24]po

[s1-GigabitEthernet0/0/24]port lin

[s1-GigabitEthernet0/0/24]port link-t

[s1-GigabitEthernet0/0/24]port link-type hy

[s1-GigabitEthernet0/0/24]port link-type hybrid

Aug 25 2015 14:08:47-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 17, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s1-GigabitEthernet0/0/24]po

[s1-GigabitEthernet0/0/24]port hy

[s1-GigabitEthernet0/0/24]port hybrid un

[s1-GigabitEthernet0/0/24]port hybrid untagged v

Aug 25 2015 14:08:57-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 18, the cha

nge loop count is 0, and the maximum number of records is 4095.lan 2 4

[s1-GigabitEthernet0/0/24]port hybrid untagged vlan 2 4

[s1-GigabitEthernet0/0/24]

Aug 25 2015 14:09:07-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 19, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s1-GigabitEthernet0/0/24]port hybrid pv

^

Error:Incomplete command found at ‘^‘ position.

[s1-GigabitEthernet0/0/24]port hybrid pv

[s1-GigabitEthernet0/0/24]port hybrid pvid vlan 4

[s1-GigabitEthernet0/0/24]q

[s1]

Aug 25 2015 14:09:27-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 20, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s1]

<s2>sys

Enter system view, return user view with Ctrl+Z.

[s2]int

[s2]interface gi

[s2]interface GigabitEthernet 0/0/24

[s2-GigabitEthernet0/0/24]un

[s2-GigabitEthernet0/0/24]undo po

[s2-GigabitEthernet0/0/24]undo port de

[s2-GigabitEthernet0/0/24]undo port default vlan

[s2-GigabitEthernet0/0/24]po

[s2-GigabitEthernet0/0/24]port

Aug 25 2015 14:10:09-08:00 s2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 17, the cha

nge loop count is 0, and the maximum number of records is 4095.

^

Error:Incomplete command found at ‘^‘ position.

[s2-GigabitEthernet0/0/24]po

[s2-GigabitEthernet0/0/24]port lin

[s2-GigabitEthernet0/0/24]port link-t

[s2-GigabitEthernet0/0/24]port link-type hy

[s2-GigabitEthernet0/0/24]port link-type hybrid

[s2-GigabitEthernet0/0/24]po

[s2-GigabitEthernet0/0/24]port hy

[s2-GigabitEthernet0/0/24]port hybrid un

[s2-GigabitEthernet0/0/24]port hybrid untagged vlan

Aug 25 2015 14:10:29-08:00 s2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 18, the cha

nge loop count is 0, and the maximum number of records is 4095.2 4

[s2-GigabitEthernet0/0/24]port hybrid untagged vlan 2 4

[s2-GigabitEthernet0/0/24]

Aug 25 2015 14:10:39-08:00 s2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 19, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s2-GigabitEthernet0/0/24]po

[s2-GigabitEthernet0/0/24]port hy

[s2-GigabitEthernet0/0/24]port hybrid p

[s2-GigabitEthernet0/0/24]port hybrid pvid vlan 4

[s2-GigabitEthernet0/0/24]q

[s2]

Aug 25 2015 14:10:59-08:00 s2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 20, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s2]int

[s2]interface gi

[s2]interface GigabitEthernet 0/0/3

[s2-GigabitEthernet0/0/3]un

[s2-GigabitEthernet0/0/3]undo port de

[s2-GigabitEthernet0/0/3]undo port default vlan

[s2-GigabitEthernet0/0/3]po

[s2-GigabitEthernet0/0/3]port lin

[s2-GigabitEthernet0/0/3]port link-t

[s2-GigabitEthernet0/0/3]port link-type

Aug 25 2015 14:11:29-08:00 s2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 21, the cha

nge loop count is 0, and the maximum number of records is 4095.hy

[s2-GigabitEthernet0/0/3]port link-type hybrid

[s2-GigabitEthernet0/0/3]po

[s2-GigabitEthernet0/0/3]port hy

Aug 25 2015 14:11:39-08:00 s2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 22, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s2-GigabitEthernet0/0/3]port hybrid un

[s2-GigabitEthernet0/0/3]port hybrid untagged vlan 2 4

[s2-GigabitEthernet0/0/3]po

[s2-GigabitEthernet0/0/3]port

Aug 25 2015 14:11:49-08:00 s2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 23, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s2-GigabitEthernet0/0/3]po

[s2-GigabitEthernet0/0/3]port hy

[s2-GigabitEthernet0/0/3]port hybrid p

[s2-GigabitEthernet0/0/3]port hybrid pvid vlan 2

[s2-GigabitEthernet0/0/3]

Aug 25 2015 14:12:09-08:00 s2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 24, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s2-GigabitEthernet0/0/3]q

[s2]

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sys s3

[s3]ip add

[s3]ip addr

[s3]ip a

Aug 25 2015 13:54:20-08:00 s3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 4, the chan

ge loop count is 0, and the maximum number of records is 4

[s3]int

[s3]interface vlan

[s3]interface Vlanif 1

[s3-Vlanif1]ip

[s3-Vlanif1]ipv6add

[s3-Vlanif1]ip add

[s3-Vlanif1]ip address 10.0.4.2 24

[s3-Vlanif1]

Aug 25 2015 13:54:48-08:00 s3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP o

n the interface Vlanif1 has entered the UP state.

Aug 25 2015 13:54:50-08:00 s3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 5, the chan

ge loop count is 0, and the maximum number of records is 4095.

[s3-Vlanif1]q

[s3]

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sys s4

[s4]

Aug 25 2015 13:58:16-08:00 s4 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 4, the chan

ge loop count is 0, and the maximum number of records is 4095.

[s4]int

[s4]interface vlan

[s4]interface Vlanif 1

[s4-Vlanif1]ip add

[s4-Vlanif1]ip address 10.0.4.4 24

[s4-Vlanif1]

Aug 25 2015 13:58:38-08:00 s4 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP o

n the interface Vlanif1 has entered the UP state.q

[s4]

Aug 25 2015 13:58:46-08:00 s4 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 5, the chan

ge loop count is 0, and the maximum number of records is 4095.

[s4]

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sys r1

[r1]int

[r1]interface gi

[r1]interface GigabitEthernet 0/0/0

[r1-GigabitEthernet0/0/0]ip add

[r1-GigabitEthernet0/0/0]ip address 10.0.4.1 24

[r1-GigabitEthernet0/0/0]

Aug 25 2015 10:34:12-05:13 r1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP o

n the interface GigabitEthernet0/0/0 has entered the UP state.

[r1-GigabitEthernet0/0/0]q

[r1]

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sys r3

[r3]int

[r3]interface gi

[r3]interface GigabitEthernet 0/0/0

[r3-GigabitEthernet0/0/0]ip add

[r3-GigabitEthernet0/0/0]ip address 10.0.4.3 24

[r3-GigabitEthernet0/0/0]q

[r3]

Aug 25 2015 10:38:52-05:13 r3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP o

n the interface GigabitEthernet0/0/0 has entered the UP state.

[r3]

配置文件:

[r1]display current-configuration

[V200R003C00]

#

sysname r1

#

snmp-agent local-engineid 800007DB03000000000000

snmp-agent

#

clock timezone Indian Standard Time minus 05:13:20

clock daylight-saving-time Day Light Saving Time repeating 12:32 9-1 12:32 11-23

00:00 2005 2005

#

portal local-server load portalpage.zip

#

drop illegal-mac alarm

#

set cpu-usage threshold 80 restore 75

#

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$

local-user admin service-type http

#

firewall zone Local

priority 15

#

interface GigabitEthernet0/0/0

ip address 10.0.4.1 255.255.255.0

#

interface GigabitEthernet0/0/1

#

interface GigabitEthernet0/0/2

#

interface NULL0

#

user-interface con 0

authentication-mode password

user-interface vty 0 4

user-interface vty 16 20

#

wlan ac

#

return

[r3]display current-configuration

[V200R003C00]

#

sysname r3

#

snmp-agent local-engineid 800007DB03000000000000

snmp-agent

#

clock timezone Indian Standard Time minus 05:13:20

clock daylight-saving-time Day Light Saving Time repeating 12:32 9-1 12:32 11-23

00:00 2005 2005

#

portal local-server load portalpage.zip

#

drop illegal-mac alarm

#

set cpu-usage threshold 80 restore 75

#

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$

local-user admin service-type http

#

firewall zone Local

priority 15

#

interface GigabitEthernet0/0/0

ip address 10.0.4.3 255.255.255.0

#

interface GigabitEthernet0/0/1

#

interface GigabitEthernet0/0/2

#

interface NULL0

#

user-interface con 0

authentication-mode password

user-interface vty 0 4

user-interface vty 16 20

#

wlan ac

#

return

[r3]display current-configuration

[V200R003C00]

#

sysname r3

#

snmp-agent local-engineid 800007DB03000000000000

snmp-agent

#

clock timezone Indian Standard Time minus 05:13:20

clock daylight-saving-time Day Light Saving Time repeating 12:32 9-1 12:32 11-23

00:00 2005 2005

#

portal local-server load portalpage.zip

#

drop illegal-mac alarm

#

set cpu-usage threshold 80 restore 75

#

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$

local-user admin service-type http

#

firewall zone Local

priority 15

#

interface GigabitEthernet0/0/0

ip address 10.0.4.3 255.255.255.0

#

interface GigabitEthernet0/0/1

#

interface GigabitEthernet0/0/2

#

interface NULL0

#

user-interface con 0

authentication-mode password

user-interface vty 0 4

user-interface vty 16 20

#

wlan ac

#

return

[s1]display current-configuration

#

sysname s1

#

vlan batch 2 to 4

#

cluster enable

ntdp enable

ndp enable

#

drop illegal-mac alarm

#

diffserv domain default

#

drop-profile default

#

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user admin password simple admin

local-user admin service-type http

#

interface Vlanif1

#

interface MEth0/0/1

#

interface Eth-Trunk1

port link-type trunk

port trunk allow-pass vlan 2 to 4094

mode lacp-static

#

interface GigabitEthernet0/0/1

eth-trunk 1

#

interface GigabitEthernet0/0/2

eth-trunk 1

#

interface GigabitEthernet0/0/3

port link-type access

port default vlan 3

#

interface GigabitEthernet0/0/4

#

interface GigabitEthernet0/0/5

#

interface GigabitEthernet0/0/6

#

interface GigabitEthernet0/0/7

#

interface GigabitEthernet0/0/8

#

interface GigabitEthernet0/0/9

#

interface GigabitEthernet0/0/10

#

interface GigabitEthernet0/0/11

#

interface GigabitEthernet0/0/12

#

interface GigabitEthernet0/0/13

#

interface GigabitEthernet0/0/14

#

interface GigabitEthernet0/0/15

#

interface GigabitEthernet0/0/16

#

interface GigabitEthernet0/0/17

#

interface GigabitEthernet0/0/18

#

interface GigabitEthernet0/0/19

#

interface GigabitEthernet0/0/20

#

interface GigabitEthernet0/0/21

#

interface GigabitEthernet0/0/22

#

interface GigabitEthernet0/0/23

#

interface GigabitEthernet0/0/24

port hybrid pvid vlan 4

port hybrid untagged vlan 2 4

#

interface NULL0

#

user-interface con 0

user-interface vty 0 4

#

return

[s2]display current-configuration

#

sysname s2

#

vlan batch 2 to 4

#

cluster enable

ntdp enable

ndp enable

#

drop illegal-mac alarm

#

diffserv domain default

#

drop-profile default

#

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user admin password simple admin

local-user admin service-type http

#

interface Vlanif1

#

interface MEth0/0/1

#

interface Eth-Trunk1

port link-type trunk

port trunk allow-pass vlan 2 to 4094

mode lacp-static

#

interface GigabitEthernet0/0/1

eth-trunk 1

#

interface GigabitEthernet0/0/2

eth-trunk 1

#

interface GigabitEthernet0/0/3

port hybrid pvid vlan 2

port hybrid untagged vlan 2 4

#

interface GigabitEthernet0/0/4

#

interface GigabitEthernet0/0/5

#

interface GigabitEthernet0/0/6

#

interface GigabitEthernet0/0/7

#

interface GigabitEthernet0/0/8

#

interface GigabitEthernet0/0/9

#

interface GigabitEthernet0/0/10

#

interface GigabitEthernet0/0/11

#

interface GigabitEthernet0/0/12

#

interface GigabitEthernet0/0/13

#

interface GigabitEthernet0/0/14

#

interface GigabitEthernet0/0/15

#

interface GigabitEthernet0/0/16

#

interface GigabitEthernet0/0/17

#

interface GigabitEthernet0/0/18

#

interface GigabitEthernet0/0/19

#

interface GigabitEthernet0/0/20

#

interface GigabitEthernet0/0/21

#

interface GigabitEthernet0/0/22

#

interface GigabitEthernet0/0/23

#

interface GigabitEthernet0/0/24

port hybrid pvid vlan 4

port hybrid untagged vlan 2 4

#

interface NULL0

#

user-interface con 0

user-interface vty 0 4

#

return

[s3]display current-configuration

#

sysname s3

#

cluster enable

ntdp enable

ndp enable

#

drop illegal-mac alarm

#

diffserv domain default

#

drop-profile default

#

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user admin password simple admin

local-user admin service-type http

#

interface Vlanif1

ip address 10.0.4.2 255.255.255.0

#

interface MEth0/0/1

#

interface Ethernet0/0/1

#

interface Ethernet0/0/2

#

interface Ethernet0/0/3

#

interface Ethernet0/0/4

#

interface Ethernet0/0/5

#

interface Ethernet0/0/6

#

interface Ethernet0/0/7

#

interface Ethernet0/0/8

#

interface Ethernet0/0/9

#

interface Ethernet0/0/10

#

interface Ethernet0/0/11

#

interface Ethernet0/0/12

#

interface Ethernet0/0/13

#

interface Ethernet0/0/14

#

interface Ethernet0/0/15

#

interface Ethernet0/0/16

#

interface Ethernet0/0/17

#

interface Ethernet0/0/18

#

interface Ethernet0/0/19

#

interface Ethernet0/0/20

#

interface Ethernet0/0/21

#

interface Ethernet0/0/22

#

interface GigabitEthernet0/0/1

#

interface GigabitEthernet0/0/2

#

interface NULL0

#

user-interface con 0

user-interface vty 0 4

#

return

[s4]display current-configuration

#

sysname s4

#

cluster enable

ntdp enable

ndp enable

#

drop illegal-mac alarm

#

diffserv domain default

#

drop-profile default

#

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user admin password simple admin

local-user admin service-type http

#

interface Vlanif1

ip address 10.0.4.4 255.255.255.0

#

interface MEth0/0/1

#

interface Ethernet0/0/1

#

interface Ethernet0/0/2

#

interface Ethernet0/0/3

#

interface Ethernet0/0/4

#

interface Ethernet0/0/5

#

interface Ethernet0/0/6

#

interface Ethernet0/0/7

#

interface Ethernet0/0/8

#

interface Ethernet0/0/9

#

interface Ethernet0/0/10

#

interface Ethernet0/0/11

#

interface Ethernet0/0/12

#

interface Ethernet0/0/13

#

interface Ethernet0/0/14

#

interface Ethernet0/0/15

#

interface Ethernet0/0/16

#

interface Ethernet0/0/17

#

interface Ethernet0/0/18

#

interface Ethernet0/0/19

#

interface Ethernet0/0/20

#

interface Ethernet0/0/21

#

interface Ethernet0/0/22

#

interface GigabitEthernet0/0/1

#

interface GigabitEthernet0/0/2

#

interface NULL0

#

user-interface con 0

user-interface vty 0 4

#

return

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sys s1

[s1]

Aug 25 2015 10:34:37-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 4, the chan

ge loop count is 0, and the maximum number of records is 4095.

[s1]int

[s1]interface et

[s1]interface Eth-Trunk 1

[s1-Eth-Trunk1]mod

[s1-Eth-Trunk1]mode la

[s1-Eth-Trunk1]mode lacp-static

[s1-Eth-Trunk1]

Aug 25 2015 10:35:17-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 5, the chan

ge loop count is 0, and the maximum number of records is 4095.tr

[s1-Eth-Trunk1]trunkport

[s1-Eth-Trunk1]tr

[s1-Eth-Trunk1]trun

[s1-Eth-Trunk1]trunkport gi

[s1-Eth-Trunk1]trunkport GigabitEthernet 0/0/1

Info: This operation may take a few seconds. Please wait for a moment......done.

[s1-Eth-Trunk1]

Aug 25 2015 10:35:47-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 6, the chan

ge loop count is 0, and the maximum number of records is 4095.

[s1-Eth-Trunk1]trunkport GigabitEthernet 0/0/2

Info: This operation may take a few seconds. Please wait for a moment...done.

[s1-Eth-Trunk1]q

[s1]

Aug 25 2015 10:35:57-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 7, the chan

ge loop count is 0, and the maximum number of records is 4095.

[s1]dis

[s1]display et

[s1]display eth-trunk 1

Eth-Trunk1‘s state information is:

Local:

LAG ID: 1                   WorkingMode: STATIC

Preempt Delay: Disabled     Hash arithmetic: According to SIP-XOR-DIP

System Priority: 32768      System ID: 4c1f-cc9c-08f2

Least Active-linknumber: 1  Max Active-linknumber: 8

Operate status: down        Number Of Up Port In Trunk: 0

--------------------------------------------------------------------------------

ActorPortName          Status   PortType PortPri PortNo PortKey PortState Weight

GigabitEthernet0/0/1   Unselect 1000TG   32768   2      401     10100010  1

GigabitEthernet0/0/2   Unselect 1000TG   32768   3      401     10100010  1

Partner:

--------------------------------------------------------------------------------

ActorPortName          SysPri   SystemID        PortPri PortNo PortKey PortState

GigabitEthernet0/0/1   0        0000-0000-0000  0       0      0       10100011

GigabitEthernet0/0/2   0        0000-0000-0000  0       0      0       10100011

[s1]

Aug 25 2015 10:37:03-08:00 s1 %%01IFNET/4/IF_STATE(l)[0]:Interface Eth-Trunk1 has

turned into UP state.

<s1>int

<s1>sys

Enter system view, return user view with Ctrl+Z.

[s1]int

[s1]interface et

[s1]interface Eth-Trunk 1

[s1-Eth-Trunk1]po

[s1-Eth-Trunk1]port lin

[s1-Eth-Trunk1]port link-type tr

[s1-Eth-Trunk1]port link-type trunk

[s1-Eth-Trunk1]po

[s1-Eth-Trunk1]port tr

[s1-Eth-Trunk1]port trunk all

[s1-Eth-Trunk1]port trunk allow-pass

Aug 25 2015 10:58:58-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 8, the chan

ge loop count is 0, and the maximum number of records is 4095.vlan all

[s1-Eth-Trunk1]port trunk allow-pass vlan all

[s1-Eth-Trunk1]

Aug 25 2015 10:59:08-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 9, the chan

ge loop count is 0, and the maximum number of records is 4095.

[s1-Eth-Trunk1]q

[s1]int

[s1]interface gi

[s1]interface GigabitEthernet 0/0/3

[s1-GigabitEthernet0/0/3]po

[s1-GigabitEthernet0/0/3]port lin

[s1-GigabitEthernet0/0/3]port link-t

[s1-GigabitEthernet0/0/3]port link-type acc

[s1-GigabitEthernet0/0/3]port link-type access

[s1-GigabitEthernet0/0/3]

Aug 25 2015 11:01:18-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 10, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s1-GigabitEthernet0/0/3]q

[s1]int

[s1]interface gi

[s1]interface e

[s1]interface Et

[s1]int

[s1]interface gi

[s1]interface GigabitEthernet 0/0/24

[s1-GigabitEthernet0/0/24]po

[s1-GigabitEthernet0/0/24]port lin

[s1-GigabitEthernet0/0/24]port link-t

[s1-GigabitEthernet0/0/24]port link-type acc

[s1-GigabitEthernet0/0/24]port link-type access

[s1-GigabitEthernet0/0/24]q

[s1]v

Aug 25 2015 11:03:28-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 11, the cha

nge loop count is 0, and the maximum number of records is 4095.

^

Error:Ambiguous command found at ‘^‘ position.

[s1]vlan 3

[s1-vlan3]

Aug 25 2015 11:04:18-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 12, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s1-vlan3]po

[s1-vlan3]port gi

[s1-vlan3]port GigabitEthernet 0/0/3

[s1-vlan3]

Aug 25 2015 11:04:38-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 13, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s1-vlan3]vlan 4

[s1-vlan4]po

[s1-vlan4]port

Aug 25 2015 11:04:58-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 14, the cha

nge loop count is 0, and the maximum number of records is 4095. g

[s1-vlan4]port GigabitEthernet 0/0/24

[s1-vlan4]

Aug 25 2015 11:05:08-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 15, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s1-vlan4]dis

[s1-vlan4]q

[s1]dis

[s1]display vlan

The total number of vlans is : 3

--------------------------------------------------------------------------------

U: Up;         D: Down;         TG: Tagged;         UT: Untagged;

MP: Vlan-mapping;               ST: Vlan-stacking;

#: ProtocolTransparent-vlan;    *: Management-vlan;

--------------------------------------------------------------------------------

VID  Type    Ports

--------------------------------------------------------------------------------

1    common  UT:GE0/0/4(D)      GE0/0/5(D)      GE0/0/6(D)      GE0/0/7(D)

GE0/0/8(D)      GE0/0/9(D)      GE0/0/10(D)     GE0/0/11(D)

GE0/0/12(D)     GE0/0/13(D)     GE0/0/14(D)     GE0/0/15(D)

GE0/0/16(D)     GE0/0/17(D)     GE0/0/18(D)     GE0/0/19(D)

GE0/0/20(D)     GE0/0/21(D)     GE0/0/22(D)     GE0/0/23(D)

Eth-Trunk1(U)

3    common  UT:GE0/0/3(U)

TG:Eth-Trunk1(U)

4    common  UT:GE0/0/24(U)

TG:Eth-Trunk1(U)

VID  Status  Property      MAC-LRN Statistics Description

--------------------------------------------------------------------------------

1    enable  default       enable  disable    VLAN 0001

3    enable  default       enable  disable    VLAN 0003

4    enable  default       enable  disable    VLAN 0004

[s1]

<s1>

<s1>

<s1>sys

Enter system view, return user view with Ctrl+Z.

[s1]dis

[s1]display vlan

The total number of vlans is : 3

--------------------------------------------------------------------------------

U: Up;         D: Down;         TG: Tagged;         UT: Untagged;

MP: Vlan-mapping;               ST: Vlan-stacking;

#: ProtocolTransparent-vlan;    *: Management-vlan;

--------------------------------------------------------------------------------

VID  Type    Ports

--------------------------------------------------------------------------------

1    common  UT:GE0/0/4(D)      GE0/0/5(D)      GE0/0/6(D)      GE0/0/7(D)

GE0/0/8(D)      GE0/0/9(D)      GE0/0/10(D)     GE0/0/11(D)

GE0/0/12(D)     GE0/0/13(D)     GE0/0/14(D)     GE0/0/15(D)

GE0/0/16(D)     GE0/0/17(D)     GE0/0/18(D)     GE0/0/19(D)

GE0/0/20(D)     GE0/0/21(D)     GE0/0/22(D)     GE0/0/23(D)

Eth-Trunk1(U)

3    common  UT:GE0/0/3(U)

TG:Eth-Trunk1(U)

4    common  UT:GE0/0/24(U)

TG:Eth-Trunk1(U)

VID  Status  Property      MAC-LRN Statistics Description

--------------------------------------------------------------------------------

1    enable  default       enable  disable    VLAN 0001

3    enable  default       enable  disable    VLAN 0003

4    enable  default       enable  disable    VLAN 0004

[s1]

User interface con0 is available

Please Press ENTER.

<s1>sys

Enter system view, return user view with Ctrl+Z.

[s1]dis

[s1]display vlan

The total number of vlans is : 3

--------------------------------------------------------------------------------

U: Up;         D: Down;         TG: Tagged;         UT: Untagged;

MP: Vlan-mapping;               ST: Vlan-stacking;

#: ProtocolTransparent-vlan;    *: Management-vlan;

--------------------------------------------------------------------------------

VID  Type    Ports

--------------------------------------------------------------------------------

1    common  UT:GE0/0/4(D)      GE0/0/5(D)      GE0/0/6(D)      GE0/0/7(D)

GE0/0/8(D)      GE0/0/9(D)      GE0/0/10(D)     GE0/0/11(D)

GE0/0/12(D)     GE0/0/13(D)     GE0/0/14(D)     GE0/0/15(D)

GE0/0/16(D)     GE0/0/17(D)     GE0/0/18(D)     GE0/0/19(D)

GE0/0/20(D)     GE0/0/21(D)     GE0/0/22(D)     GE0/0/23(D)

Eth-Trunk1(U)

3    common  UT:GE0/0/3(U)

TG:Eth-Trunk1(U)

4    common  UT:GE0/0/24(U)

TG:Eth-Trunk1(U)

VID  Status  Property      MAC-LRN Statistics Description

--------------------------------------------------------------------------------

1    enable  default       enable  disable    VLAN 0001

3    enable  default       enable  disable    VLAN 0003

4    enable  default       enable  disable    VLAN 0004

[s1]vlan 2

[s1-vlan2]

Aug 25 2015 13:49:24-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 16, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s1-vlan2]q

[s1]dis

[s1]display vlan

The total number of vlans is : 4

--------------------------------------------------------------------------------

U: Up;         D: Down;         TG: Tagged;         UT: Untagged;

MP: Vlan-mapping;               ST: Vlan-stacking;

#: ProtocolTransparent-vlan;    *: Management-vlan;

--------------------------------------------------------------------------------

VID  Type    Ports

--------------------------------------------------------------------------------

1    common  UT:GE0/0/4(D)      GE0/0/5(D)      GE0/0/6(D)      GE0/0/7(D)

GE0/0/8(D)      GE0/0/9(D)      GE0/0/10(D)     GE0/0/11(D)

GE0/0/12(D)     GE0/0/13(D)     GE0/0/14(D)     GE0/0/15(D)

GE0/0/16(D)     GE0/0/17(D)     GE0/0/18(D)     GE0/0/19(D)

GE0/0/20(D)     GE0/0/21(D)     GE0/0/22(D)     GE0/0/23(D)

Eth-Trunk1(U)

2    common  TG:Eth-Trunk1(U)

3    common  UT:GE0/0/3(U)

TG:Eth-Trunk1(U)

4    common  UT:GE0/0/24(U)

TG:Eth-Trunk1(U)

VID  Status  Property      MAC-LRN Statistics Description

--------------------------------------------------------------------------------

1    enable  default       enable  disable    VLAN 0001

2    enable  default       enable  disable    VLAN 0002

3    enable  default       enable  disable    VLAN 0003

4    enable  default       enable  disable    VLAN 0004

[s1]

以上配置s2和s1配置一样

<s1>sys

Enter system view, return user view with Ctrl+Z.

[s1]int

[s1]interface gi

[s1]interface GigabitEthernet 0/0/24

[s1-GigabitEthernet0/0/24]un

[s1-GigabitEthernet0/0/24]undo po

[s1-GigabitEthernet0/0/24]undo port de

[s1-GigabitEthernet0/0/24]undo port default vlan

[s1-GigabitEthernet0/0/24]po

[s1-GigabitEthernet0/0/24]port lin

[s1-GigabitEthernet0/0/24]port link-t

[s1-GigabitEthernet0/0/24]port link-type hy

[s1-GigabitEthernet0/0/24]port link-type hybrid

Aug 25 2015 14:08:47-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 17, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s1-GigabitEthernet0/0/24]po

[s1-GigabitEthernet0/0/24]port hy

[s1-GigabitEthernet0/0/24]port hybrid un

[s1-GigabitEthernet0/0/24]port hybrid untagged v

Aug 25 2015 14:08:57-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 18, the cha

nge loop count is 0, and the maximum number of records is 4095.lan 2 4

[s1-GigabitEthernet0/0/24]port hybrid untagged vlan 2 4

[s1-GigabitEthernet0/0/24]

Aug 25 2015 14:09:07-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 19, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s1-GigabitEthernet0/0/24]port hybrid pv

^

Error:Incomplete command found at ‘^‘ position.

[s1-GigabitEthernet0/0/24]port hybrid pv

[s1-GigabitEthernet0/0/24]port hybrid pvid vlan 4

[s1-GigabitEthernet0/0/24]q

[s1]

Aug 25 2015 14:09:27-08:00 s1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 20, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s1]

<s2>sys

Enter system view, return user view with Ctrl+Z.

[s2]int

[s2]interface gi

[s2]interface GigabitEthernet 0/0/24

[s2-GigabitEthernet0/0/24]un

[s2-GigabitEthernet0/0/24]undo po

[s2-GigabitEthernet0/0/24]undo port de

[s2-GigabitEthernet0/0/24]undo port default vlan

[s2-GigabitEthernet0/0/24]po

[s2-GigabitEthernet0/0/24]port

Aug 25 2015 14:10:09-08:00 s2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 17, the cha

nge loop count is 0, and the maximum number of records is 4095.

^

Error:Incomplete command found at ‘^‘ position.

[s2-GigabitEthernet0/0/24]po

[s2-GigabitEthernet0/0/24]port lin

[s2-GigabitEthernet0/0/24]port link-t

[s2-GigabitEthernet0/0/24]port link-type hy

[s2-GigabitEthernet0/0/24]port link-type hybrid

[s2-GigabitEthernet0/0/24]po

[s2-GigabitEthernet0/0/24]port hy

[s2-GigabitEthernet0/0/24]port hybrid un

[s2-GigabitEthernet0/0/24]port hybrid untagged vlan

Aug 25 2015 14:10:29-08:00 s2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 18, the cha

nge loop count is 0, and the maximum number of records is 4095.2 4

[s2-GigabitEthernet0/0/24]port hybrid untagged vlan 2 4

[s2-GigabitEthernet0/0/24]

Aug 25 2015 14:10:39-08:00 s2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 19, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s2-GigabitEthernet0/0/24]po

[s2-GigabitEthernet0/0/24]port hy

[s2-GigabitEthernet0/0/24]port hybrid p

[s2-GigabitEthernet0/0/24]port hybrid pvid vlan 4

[s2-GigabitEthernet0/0/24]q

[s2]

Aug 25 2015 14:10:59-08:00 s2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 20, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s2]int

[s2]interface gi

[s2]interface GigabitEthernet 0/0/3

[s2-GigabitEthernet0/0/3]un

[s2-GigabitEthernet0/0/3]undo port de

[s2-GigabitEthernet0/0/3]undo port default vlan

[s2-GigabitEthernet0/0/3]po

[s2-GigabitEthernet0/0/3]port lin

[s2-GigabitEthernet0/0/3]port link-t

[s2-GigabitEthernet0/0/3]port link-type

Aug 25 2015 14:11:29-08:00 s2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 21, the cha

nge loop count is 0, and the maximum number of records is 4095.hy

[s2-GigabitEthernet0/0/3]port link-type hybrid

[s2-GigabitEthernet0/0/3]po

[s2-GigabitEthernet0/0/3]port hy

Aug 25 2015 14:11:39-08:00 s2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 22, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s2-GigabitEthernet0/0/3]port hybrid un

[s2-GigabitEthernet0/0/3]port hybrid untagged vlan 2 4

[s2-GigabitEthernet0/0/3]po

[s2-GigabitEthernet0/0/3]port

Aug 25 2015 14:11:49-08:00 s2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 23, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s2-GigabitEthernet0/0/3]po

[s2-GigabitEthernet0/0/3]port hy

[s2-GigabitEthernet0/0/3]port hybrid p

[s2-GigabitEthernet0/0/3]port hybrid pvid vlan 2

[s2-GigabitEthernet0/0/3]

Aug 25 2015 14:12:09-08:00 s2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 24, the cha

nge loop count is 0, and the maximum number of records is 4095.

[s2-GigabitEthernet0/0/3]q

[s2]

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sys s3

[s3]ip add

[s3]ip addr

[s3]ip a

Aug 25 2015 13:54:20-08:00 s3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 4, the chan

ge loop count is 0, and the maximum number of records is 4

[s3]int

[s3]interface vlan

[s3]interface Vlanif 1

[s3-Vlanif1]ip

[s3-Vlanif1]ipv6add

[s3-Vlanif1]ip add

[s3-Vlanif1]ip address 10.0.4.2 24

[s3-Vlanif1]

Aug 25 2015 13:54:48-08:00 s3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP o

n the interface Vlanif1 has entered the UP state.

Aug 25 2015 13:54:50-08:00 s3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 5, the chan

ge loop count is 0, and the maximum number of records is 4095.

[s3-Vlanif1]q

[s3]

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sys s4

[s4]

Aug 25 2015 13:58:16-08:00 s4 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 4, the chan

ge loop count is 0, and the maximum number of records is 4095.

[s4]int

[s4]interface vlan

[s4]interface Vlanif 1

[s4-Vlanif1]ip add

[s4-Vlanif1]ip address 10.0.4.4 24

[s4-Vlanif1]

Aug 25 2015 13:58:38-08:00 s4 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP o

n the interface Vlanif1 has entered the UP state.q

[s4]

Aug 25 2015 13:58:46-08:00 s4 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.1

91.3.1 configurations have been changed. The current change number is 5, the chan

ge loop count is 0, and the maximum number of records is 4095.

[s4]

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sys r1

[r1]int

[r1]interface gi

[r1]interface GigabitEthernet 0/0/0

[r1-GigabitEthernet0/0/0]ip add

[r1-GigabitEthernet0/0/0]ip address 10.0.4.1 24

[r1-GigabitEthernet0/0/0]

Aug 25 2015 10:34:12-05:13 r1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP o

n the interface GigabitEthernet0/0/0 has entered the UP state.

[r1-GigabitEthernet0/0/0]q

[r1]

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sys r3

[r3]int

[r3]interface gi

[r3]interface GigabitEthernet 0/0/0

[r3-GigabitEthernet0/0/0]ip add

[r3-GigabitEthernet0/0/0]ip address 10.0.4.3 24

[r3-GigabitEthernet0/0/0]q

[r3]

Aug 25 2015 10:38:52-05:13 r3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP o

n the interface GigabitEthernet0/0/0 has entered the UP state.

[r3]

配置文件:

[r1]display current-configuration

[V200R003C00]

#

sysname r1

#

snmp-agent local-engineid 800007DB03000000000000

snmp-agent

#

clock timezone Indian Standard Time minus 05:13:20

clock daylight-saving-time Day Light Saving Time repeating 12:32 9-1 12:32 11-23

00:00 2005 2005

#

portal local-server load portalpage.zip

#

drop illegal-mac alarm

#

set cpu-usage threshold 80 restore 75

#

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$

local-user admin service-type http

#

firewall zone Local

priority 15

#

interface GigabitEthernet0/0/0

ip address 10.0.4.1 255.255.255.0

#

interface GigabitEthernet0/0/1

#

interface GigabitEthernet0/0/2

#

interface NULL0

#

user-interface con 0

authentication-mode password

user-interface vty 0 4

user-interface vty 16 20

#

wlan ac

#

return

[r3]display current-configuration

[V200R003C00]

#

sysname r3

#

snmp-agent local-engineid 800007DB03000000000000

snmp-agent

#

clock timezone Indian Standard Time minus 05:13:20

clock daylight-saving-time Day Light Saving Time repeating 12:32 9-1 12:32 11-23

00:00 2005 2005

#

portal local-server load portalpage.zip

#

drop illegal-mac alarm

#

set cpu-usage threshold 80 restore 75

#

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$

local-user admin service-type http

#

firewall zone Local

priority 15

#

interface GigabitEthernet0/0/0

ip address 10.0.4.3 255.255.255.0

#

interface GigabitEthernet0/0/1

#

interface GigabitEthernet0/0/2

#

interface NULL0

#

user-interface con 0

authentication-mode password

user-interface vty 0 4

user-interface vty 16 20

#

wlan ac

#

return

[r3]display current-configuration

[V200R003C00]

#

sysname r3

#

snmp-agent local-engineid 800007DB03000000000000

snmp-agent

#

clock timezone Indian Standard Time minus 05:13:20

clock daylight-saving-time Day Light Saving Time repeating 12:32 9-1 12:32 11-23

00:00 2005 2005

#

portal local-server load portalpage.zip

#

drop illegal-mac alarm

#

set cpu-usage threshold 80 restore 75

#

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$

local-user admin service-type http

#

firewall zone Local

priority 15

#

interface GigabitEthernet0/0/0

ip address 10.0.4.3 255.255.255.0

#

interface GigabitEthernet0/0/1

#

interface GigabitEthernet0/0/2

#

interface NULL0

#

user-interface con 0

authentication-mode password

user-interface vty 0 4

user-interface vty 16 20

#

wlan ac

#

return

[s1]display current-configuration

#

sysname s1

#

vlan batch 2 to 4

#

cluster enable

ntdp enable

ndp enable

#

drop illegal-mac alarm

#

diffserv domain default

#

drop-profile default

#

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user admin password simple admin

local-user admin service-type http

#

interface Vlanif1

#

interface MEth0/0/1

#

interface Eth-Trunk1

port link-type trunk

port trunk allow-pass vlan 2 to 4094

mode lacp-static

#

interface GigabitEthernet0/0/1

eth-trunk 1

#

interface GigabitEthernet0/0/2

eth-trunk 1

#

interface GigabitEthernet0/0/3

port link-type access

port default vlan 3

#

interface GigabitEthernet0/0/4

#

interface GigabitEthernet0/0/5

#

interface GigabitEthernet0/0/6

#

interface GigabitEthernet0/0/7

#

interface GigabitEthernet0/0/8

#

interface GigabitEthernet0/0/9

#

interface GigabitEthernet0/0/10

#

interface GigabitEthernet0/0/11

#

interface GigabitEthernet0/0/12

#

interface GigabitEthernet0/0/13

#

interface GigabitEthernet0/0/14

#

interface GigabitEthernet0/0/15

#

interface GigabitEthernet0/0/16

#

interface GigabitEthernet0/0/17

#

interface GigabitEthernet0/0/18

#

interface GigabitEthernet0/0/19

#

interface GigabitEthernet0/0/20

#

interface GigabitEthernet0/0/21

#

interface GigabitEthernet0/0/22

#

interface GigabitEthernet0/0/23

#

interface GigabitEthernet0/0/24

port hybrid pvid vlan 4

port hybrid untagged vlan 2 4

#

interface NULL0

#

user-interface con 0

user-interface vty 0 4

#

return

[s2]display current-configuration

#

sysname s2

#

vlan batch 2 to 4

#

cluster enable

ntdp enable

ndp enable

#

drop illegal-mac alarm

#

diffserv domain default

#

drop-profile default

#

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user admin password simple admin

local-user admin service-type http

#

interface Vlanif1

#

interface MEth0/0/1

#

interface Eth-Trunk1

port link-type trunk

port trunk allow-pass vlan 2 to 4094

mode lacp-static

#

interface GigabitEthernet0/0/1

eth-trunk 1

#

interface GigabitEthernet0/0/2

eth-trunk 1

#

interface GigabitEthernet0/0/3

port hybrid pvid vlan 2

port hybrid untagged vlan 2 4

#

interface GigabitEthernet0/0/4

#

interface GigabitEthernet0/0/5

#

interface GigabitEthernet0/0/6

#

interface GigabitEthernet0/0/7

#

interface GigabitEthernet0/0/8

#

interface GigabitEthernet0/0/9

#

interface GigabitEthernet0/0/10

#

interface GigabitEthernet0/0/11

#

interface GigabitEthernet0/0/12

#

interface GigabitEthernet0/0/13

#

interface GigabitEthernet0/0/14

#

interface GigabitEthernet0/0/15

#

interface GigabitEthernet0/0/16

#

interface GigabitEthernet0/0/17

#

interface GigabitEthernet0/0/18

#

interface GigabitEthernet0/0/19

#

interface GigabitEthernet0/0/20

#

interface GigabitEthernet0/0/21

#

interface GigabitEthernet0/0/22

#

interface GigabitEthernet0/0/23

#

interface GigabitEthernet0/0/24

port hybrid pvid vlan 4

port hybrid untagged vlan 2 4

#

interface NULL0

#

user-interface con 0

user-interface vty 0 4

#

return

[s3]display current-configuration

#

sysname s3

#

cluster enable

ntdp enable

ndp enable

#

drop illegal-mac alarm

#

diffserv domain default

#

drop-profile default

#

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user admin password simple admin

local-user admin service-type http

#

interface Vlanif1

ip address 10.0.4.2 255.255.255.0

#

interface MEth0/0/1

#

interface Ethernet0/0/1

#

interface Ethernet0/0/2

#

interface Ethernet0/0/3

#

interface Ethernet0/0/4

#

interface Ethernet0/0/5

#

interface Ethernet0/0/6

#

interface Ethernet0/0/7

#

interface Ethernet0/0/8

#

interface Ethernet0/0/9

#

interface Ethernet0/0/10

#

interface Ethernet0/0/11

#

interface Ethernet0/0/12

#

interface Ethernet0/0/13

#

interface Ethernet0/0/14

#

interface Ethernet0/0/15

#

interface Ethernet0/0/16

#

interface Ethernet0/0/17

#

interface Ethernet0/0/18

#

interface Ethernet0/0/19

#

interface Ethernet0/0/20

#

interface Ethernet0/0/21

#

interface Ethernet0/0/22

#

interface GigabitEthernet0/0/1

#

interface GigabitEthernet0/0/2

#

interface NULL0

#

user-interface con 0

user-interface vty 0 4

#

return

[s4]display current-configuration

#

sysname s4

#

cluster enable

ntdp enable

ndp enable

#

drop illegal-mac alarm

#

diffserv domain default

#

drop-profile default

#

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user admin password simple admin

local-user admin service-type http

#

interface Vlanif1

ip address 10.0.4.4 255.255.255.0

#

interface MEth0/0/1

#

interface Ethernet0/0/1

#

interface Ethernet0/0/2

#

interface Ethernet0/0/3

#

interface Ethernet0/0/4

#

interface Ethernet0/0/5

#

interface Ethernet0/0/6

#

interface Ethernet0/0/7

#

interface Ethernet0/0/8

#

interface Ethernet0/0/9

#

interface Ethernet0/0/10

#

interface Ethernet0/0/11

#

interface Ethernet0/0/12

#

interface Ethernet0/0/13

#

interface Ethernet0/0/14

#

interface Ethernet0/0/15

#

interface Ethernet0/0/16

#

interface Ethernet0/0/17

#

interface Ethernet0/0/18

#

interface Ethernet0/0/19

#

interface Ethernet0/0/20

#

interface Ethernet0/0/21

#

interface Ethernet0/0/22

#

interface GigabitEthernet0/0/1

#

interface GigabitEthernet0/0/2

#

interface NULL0

#

user-interface con 0

user-interface vty 0 4

#

return

时间: 2025-01-14 14:33:31

vlan 配置的相关文章

基于cisco_vtp的vlan配置

step1:设计实验环境 实验环境:6台2950cisco交换机 8台PC.如图: swiches' hostnames A,B,C,D,E,F vtp: Server:Switch1 Client:Switch0,2,3,4,5,6 Domain:nashsun.com Password:cisco Trunk mode:trunk VLAN10 PC0:10.10.1.1/16 fa0/11 PC2:10.10.2.2/16 fa0/11 PC6:10.10.3.3/16 fa0/13 VL

【华为】MUX VLAN配置详解

MUX VLAN应用场景 在企业网中实现客户与客户之间不可互相访问,客户与员工之间不可互相访问,员工与员工之间可以互相访问,员工与客户都可以访问服务器. MUX VLAN是一种二层流量隔离机制 MUX VLAN 分为 Principal VLAN (主VLAN)和 Subordinate VLAN(从VLAN),从VLAN分为Group VLAN(互通从VLAN) 和 Separate VLAN(隔离型从VLAN) 通信权限 一丶主VLAN端口可以和所有VLAN通信 二丶互通型从VLAN可以和自

网络设备配置与管理--使用VTP实现扩展VLAN配置

理论学习 问题1:本地VLAN和扩展VLAN有什么区别? 不需要跨交换机实现VLAN中继,所有的VLAN配置仅在本地交换机起作用,该种VLAN配置方式为本地VLAN. 需通过VLAN中继技术跨交换机实现统一VLAN内主机通信的技术称为扩展VLAN. 问题2:扩展VLAN有哪些实现方式? 1 PVLAN技术(Private VLAN) 2 SuperVLAN技术(SuperVLAN) 3 SVLAN技术(Stack VLAN) 问题3:VTP的含义是什么,有哪些特点? VTP是一种Cisco专有的

交换技术之 交换机间同步Vlan配置信息 VTP

交换技术之 交换机间同步Vlan配置信息 VTP 1.目的: 解决多个交换机之间Vlan配置信息的同步(不包括哪些接口属于哪个vlan ,这个猜需要到具体的交换机上对端口进行配置) 2.原理: 配置一个管理端 Server(所有的vlan配置都在这台交换机,配置信息会自动同步到客户端) 配置一个或多个客户端 Client(不允许创建Vlan的一些信息,只能通过同步服务器端的配置) 3.拓扑图: 4.配置命令: VTP-SERVER(config)#vtp domain frogtwo VTP-S

VLAN配置及VLAN间路由

同"路由器-交换机-终端"的概念是相同.VLAN主要是为了同一物理局域网内隔绝广播用的. 它允许局域网内不同交换机上相同VLAN中的机器通信,隔绝其他VLAN的广播. VLAN间要通信则要配置VLAN间路由,不配置路由,分属不同VLAN.配置为相同网段的计算机也不能通信. 在三层交换或路由器上为每个VLAN配置一个与相应VLAN连接的路由器接口,路由器通过自己这些VLAN接口进行转发.每个接口相当一个逻辑上的路由器,同路由器一样也是为了连接不同网段,所以不同vlan要配置不同网段的IP

VTP中VLAN配置信息不同步故障排除

VTP(VLANTrunk Protocol,VLANTrunk协议)是Cisco专用的一种用于维护和管理动态VLAN(如基于MAC地址.IP地址.网络协议.VLAN管理策略等划分方式的VLAN)的二层消息的协议.它可以用来在Trunk链路上自动传播.交换VLAN配置信息,使得同一个VTP域中的交换机VLAN配置保持一致. 使用VTP的好处是可以只需在一台交换机上配置好所需的VLAN后,在同一VTP域中的交换机自动创建相同ID.名称和配置的VLAN,大大减轻了管理员重复创建.配置VLAN的工作量

实验:华为MUX VLAN配置与管理

以下实验摘自笔者为<华为交换机学习指南>设计的一个实验型视频教学课程,点击这里查看详情:http://edu.51cto.com/course/course_id-2091.html 华为的MUX VLAN功能既可以实现位于同一IP网段的不同VLAN间(所有从VLAN与主VLAN间)用户的二层互通,又可实现不同从VLAN间的二层隔离,以及同一交换机上同一VLAN内部用户之间的二层隔离,不同交换机上同一VLAN中的用户不隔离.通过这一技术可以实现在多VLAN用户服务器共享的同时,隔离相同VLAN

跨交换机VLAN 配置和结果验证(51cto :实验9)

1. 实验线路连接图使用Cisco Packet Tracer6.0 构建拓扑结构图 2. 实验内容(1) 按图配置各台计算机IP 地址. 自左往右192.168.1.1->192.168.1.2->192.168.1.3->192.168.1.4,其中192.168.1.1的配置如下(其它3台大致相同) (2) 参阅教材中内容,完成跨交换机VLAN 配置,配置要求如图 所示,使用show vlan 指令查看VLAN 的配置情况,并使用Ping 指令测试各台计算机之间的连通性. sw1

Packet Tracer 5.0实验(三) 交换机划分VLAN配置

Packet Tracer 5.0实验(三) 交换机划分VLAN配置 一.实验目标 理解虚拟 LAN(VLAN)基本原理: 掌握一般交换机按端口划分 VLAN的配置方法: 掌握Tag VLAN配置方法. 二.实验背景 某一公司内财务部.销售部的PC通过2台交换机实现通信:要求财务部和销售部内的PC可以互通,但为了数据安全起见,销售部和财务部需要进行隔离,现要在交换机上做适当配置来实现这一目的. 三.技术原理 VLAN是指在一个物理网段内,进行逻辑的划分,划分成若干个虚拟局域网.VLAN最大的特性

思科2960trunk vlan配置

en conf t vlan id end conf t inter rang gi 0/0/1-x switchport access vlan id no shutdown exit (config)#interface range gigabitEthernet 1/0/23-24 (config-if-range)#switchport mode trunk (config-if-range)#switchport trunk allowed vlan all (config-if-ra