gvrp的动态注册功能自动完成vlan的配置

<Huawei>sys

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

[Huawei]sys 1

[1]sys s1

[s1]

Aug 30 2015 13:23:19-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.

[s1]interface GigabitEthernet 0/0/9

[s1-GigabitEthernet0/0/9]shutdown

[s1-GigabitEthernet0/0/9]q

[s1]interface GigabitEthernet 0/0/10

[s1-GigabitEthernet0/0/10]shutdown

[s1-GigabitEthernet0/0/10]q

[s1]

Aug 30 2015 13:26:09-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]int

[s1]interface gi

[s1]interface GigabitEthernet 0/0/13

[s1-GigabitEthernet0/0/13]port link-type trunk

[s1-GigabitEthernet0/0/13]port trunk allow-pass vlan

Aug 30 2015 13:30:09-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.all

[s1-GigabitEthernet0/0/13]port trunk allow-pass vlan all

[s1-GigabitEthernet0/0/13]q

[s1]

Aug 30 2015 13:30:19-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]gvrp

[s1]interface GigabitEthernet 0/0/13

[s1-GigabitEthernet0/0/13]gvrp

[s1-GigabitEthernet0/0/13]

Aug 30 2015 13:34:19-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.

[s1-GigabitEthernet0/0/13]q

[s1]vlan bat

[s1]vlan batch 2 100

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

[s1]

Aug 30 2015 13:36:09-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]vlan 200

[s1-vlan200]

Aug 30 2015 13:38:59-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.q

[s1]display cu

[s1]display current-configuration

#

sysname s1

#

vlan batch 2 100 200

#

gvrp

#

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 GigabitEthernet0/0/1

#

#

interface GigabitEthernet0/0/9

shutdown

#

interface GigabitEthernet0/0/10

shutdown

#

interface GigabitEthernet0/0/11

#

interface GigabitEthernet0/0/12

#

interface GigabitEthernet0/0/13

port link-type trunk

port trunk allow-pass vlan 2 to 4094

gvrp

#

interface GigabitEthernet0/0/14

#

#

interface GigabitEthernet0/0/24

#

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 s2

[s2]interface GigabitEthernet 0/0/9

[s2-GigabitEthernet0/0/9]shut

[s2-GigabitEthernet0/0/9]q

[s2]q

Aug 30 2015 13:26: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 5, the chan

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

^

Error: Unrecognized command found at ‘^‘ position.

[s2]interface GigabitEthernet 0/0/10

[s2-GigabitEthernet0/0/10]shut

[s2-GigabitEthernet0/0/10]shutdown

[s2-GigabitEthernet0/0/10]q

[s2]

Aug 30 2015 13:26: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 6, the chan

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

[s2]int

[s2]interface GigabitEthernet 0/0/22

[s2-GigabitEthernet0/0/22]port link-type trunk

[s2-GigabitEthernet0/0/22]port trunk allow-pass

Aug 30 2015 13:32: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 7, the chan

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

[s2-GigabitEthernet0/0/22]port trunk allow-pass vlan all

[s2-GigabitEthernet0/0/22]q

[s2]

Aug 30 2015 13:32: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 8, the chan

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

[s2]

[s2]gv

[s2]gvrp

[s2]interface

Aug 30 2015 13:34: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 9, the chan

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

[s2]interface GigabitEthernet 0/0/22

[s2-GigabitEthernet0/0/22]gvrp

[s2-GigabitEthernet0/0/22]q

[s2]

Aug 30 2015 13:35:19-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 10, the cha

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

[s2]vlan batch 2 200

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

[s2]

Aug 30 2015 13:36: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 11, the cha

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

[s2]vlan 100

[s2-vlan100]q

[s2]

Aug 30 2015 13:39: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 12, the cha

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

[s2]interface GigabitEthernet 0/0/24

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

[s2-GigabitEthernet0/0/24]

Aug 30 2015 13:48: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 13, the cha

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

Error: The interface is already a L2 interface.

[s2-GigabitEthernet0/0/24]port trunk allow-pass vlan all

Aug 30 2015 13:48: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 14, the cha

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

