Console> (enable) set gvrp enable GVRP enabled Console> (enable) show gvrp configuration Global GVRP Configuration: GVRP Feature is currently enabled on the switch. GVRP dynamic VLAN creation is disabled. GVRP Timers(milliseconds) Join = 200 Leave = 600 LeaveAll = 10000
Port based GVRP Configuration: Port GVRP Status Registration
Console> (enable) set garp timer leaveall 10000 GMRP/GARP leaveAll timer value is set to 10000 milliseconds. Console> (enable) set garp timer leave 600 GMRP/GARP leave timer value is set to 600 milliseconds. Console> (enable) set garp timer join 200 GMRP/GARP join timer value is set to 200 milliseconds. Console> (enable) show garp timer Timer Timer Value (milliseconds) -------- -------------------------- Join 200 Leave 600 LeaveAll 10000 Console> (enable)
显示GVRP状态
例显示1/1的GVRP状态:
Console> (enable) show gvrp statistics 1/1 Join Empty Received: 0 Join In Received: 0 Empty Received: 0 LeaveIn Received: 0 Leave Empty Received: 0 Leave All Received: 40 Join Empty Transmitted: 156 Join In Transmitted: 0 Empty Transmitted: 0 Leave In Transmitted: 0 Leave Empty Transmitted: 0 Leave All Transmitted: 41 VTP Message Received: 0 Console> (enable)
清除GVRP状态 特权模式下:
例:
Console> (enable) clear gvrp statistics all GVRP Statistics cleared for all ports. Console> (enable)
在单独的dot1Q端口上禁用GVRP 特权模式下:
在 port 1/1上禁用GVRP:
Console> (enable) set gvrp disable 1/1 GVRP disabled on 1/1. Console> (enable)
全局下禁用GVRP 特权模式下:
例:
Console> (enable) set gvrp disable GVRP disabled Console> (enable)