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

wKiom1Xin97CTs43AACi4mJkv4M680.jpg

<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


本文出自 “竹笛个人博客” 博客,谢绝转载!

你可能感兴趣的:(return,System,动态)