[s2-GigabitEthernet0/0/24]q

[s2]gv

[s2]gvrp

Info: GVRP has been enabled.

[s2]interface GigabitEthernet 0/0/22

[s2-GigabitEthernet0/0/22]gvrp

Info: GVRP has been enabled.

[s2-GigabitEthernet0/0/22]q

[s2]display current-configuration

#

sysname s2

#

vlan batch 2 100 200

#

gvrp

#

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 GigabitEthernet0/0/9

shutdown

#

interface GigabitEthernet0/0/10

shutdown

#

#

interface GigabitEthernet0/0/22

shutdown

port link-type trunk

port trunk allow-pass vlan 2 to 4094

gvrp

#

interface GigabitEthernet0/0/23

#

interface GigabitEthernet0/0/24

port link-type trunk

port trunk allow-pass vlan 2 to 4094

#

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 s3

[s3]

Aug 30 2015 13:27:06-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 4095.

[s3]interface Ethernet 0/0/22

[s3-Ethernet0/0/22]shutdown

[s3-Ethernet0/0/22]q

[s3]

Aug 30 2015 13:28:16-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]int

[s3]interface gi

[s3]interface eth

[s3]interface Ethernet 0/0/13

[s3-Ethernet0/0/13]port link-type trunk

[s3-Ethernet0/0/13]port trunk allow-pass vlan all

[s3-Ethernet0/0/13]

Aug 30 2015 13:30:56-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 7, the chan

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

[s3-Ethernet0/0/13]q

[s3]int

[s3]interface eth

[s3]interface Ethernet 0/0/1

[s3-Ethernet0/0/1]port link-type trunk

[s3-Ethernet0/0/1]port trunk allow-pass

Aug 30 2015 13:31:26-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 8, the chan

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

[s3-Ethernet0/0/1]port trunk allow-pass vlan all

Aug 30 2015 13:31:36-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 9, the chan

ge loop count is 0, and the maxiport link-type trunk

[s3-Ethernet0/0/1]port trunk allow-pass vlan all

[s3-Ethernet0/0/1]q

[s3]gv

[s3]gvrp

[s3]interface Ethernet 0/0/13

[s3-Ethernet0/0/13]

Aug 30 2015 13:34:36-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 10, the cha

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

[s3-Ethernet0/0/13]gvrp

[s3-Ethernet0/0/13]q

[s3]interface Ethernet

Aug 30 2015 13:34:46-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 11, the cha

nge loop count is 0, and the maximum number of records is 4095.0/0/1

[s3-Ethernet0/0/1]gvrp

[s3-Ethernet0/0/1]q

[s3]

Aug 30 2015 13:34:56-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 12, the cha

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

[s3]vlan 2

[s3-vlan2]q

[s3]display gvrp statistics

GVRP statistics on port Ethernet0/0/1

GVRP status : Enabled

GVRP registrations failed : 0

GVRP last PDU origin : 4c1f-cc8e-6d62

GVRP registration type : Normal

GVRP statistics on port Ethernet0/0/13

GVRP status : Enabled

GVRP registrations failed : 0

GVRP last PDU origin : 4c1f-ccd5-3d63

GVRP registration type : Normal

[s3]

[s3]dis

[s3]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:Eth0/0/1(U)     Eth0/0/2(D)     Eth0/0/3(D)     Eth0/0/4(D)

Eth0/0/5(D)     Eth0/0/6(D)     Eth0/0/7(D)     Eth0/0/8(D)

Eth0/0/9(D)     Eth0/0/10(D)    Eth0/0/11(D)    Eth0/0/12(D)

Eth0/0/13(U)    Eth0/0/14(D)    Eth0/0/15(D)    Eth0/0/16(D)

Eth0/0/17(D)    Eth0/0/18(D)    Eth0/0/19(D)    Eth0/0/20(D)

Eth0/0/21(D)    Eth0/0/22(D)    GE0/0/1(D)      GE0/0/2(D)

2    common  TG:Eth0/0/1(U)     Eth0/0/13(U)

100  dynamic TG:Eth0/0/13(U)

