Access the Cisco Catalyst 8000V CLI

Before you begin

Perfrom the day 0 configuration as mentioned in the Day 0 Configuration chapter in the Cisco Catalyst 8000V Installation and Upgrade Guide.

To access the Cisco Catalyst 8000V VM instance using an SSH session, the Cisco Catalyst 8000V VM instance must be up.


Note

In the VM Instances window, the SSH tab is not enabled for a Cisco Catalyst 8000V VM. You must, therefore, set up an SSH using CLI commands using the following procedure.


Procedure


Step 1

In a terminal server, enter the following command: ssh -i ~/.ssh/[keyfile] username@ instance-external-IP .

Logs into the Cisco Catalyst 8000V using an SSH session. ~/.ssh/keyfile represents the path and filename of the public key. After logging in, you can enter Cisco IOS XE commands using the CLI.

Example:

ssh -i /users/joe/.ssh/mykey.pub joe@10.0.0.2

Step 2

interface interface-name

Enters the interface configuration mode.

Example:

Router(config)# interface GigabitEthernet1

The following steps are recommended in order to increase the speed to 10 Gbps for each interface.

Step 3

ip address dhcp

Acquires an IP address on an interface from DHCP.

Example:

Router(config-if)# ip address dhcp
Step 4

speed 10000

Sets the speed to 10 Gbps.

Example:

Router(config-if)# speed 10000
Step 5

no negotiation auto

Disables autonegotiation.

Example:

Router(config-if)# no negotiation auto
Step 6

exit

Exits the interface configuration mode.

Example:

Router(config-if)# exit
Step 7

Repeat steps 2 to 6 to increase the speed for the second interface of the Cisco Catalyst 8000V instance.