Dell PowerEdge M520 Dell PowerConnect M6220/M6348/M8024 Switches Configuration - Page 124

Example 8: Associate an Interface with a Captive Portal Configuration, To view the new interface

Page 124 highlights

Max Input Octets (bytes 0 Max Output Octets (bytes 0 Max Total Octets (bytes 0 To create a local user, use the following command: console(Config-CP)#user 1 name user1 console(config-CP)#user 1 password Enter password (8 to 64 characters): ******** Re-enter password: ******** console(Config-CP)#user 1 session-timeout 14400 To verify the creation of a local user, use the following command: console#show captive-portal user Session User ID User Name Timeout 1 user1 14400 Idle Timeout -------0 Group ID -------1 Group Name ---------Default Example 8: Associate an Interface with a Captive Portal Configuration To associate an interface with a Captive Portal configuration, use the following command: console#configure (Config)#captive-portal (Config-CP)#configuration 1 console(Config-CP 1)#interface 1/g18 To view the new interface, use the following command: console#show captive-portal configuration 1 interface CP ID 1 CP Name Default Interface --------1/g18 Interface Description Unit: 1 Slot: 0 Port: 18 Gigabit - Level Operational Status ----------Disabled Block Status -----Not Blocked To view the status of a captive client (connected to 1/g18), use the following command: console#show captive-portal configuration 1 client status 124 Device Security

  • 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
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158

124
Device Security
Max Input Octets (bytes)
.......................
0
Max Output Octets (bytes)
......................
0
Max Total Octets (bytes)
.......................
0
To create a local user, use the following command:
console(Config-CP)#user 1 name user1
console(config-CP)#user 1 password
Enter password (8 to 64 characters): ********
Re-enter password: ********
console(Config-CP)#user 1 session-timeout 14400
To verify the creation of a local user, use the following command:
console#show captive-portal user
Session
Idle
User ID
User Name
Timeout
Timeout
Group ID
Group Name
-------
------------------- -------
-------- --------
----------
1
user1
14400
0
1
Default
Example 8: Associate an Interface with a Captive Portal Configuration
To associate an interface with a Captive Portal configuration, use the following command:
console#configure
(Config)#captive-portal
(Config-CP)#configuration 1
console(Config-CP 1)#interface 1/g18
To view the new interface, use the following command:
console#show captive-portal configuration 1 interface
CP ID
..........................................
1
CP Name
........................................
Default
Operational
Block
Interface
Interface Description
Status
Status
---------
--------------------------------
-----------
------
1/g18
Unit: 1 Slot: 0
Disabled
Not Blocked
Port: 18 Gigabit - Level
To view the status of a captive client (connected to 1/g18), use the following command:
console#show captive-portal configuration 1 client status