VID  Status  Property      MAC-LRN Statistics Description

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

1    enable  default       enable  disable    VLAN 0001

2    enable  default       enable  disable    VLAN 0002

100  enable  default       enable  disable    VLAN 0100

[s3]di

[s3]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:Eth0/0/1(U)     Eth0/0/2(D)     Eth0/0/3(D)     Eth0/0/4(D)

Eth0/0/5(D)     Eth0/0/6(D)     Eth0/0/7(D)     Eth0/0/8(D)

Eth0/0/9(D)     Eth0/0/10(D)    Eth0/0/11(D)    Eth0/0/12(D)

Eth0/0/13(U)    Eth0/0/14(D)    Eth0/0/15(D)    Eth0/0/16(D)

Eth0/0/17(D)    Eth0/0/18(D)    Eth0/0/19(D)    Eth0/0/20(D)

Eth0/0/21(D)    Eth0/0/22(D)    GE0/0/1(D)      GE0/0/2(D)

2    common  TG:Eth0/0/1(U)     Eth0/0/13(U)

100  dynamic TG:Eth0/0/13(U)

200  dynamic TG:Eth0/0/13(U)

VID  Status  Property      MAC-LRN Statistics Description

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

1    enable  default       enable  disable    VLAN 0001

2    enable  default       enable  disable    VLAN 0002

100  enable  default       enable  disable    VLAN 0100

200  enable  default       enable  disable    VLAN 0200

[s3]int

[s3]interface ethe

[s3]interface Ethernet 0/0/1

[s3-Ethernet0/0/1]gvrp registration fixed

[s3-Ethernet0/0/1]q

[s3]

Aug 30 2015 13:40:16-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 13, the cha

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

[s3]display gvrp statistics interface Ethernet 0/0/1

GVRP statistics on port Ethernet0/0/1

GVRP status : Enabled

GVRP registrations failed : 13

GVRP last PDU origin : 4c1f-cc8e-6d62

GVRP registration type : Fixed

[s3]dis

[s3]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:Eth0/0/1(U)     Eth0/0/2(D)     Eth0/0/3(D)     Eth0/0/4(D)

Eth0/0/5(D)     Eth0/0/6(D)     Eth0/0/7(D)     Eth0/0/8(D)

Eth0/0/9(D)     Eth0/0/10(D)    Eth0/0/11(D)    Eth0/0/12(D)

Eth0/0/13(U)    Eth0/0/14(D)    Eth0/0/15(D)    Eth0/0/16(D)

Eth0/0/17(D)    Eth0/0/18(D)    Eth0/0/19(D)    Eth0/0/20(D)

Eth0/0/21(D)    Eth0/0/22(D)    GE0/0/1(D)      GE0/0/2(D)

2    common  TG:Eth0/0/1(U)     Eth0/0/13(U)

100  dynamic TG:Eth0/0/13(U)

200  dynamic TG:Eth0/0/13(U)

VID  Status  Property      MAC-LRN Statistics Description

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

1    enable  default       enable  disable    VLAN 0001

2    enable  default       enable  disable    VLAN 0002

100  enable  default       enable  disable    VLAN 0100

200  enable  default       enable  disable    VLAN 0200

[s3]interface Ethernet 0/0/1

[s3-Ethernet0/0/1]gvrp registration forbidden

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

[s3-Ethernet0/0/1]q

[s3]

Aug 30 2015 13:43:36-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 14, the cha

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

[s3]display gvrp statistics interface Ethernet 0/0/1

GVRP statistics on port Ethernet0/0/1

GVRP status : Enabled

GVRP registrations failed : 38

GVRP last PDU origin : 4c1f-cc8e-6d62

GVRP registration type : Forbidden

[s3]di

[s3]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:Eth0/0/1(U)     Eth0/0/2(D)     Eth0/0/3(D)     Eth0/0/4(D)

Eth0/0/5(D)     Eth0/0/6(D)     Eth0/0/7(D)     Eth0/0/8(D)

Eth0/0/9(D)     Eth0/0/10(D)    Eth0/0/11(D)    Eth0/0/12(D)

