Cisco Nexus 1000V Command Reference, Release 4.2(1)SV1(5.1)
G Commands
Downloads: This chapterpdf (PDF - 95.0KB) The complete bookPDF (PDF - 4.9MB) | Feedback

Table of Contents

G Commands

group (Port Profile Role)

group (VXLAN)

gunzip

gzip

G Commands

This chapter describes the Cisco Nexus 1000V commands that begin with the letter G.

group (Port Profile Role)

To assign a group to a port profile role, use the group command. To remove the group, use the no form of the command.

group group_name

no group group_name

 
Syntax Description

group group_name

Specify that a group is to be added to the port-profile role, and the name of the group (maximum of 32 characters).

 
Defaults

None

 
Command Modes

Port profile role configuration (config-port-profile-role)

 
Supported User Roles

network-admin

 
Command History

Release
Modification

4.2(1)SV1(4)

This command was introduced.

 
Usage Guidelines

Examples

This example shows how to assign the credit group to the supportRole:

n1000v# config t
n1000v(config)# port-profile-role supportRole
n1000v(config-port-profile-role)# group credit
 

This example shows how to remove the credit group assignment from the supportRole:

n1000v# config t
n1000v(config)# port-profile-role supportRole
n1000v(config-role)# no group credit
 

 
Related Commands

Command
Description

show port-profile-role

Displays the port profile role configuration, including role names, descriptions, assigned users, and assigned groups.

show port-profile-role users

Displays available users and groups.

show port-profile

Displays the port profile configuration, including roles assigned to them.

port-profile-role

Creates a port profile role.

user

Assigns a user to a port profile role.

assign port-profile-role

Assigns a port profile role to a specific port profile.

feature port-profile-role

Enables support for the restriction of port profile roles.

port-profile

Creates a port profile.

group (VXLAN)

To associate the multicast group for broadcasts and floods, use the group command. To remove the multicast group, use the no form of this command.

group group-ip

no group

 
Syntax Description

group-ip

The multicast group ip address.

 
Defaults

None

 
Command Modes

Bridge Domain configuration (config-bd)

 
Supported User Roles

network-admin

 
Command History

Release
Modification

4.2(1)SV1(5.1)

This command was introduced.

 
Usage Guidelines

Examples

This example shows how to associate a multicast group to a VXLAN:

n1000v# configure terminal

n1000v(config)# bridge-domain tenant-red

n1000v(config-bd)# group 239.1.1.1

n1000v(config-bd)#
 

 
Related Commands

Command
Description

show bridge-domain

Displays bridge domain information.

gunzip

To uncompress a compressed file, use the gunzip command.

gunzip filename

 
Syntax Description

filename

Name of a file. The filename is case sensitive.

 
Defaults

None

 
Command Modes

Any

 
Supported User Roles

network-admin

 
Command History

Release
Modification

4.0(4)SV1(1)

This command was introduced.

 
Usage Guidelines

The compressed filename must have the .gz extension.

You do not have to enter the .gz extension as part of the filename.

The Cisco NX-OS software uses Lempel-Ziv 1977 (LZ77) coding for compression.

Examples

This example shows how to uncompress a compressed file:

n1000v# gunzip run_cnfg.cfg
 

 
Related Commands

Command
Description

dir

Displays the directory contents.

gzip

Compresses a file.

gzip

To compress a file, use the gzip command.

gzip filename

 
Syntax Description

filename

Name of a file. The filename is case sensitive.

 
Defaults

None

 
Command Modes

Any

 
Supported User Roles

network-admin

 
Command History

Release
Modification

4.0(4)SV1(1)

This command was introduced.

 
Usage Guidelines

After you use this command, the file is replaced with the compressed filename that has the .gz extension.

The Cisco NX-OS software uses Lempel-Ziv 1977 (LZ77) coding for compression.

Examples

This example shows how to compress a file:

n1000v# gzip run_cnfg.cfg
 

 
Related Commands

Command
Description

dir

Displays the directory contents.

gunzip

Uncompresses a compressed file.