Step 1
|
enable
|
Enables privileged EXEC mode.
|
Step 2
|
configure terminal
Router# configure terminal
|
Enters global configuration mode.
|
Step 3
|
interface GigabitEthernet x
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
Router(config-if)# ip address 198.51.100.235 255.255.255.128
|
Configures the IP address for the management interface.
|
Step 5
|
no shutdown
Router(config-if)# no shutdown
|
Enables the management interface.
|
Step 6
|
exit
|
Exits interface configuration mode.
|
Step 7
|
interface virtualportgroup virtualportgroup-number
Router(config)# interface virtualportgroup 0
|
Creates a virtual port group and enters virtual port group interface configuration mode.
|
Step 8
|
configure terminal
Router(config)# configure terminal
|
Enter interface configuration mode.
|
Step 9
|
interface virtualportgroup 0
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
Router(config)# ip unnumbered GigabitEthernet0/0/0
|
Enables IP processing on an interface without assigning it an explicit IP address.
|
Step 11
|
exit
|
Exit interface configuration mode.
|
Step 12
|
ip route ipv4-address ipv4-subnet-mask VirtualPortGroup0
Router# ip route 198.51.100.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
|
|
Step 14
|
ip unnumbered GigabitEthernet x
router(config-if)# ip unnumbered gigabitethernet1
|
Enables IP processing on an interface without assigning it an explicit IP address.
|
Step 15
|
no shutdown
router(config-if)# no shutdown
|
Enables the virtual port group interface.
|
Step 16
|
exit
|
Exits virtual port group interface mode.
|
Step 17
|
virtual-service csr_mgmt
router(config)# virtual-service csr_mgmt
|
Configures the virtual services container and enters virtual services configuration mode.
|
Step 18
|
vnic gateway virtualportgroup virtualportgroup_number
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
router(config-virt-serv-intf)# guest ip address 198.51.100.236
|
Configures the remote-management IP address for the vNIC gateway interface for the virtual services container.
|
Step 20
|
exit
router(config-virt-serv-intf)# exit
|
Exits virtual services interface configuration mode and enters virtual services configuration mode.
|
Step 21
|
vnic management GigabitEthernet0
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
router(config-virt-serv-vnic)# exit
|
Exits vNIC management mode.
|
Step 23
|
activate
router(config-virt-serv-vnic)# activate
|
Activates the csr_mgmt virtual services container.
|
Step 24
|
end
router(config-virt-serv)# end
|
Exits virtual services configuration mode and enters global configuration mode.
|
Step 25
|
ip route ipaddress subnetmask virtualportgroup virtualportgroupnumber
router(config)# ip route 198.51.100.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.
|