Eth0/0/13(U)    Eth0/0/14(D)    Eth0/0/15(D)    Eth0/0/16(D)

Eth0/0/17(D)    Eth0/0/18(D)    Eth0/0/19(D)    Eth0/0/20(D)

Eth0/0/21(D)    Eth0/0/22(D)    GE0/0/1(D)      GE0/0/2(D)

2    common  TG:Eth0/0/13(U)

100  dynamic TG:Eth0/0/13(U)

200  dynamic TG:Eth0/0/13(U)

VID  Status  Property      MAC-LRN Statistics Description

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

1    enable  default       enable  disable    VLAN 0001

2    enable  default       enable  disable    VLAN 0002

100  enable  default       enable  disable    VLAN 0100

200  enable  default       enable  disable    VLAN 0200

[s3]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:Eth0/0/1(U)     Eth0/0/2(D)     Eth0/0/3(D)     Eth0/0/4(D)

Eth0/0/5(D)     Eth0/0/6(D)     Eth0/0/7(D)     Eth0/0/8(D)

Eth0/0/9(D)     Eth0/0/10(D)    Eth0/0/11(D)    Eth0/0/12(D)

Eth0/0/13(U)    Eth0/0/14(D)    Eth0/0/15(D)    Eth0/0/16(D)

Eth0/0/17(D)    Eth0/0/18(D)    Eth0/0/19(D)    Eth0/0/20(D)

Eth0/0/21(D)    Eth0/0/22(D)    GE0/0/1(D)      GE0/0/2(D)

2    common  TG:Eth0/0/13(U)

100  dynamic TG:Eth0/0/13(U)

200  dynamic TG:Eth0/0/13(U)

VID  Status  Property      MAC-LRN Statistics Description

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

1    enable  default       enable  disable    VLAN 0001

2    enable  default       enable  disable    VLAN 0002

100  enable  default       enable  disable    VLAN 0100

200  enable  default       enable  disable    VLAN 0200

[s3]di

[s3]display cu

[s3]display current-configuration

#

sysname s3

#

vlan batch 2

#

gvrp

#

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 Ethernet0/0/1

port link-type trunk

port trunk allow-pass vlan 2 to 4094

gvrp

gvrp registration forbidden

#

#

interface Ethernet0/0/13

port link-type trunk

port trunk allow-pass vlan 2 to 4094

gvrp

#

#

interface Ethernet0/0/22

shutdown

#

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 s4

[s4]int

[s4]interface ehte

Aug 30 2015 13:28:26-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]interface Ethernet 0/0/14

[s4-Ethernet0/0/14]shutdown

[s4-Ethernet0/0/14]

Aug 30 2015 13:28: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.q

[s4]display interface

Ethernet0/0/1 current state : UP

Line protocol current state : UP

Description:

Switch Port, PVID :    1, TPID : 8100(Hex), The Maximum Frame Length is 9216

IP Sending Frames‘ Format is PKTFMT_ETHNT_2, Hardware address is 4c1f-cc8e-6d62

Last physical up time   : 2015-08-30 13:22:32 UTC-08:00

Last physical down time : 2015-08-30 13:22:31 UTC-08:00

Current system time: 2015-08-30 13:29:05-08:00

Hardware address is 4c1f-cc8e-6d62

Last 300 seconds input rate 0 bytes/sec, 0 packets/sec

Last 300 seconds output rate 0 bytes/sec, 0 packets/sec

Input: 357 bytes, 3 packets

Output: 21539 bytes, 181 packets

Input:

Unicast: 0 packets, Multicast: 3 packets

Broadcast: 0 packets

Output:

Unicast: 0 packets, Multicast: 181 packets

Broadcast: 0 packets

Input bandwidth utilization  :    0%

Output bandwidth utilization :    0%

Ethernet0/0/2 current state : DOWN

Line protocol current state : DOWN

Description:

Switch Port, PVID :    1, TPID : 8100(Hex), The Maximum Frame Length is 9216

IP Sending Frames‘ Format is PKTFMT_ETHNT_2, Hardware address is 4c1f-cc8e-6d62

