Step 1 | enable
Example:
Router> enable
|
Enables privileged EXEC mode.
-
Enter your password if prompted.
|
Step 2 | configure terminal
Example:
Router# configure terminal
|
Enters global configuration mode.
|
Step 3 | interface GigabitEthernetx
Example:
Router(config)# interface gigabitethernet1
|
Enters interface configuration mode for the interface designated by x.
The range of GigabitEthernet ports depends on the platform.
|
Step 4 | ip address ipv4-addr subnet-mask
Example:
Router(config-if)# ip address 172.25.29.235 255.255.255.128
|
Configures the IP address for the management interface.
|
Step 5 | no shutdown
Example:
Router(config-if)# no shutdown
|
Enables the management interface.
|
Step 6 | exit
Example:
Router(config-if)# exit
|
Exits interface configuration mode.
|
Step 7 | interface virtualportgroup virtualportgroup-number
Example:
Router(config)# interface virtualportgroup 0
|
Creates a virtual port group and enters virtual port group interface configuration mode.
|
Step 8 | configure terminal
Example:
Router(config)# configure terminal
|
Enter interface configuration mode.
|
Step 9 | interface virtualportgroup 0
Example:
Router(config)# interface virtualportgroup 0
|
Creates a virtual port group and enters virtual port group interface configuration mode.
|
Step 10 | ip unnumbered GigabitEthernet0/0/0
Example:
Router(config)# ip unnumbered GigabitEthernet0/0/0
|
Enables IP processing on an interface without assigning it an explicit IP address.
|
Step 11 | exit
Example:
Router(config)# exit
|
Exit interface configuration mode.
|
Step 12 | ip route ipv4-address ipv4-subnet-mask VirtualPortGroup0
Example:
Router# ip route 172.27.208.108 255.255.255.255 VirtualPortGroup0
|
Creates an IP route that maps to the virtual port group. Use the same IP address that was configured using the guest ip address command.
|
Step 13 | exit
Example:
Router# exit
|
Exit configuration mode.
|
Step 14 | ip unnumbered GigabitEthernetx
Example:
router(config-if)# ip unnumbered gigabitethernet1
|
Enables IP processing on an interface without assigning it an explicit IP address.
|
Step 15 | no shutdown
Example:
router(config-if)# no shutdown
|
Enables the virtual port group interface.
|
Step 16 | exit
Example:
router(config-if)# exit
|
Exits virtual port group interface mode.
|
Step 17 | virtual-service csr_mgmt
Example:
router(config)# virtual-service csr_mgmt
|
Configures the virtual services container and enters virtual services configuration mode.
|
Step 18 | vnic gateway virtualportgroup virtualportgroup_number
Example:
router(config-virt-serv)# vnic gateway virtualportgroup 0
|
Creates a vNIC gateway interface for the virtual services container and maps it to the virtual port group.
|
Step 19 | guest ip address remote-mgmt-ipv4-addr
Example:
router(config-virt-serv-intf)# guest ip address 172.25.29.236
|
Configures the remote-management IP address for the vNIC gateway interface for the virtual services container.
|
Step 20 | exit
Example:
router(config-virt-serv-intf)# exit
|
Exits virtual services interface configuration mode and enters virtual services configuration mode.
|
Step 21 | vnic management GigabitEthernet0
Example:
router(config-virt-serv)# vnic management GigabitEthernet0
|
(Cisco IOS XE 3.16S and later only)
Beginning with Cisco IOS XE 3.16S, it is necessary to configure two vnic interfaces:
-
vnic gateway
-
vnic management
|
Step 22 | exit
Example:
router(config-virt-serv-vnic)# exit
|
Exits vNIC management mode.
|
Step 23 | activate
Example:
router(config-virt-serv-vnic)# activate
|
Activates the csr_mgmt virtual services container.
|
Step 24 | end
Example:
router(config-virt-serv)# end
|
Exits virtual services configuration mode and enters global configuration mode.
|
Step 25 | ip route ipaddress subnetmask virtualportgroup virtualportgroupnumber
Example:
router(config)# ip route 172.25.29.236 255.255.255.255 VirtualPortGroup0
|
Creates an IP route that maps to the virtual port group. Use the same IP address that was configured using the guest ip address command.
|