-
Notifications
You must be signed in to change notification settings - Fork 457
/
Copy pathiosxe_guestshell_setup.txt
56 lines (44 loc) · 1.01 KB
/
iosxe_guestshell_setup.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
! To be entered onto IOS XE Device
! ***** Step 1 *********
! Enable IOX
conf t
iox
exit
! Verify IOX
sh iox-service
! ***** Step 2 *********
! Create and Configure Virtual Port Group
conf t
interface VirtualPortGroup 0
ip add 192.168.35.1 255.255.255.0
no shut
exit
! ***** Step 3 *********
! Configure NAT
conf t
interface VirtualPortGroup0
ip nat inside
exit
! Interface connected to local network
interface GigabitEthernet1
ip nat outside
exit
ip access-list standard NAT_ACL
permit 192.168.0.0 0.0.255.255
exit
ip nat inside source list NAT_ACL interface GigabitEthernet1 overload
! ***** Step 4 *********
! Configure Guest Shell
conf t
app-hosting appid guestshell
app-vnic gateway1 virtualportgroup 0 guest-interface 0
guest-ipaddress 192.168.35.2 netmask 255.255.255.0
exit
app-default-gateway 192.168.35.1 guest-interface 0
name-server0 208.67.222.222
end
! Enable Guest Shell
! Entered from Enable Mode (not config)
guestshell enable
! Verify Guest Shell Running
show app-hosting list