Last physical up time   : -

Last physical down time : 2015-08-30 13:22:32 UTC-08:00

Current system time: 2015-08-30 13:29:05-08:00

Hardware address is 4c1f-cc8e-6d62

Last 300 seconds input rate 0 bytes/sec, 0 packets/sec

Last 300 seconds output rate 0 bytes/sec, 0 packets/sec

Input: 0 bytes, 0 packets

Output: 0 bytes, 0 packets

Input:

Unicast: 0 packets, Multicast: 0 packets

Broadcast: 0 packets

Output:

Unicast: 0 packets, Multicast: 0 packets

Broadcast: 0 packets

Input bandwidth utilization  :    0%

Output bandwidth utilization :    0%

Ethernet0/0/3 current state : DOWN

Line protocol current state : DOWN

Description:

Switch Port, PVID :    1, TPID : 8100(Hex), The Maximum Frame Length is 9216

IP Sending Frames‘ Format is PKTFMT_ETHNT_2, Hardware address is 4c1f-cc8e-6d62

Last physical up time   : -

Last physical down time : 2015-08-30 13:22:32 UTC-08:00

Current system time: 2015-08-30 13:29:10-08:00

Hardware address is 4c1f-cc8e-6d62

Last 300 seconds input rate 0 bytes/sec, 0 packets/sec

Last 300 seconds output rate 0 bytes/sec, 0 packets/sec

Input: 0 bytes, 0 packets

Output: 0 bytes, 0 packets

Input:

Unicast: 0 packets, Multicast: 0 packets

Broadcast: 0 packets

Output:

Unicast: 0 packets, Multicast: 0 packets

Broadcast: 0 packets

Input bandwidth utilization  :    0%

Output bandwidth utilization :    0%

Ethernet0/0/4 current state : DOWN

Line protocol current state : DOWN

[s4]int

[s4]interface eth

[s4]interface Ethernet 0/0/22

[s4-Ethernet0/0/22]port link-type trunk

[s4-Ethernet0/0/22]port trunk allow-pass vlan all

[s4-Ethernet0/0/22]

Aug 30 2015 13:33:06-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 7, the chan

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

[s4-Ethernet0/0/22]q

[s4]interface Ethernet 0/0/1

[s4-Ethernet0/0/1]port link-type trunk

[s4-Ethernet0/0/1]po

Aug 30 2015 13:33:26-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 8, the chan

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

Error: The interface is already a L2 interface.

[s4-Ethernet0/0/1]port trunk allow-pass vlan all

[s4-Ethernet0/0/1]

Aug 30 2015 13:33:36-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 9, the chan

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

[s4-Ethernet0/0/1]q

[s4]gvrp

[s4]interface Ethernet 0/0/22

Aug 30 2015 13:35:26-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 10, the cha

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

[s4-Ethernet0/0/22]gvrp

[s4-Ethernet0/0/22]q

[s4]interface Ethernet 0/0

Aug 30 2015 13:35:36-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 11, the cha

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

[s4-Ethernet0/0/1]gvrp

[s4-Ethernet0/0/1]q

[s4]

Aug 30 2015 13:35: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 12, the cha

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

[s4]vlan 2

[s4-vlan2]q

[s4]display gvrp statistics

GVRP statistics on port Ethernet0/0/1

GVRP status : Enabled

GVRP registrations failed : 0

GVRP last PDU origin : 4c1f-ccfb-41af

GVRP registration type : Normal

GVRP statistics on port Ethernet0/0/22

GVRP status : Enabled

GVRP registrations failed : 0

GVRP last PDU origin : 0000-0000-0000

GVRP registration type : Normal

[s4]

[s4]dis

[s4]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:Eth0/0/1(U)     Eth0/0/2(D)     Eth0/0/3(D)     Eth0/0/4(D)

Eth0/0/5(D)     Eth0/0/6(D)     Eth0/0/7(D)     Eth0/0/8(D)

Eth0/0/9(D)     Eth0/0/10(D)    Eth0/0/11(D)    Eth0/0/12(D)

Eth0/0/13(D)    Eth0/0/14(D)    Eth0/0/15(D)    Eth0/0/16(D)

Eth0/0/17(D)    Eth0/0/18(D)    Eth0/0/19(D)    Eth0/0/20(D)

Eth0/0/21(D)    Eth0/0/22(U)    GE0/0/1(D)      GE0/0/2(D)

2    common  TG:Eth0/0/1(U)     Eth0/0/22(U)

100  dynamic TG:Eth0/0/1(U)

VID  Status  Property      MAC-LRN Statistics Description

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

1    enable  default       enable  disable    VLAN 0001

2    enable  default       enable  disable    VLAN 0002

100  enable  default       enable  disable    VLAN 0100

[s4]di

[s4]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:Eth0/0/1(U)     Eth0/0/2(D)     Eth0/0/3(D)     Eth0/0/4(D)

Eth0/0/5(D)     Eth0/0/6(D)     Eth0/0/7(D)     Eth0/0/8(D)

Eth0/0/9(D)     Eth0/0/10(D)    Eth0/0/11(D)    Eth0/0/12(D)

Eth0/0/13(D)    Eth0/0/14(D)    Eth0/0/15(D)    Eth0/0/16(D)

Eth0/0/17(D)    Eth0/0/18(D)    Eth0/0/19(D)    Eth0/0/20(D)

Eth0/0/21(D)    Eth0/0/22(U)    GE0/0/1(D)      GE0/0/2(D)

2    common  TG:Eth0/0/1(U)     Eth0/0/22(U)

100  dynamic TG:Eth0/0/1(U)

200  dynamic TG:Eth0/0/1(U)

VID  Status  Property      MAC-LRN Statistics Description

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

1    enable  default       enable  disable    VLAN 0001

2    enable  default       enable  disable    VLAN 0002

100  enable  default       enable  disable    VLAN 0100

200  enable  default       enable  disable    VLAN 0200

[s4]interface Ethernet 0/0/1

[s4-Ethernet0/0/1]gvrp registration fixed

[s4-Ethernet0/0/1]

Aug 30 2015 13:40:26-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 13, the cha

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

[s4-Ethernet0/0/1]q

[s4]display gvrp statistics interface Ethernet 0/0/1

GVRP statistics on port Ethernet0/0/1

GVRP status : Enabled

GVRP registrations failed : 6

GVRP last PDU origin : 4c1f-ccfb-41af

GVRP registration type : Fixed

[s4]di

[s4]display vlna

^

Error: Unrecognized command found at ‘^‘ position.

[s4]di

[s4]display vlan

The total number of vlans is : 2

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

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

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

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

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

VID  Type    Ports

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

1    common  UT:Eth0/0/1(U)     Eth0/0/2(D)     Eth0/0/3(D)     Eth0/0/4(D)

Eth0/0/5(D)     Eth0/0/6(D)     Eth0/0/7(D)     Eth0/0/8(D)

Eth0/0/9(D)     Eth0/0/10(D)    Eth0/0/11(D)    Eth0/0/12(D)

Eth0/0/13(D)    Eth0/0/14(D)    Eth0/0/15(D)    Eth0/0/16(D)

Eth0/0/17(D)    Eth0/0/18(D)    Eth0/0/19(D)    Eth0/0/20(D)

Eth0/0/21(D)    Eth0/0/22(U)    GE0/0/1(D)      GE0/0/2(D)

2    common  TG:Eth0/0/1(U)     Eth0/0/22(U)

VID  Status  Property      MAC-LRN Statistics Description

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

1    enable  default       enable  disable    VLAN 0001

2    enable  default       enable  disable    VLAN 0002

[s4]interface Ethernet 0/0/1

[s4-Ethernet0/0/1]gvrp registration forbidden

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

[s4-Ethernet0/0/1]q

[s4]

Aug 30 2015 13:44:06-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 14, the cha

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

[s4]di

[s4]display vlan

The total number of vlans is : 2

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

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

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

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

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

VID  Type    Ports

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

1    common  UT:Eth0/0/1(U)     Eth0/0/2(D)     Eth0/0/3(D)     Eth0/0/4(D)

Eth0/0/5(D)     Eth0/0/6(D)     Eth0/0/7(D)     Eth0/0/8(D)

Eth0/0/9(D)     Eth0/0/10(D)    Eth0/0/11(D)    Eth0/0/12(D)

Eth0/0/13(D)    Eth0/0/14(D)    Eth0/0/15(D)    Eth0/0/16(D)

Eth0/0/17(D)    Eth0/0/18(D)    Eth0/0/19(D)    Eth0/0/20(D)

Eth0/0/21(D)    Eth0/0/22(U)    GE0/0/1(D)      GE0/0/2(D)

2    common  TG:Eth0/0/22(U)

VID  Status  Property      MAC-LRN Statistics Description

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

1    enable  default       enable  disable    VLAN 0001

2    enable  default       enable  disable    VLAN 0002

[s4]di

[s4]display vlan

The total number of vlans is : 2

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

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

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

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

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

VID  Type    Ports

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

1    common  UT:Eth0/0/1(U)     Eth0/0/2(D)     Eth0/0/3(D)     Eth0/0/4(D)

Eth0/0/5(D)     Eth0/0/6(D)     Eth0/0/7(D)     Eth0/0/8(D)

Eth0/0/9(D)     Eth0/0/10(D)    Eth0/0/11(D)    Eth0/0/12(D)

Eth0/0/13(D)    Eth0/0/14(D)    Eth0/0/15(D)    Eth0/0/16(D)

Eth0/0/17(D)    Eth0/0/18(D)    Eth0/0/19(D)    Eth0/0/20(D)

Eth0/0/21(D)    Eth0/0/22(U)    GE0/0/1(D)      GE0/0/2(D)

2    common  TG:Eth0/0/22(U)

VID  Status  Property      MAC-LRN Statistics Description

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

1    enable  default       enable  disable    VLAN 0001

2    enable  default       enable  disable    VLAN 0002

[s4]display gvrp statistics interface Ethernet 0/0/22

GVRP statistics on port Ethernet0/0/22

GVRP status : Enabled

GVRP registrations failed : 0

GVRP last PDU origin : 0000-0000-0000

GVRP registration type : Normal

[s4]display current-configuration

#

sysname s4

#

vlan batch 2

#

gvrp

#

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 Ethernet0/0/1

port link-type trunk

port trunk allow-pass vlan 2 to 4094

gvrp

gvrp registration forbidden

#

#

interface Ethernet0/0/14

shutdown

#

#

interface Ethernet0/0/22

port link-type trunk

port trunk allow-pass vlan 2 to 4094

gvrp

#

interface GigabitEthernet0/0/1

#

interface GigabitEthernet0/0/2

#

interface NULL0

#

user-interface con 0

user-interface vty 0 4

#

return

时间: 2024-07-30 17:56:16

gvrp的动态注册功能自动完成vlan的配置的相关文章

通过GVRP让交换机自动学习VLAN

实验目的:1)SW1创建静态VLAN 10 ,SW2和SW3没有配置VLAN:2)通过配置GVRP功能,让SW2和SW3自动学习VLAN:配置命令:交换机SW1 <Huawei>system-view [Huawei]gvrp 开启gvrp模式 [Huawei]interface Ethernet0/0/1 进入端口 [Huawei-Ethernet0/0/1]port link-type trunk 修改成trunk链路 [Huawei-Ethernet0/0/1]port trunk al

自己动手写RPC框架到dubbo的服务动态注册,服务路由,负载均衡功能实现

RPC即远程过程调用,它的实现方式有很多,比如webservice等.框架调多了,烦了,没激情了,我们就该问自己,这些框架的作用到底是什么,来找回当初的激情. 一般来说,我们写的系统就是一个单机系统,一个web服务器一个数据库服务,但是当这单台服务器的处理能力受硬件成本的限制,是不能无限的提升处理性能的.这个时候我们使用RPC将原来的本地调用转变为调用远端的服务器上的方法,给系统的处理能力和吞吐量带来了提升. RPC的实现包括客户端和服务端,即服务的调用方和服务的提供方.服务调用方发送rpc请求

php实现微信扫码自动登陆与注册功能

本文实例讲述了php实现微信扫码自动登陆与注册功能.分享给大家供大家参考,具体如下: 微信开发已经是现在程序员必须要掌握的一项基本的技术了,其实做过微信开发的都知道微信接口非常的强大做起来也非常的简单,这里我们一起来看一个微信自动登陆注册的例子. php 微信扫码 pc端自动登陆注册 用的接口scope 是snsapi_userinfo,微信登陆一个是网页授权登陆,另一个是微信联合登陆 网页授权登陆:http://mp.weixin.qq.com/wiki/17/c0f37d5704f0b647

Zabbix agent自动注册功能实现主机批量监控

Zabbix agent自动注册功能实现主机批量监控 Zabbix auto registration 功能很强大,当每新增一台agent,只需在server添加一个触发器,在agent修改几个参数,就能自动加入监控当中.这功能在批量监控中有莫大作用,如果后续需要增加某项监控,只需要模板中添加item即可. 1.克隆新的模板.创建新的主机组 模板克隆 [组态]à[模板]à手选一个模板à[全克隆] 如果已经做好模板,就直接调用即可:如果没有做好模板,后续要更改的话,最好还是用一个新的模板. 新增主

交换机自动学习vlan

如图所示:LSW1创建静态vlan 10,SW2和SW3没有配置vlan,通过配置gvrp和trunk,让SW2.SW3自动学习vlanLSW1<Huawei>undo terminal mon <Huawei>undo terminal monitor #关闭提示信息Info: Current terminal monitor is off.[Huawei]vlan 10 #创建vlan 10[Huawei-vlan10]q #推出vlan 10[Huawei]gvrp #开启g

MVC之前的那点事儿系列(6):动态注册HttpModule(转载)

MVC之前的那点事儿系列(6):动态注册HttpModule 文章内容 通过前面的章节,我们知道HttpApplication在初始化的时候会初始化所有配置文件里注册的HttpModules,那么有一个疑问,能否初始化之前动态加载HttpModule,而不是只从Web.config里读取? 答案是肯定的, ASP.NET MVC3发布的时候提供了一个Microsoft.Web.Infrastructure.dll文件,这个文件就是提供了动态注册HttpModule的功能,那么它是如何以注册的呢?

IOS运行时动态注册字体

在IOS开发中,使用第三方字体,如ttf文件,otf文件,是很简单的.只需要两个步骤.1,讲 ttf文件,otf文件添加到工程根目录中.2,在info.plist中增加字体文件,是字体文件名.在使用时,双击打开字体文件,标题会显示字体名称,使用那个自体名称(setFontName)即可.在android中,是把字体文件拷贝到asset目录中,再使用typeface类根据文件得到其实例. 现在的问题是,在我们玩图的开发中,由于中文字体过大,需要从线上下载,下载到本地使用,这就涉及到一个注册字体问题

RPC原来就是socket——RPC框架到dubbo的服务动态注册,服务路由,负载均衡演化

序:RPC就是使用socket告诉服务端我要调你的哪一个类的哪一个方法然后获得处理的结果.服务注册和路由就是借助第三方存储介质存储服务信息让服务消费者调用. RPC即远程过程调用,它的实现方式有很多,比如webservice等.框架调多了,烦了,没激情了,我们就该问自己,这些框架的作用到底是什么,来找回当初的激情. 一般来说,我们写的系统就是一个单机系统,一个web服务器一个数据库服务,但是当这单台服务器的处理能力受硬件成本的限制,是不能无限的提升处理性能的.这个时候我们使用RPC将原来的本地调

Servlet – Upload、Download、Async、动态注册

Upload-上传随着3.0版本的发布,文件上传终于成为Servlet规范的一项内置特性,不再依赖于像Commons FileUpload之类组件,因此在服务端进行文件上传编程变得不费吹灰之力. 客户端要上传文件, 必须利用multipart/form-data设置HTML表单的enctype属性,且method必须为POST:<form action="simple_file_upload_servlet.do" method="POST" enctype=