Cisco CISCO876-SEC-I-K9 Configuration Guide - Page 63

Con VLANs

Page 63 highlights

Chapter 5 Configuring a LAN with DHCP and VLANs Configure VLANs Router# show ip dhcp server statistics Memory usage 15419 Address pools 1 Database agents 0 Automatic bindings 0 Manual bindings 0 Expired bindings 0 Malformed messages 0 Secure arp entries 0 Message BOOTREQUEST DHCPDISCOVER DHCPREQUEST DHCPDECLINE DHCPRELEASE DHCPINFORM Received 0 0 0 0 0 0 Message BOOTREPLY DHCPOFFER DHCPACK DHCPNAK Router# Sent 0 0 0 0 Configure VLANs Perform these steps to configure VLANs on your router, beginning in global configuration mode: Step 1 Command vlan ? Example: Router# config t Router(config)#vlan ? Purpose Enters VLAN configuration mode. WORD ISL VLAN IDs 1-4094 accounting VLAN accounting configuration ifdescr VLAN subinterface ifDescr Step 2 Router(config)#vlan ISL VLAN ID Example: Router(config)#vlan 2 Router(config-vlan)# Step 3 exit Example: Router(config-vlan)#exit Router(config)# Adds VLANs, with identifiers ranging from 1- 4094. For details about this command and additional parameters that can be set, see the Cisco IOS Switching Services Command Reference. Updates the VLAN database, propagates it throughout the administrative domain, and returns to global configuration mode. OL-5332-01 Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide 5-5

  • 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
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196

5-5
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Chapter 5
Configuring a LAN with DHCP and VLANs
Configure VLANs
Router#
show ip dhcp server statistics
Memory usage
15419
Address pools
1
Database agents
0
Automatic bindings
0
Manual bindings
0
Expired bindings
0
Malformed messages
0
Secure arp entries
0
Message
Received
BOOTREQUEST
0
DHCPDISCOVER
0
DHCPREQUEST
0
DHCPDECLINE
0
DHCPRELEASE
0
DHCPINFORM
0
Message
Sent
BOOTREPLY
0
DHCPOFFER
0
DHCPACK
0
DHCPNAK
0
Router#
Configure VLANs
Perform these steps to configure VLANs on your router, beginning in global configuration mode:
Command
Purpose
Step 1
vlan ?
Example:
Router#
config t
Router(config)#
vlan ?
WORD
ISL VLAN IDs 1-4094
accounting
VLAN accounting configuration
ifdescr
VLAN subinterface ifDescr
Router(config)#vlan
Enters VLAN configuration mode.
Step 2
ISL VLAN ID
Example:
Router(config)#vlan
2
Router(config-vlan)#
Adds VLANs, with identifiers ranging from
1- 4094.
For details about this command and additional
parameters that can be set, see the
Cisco IOS
Switching Services Command Reference
.
Step 3
exit
Example:
Router(config-vlan)#
exit
Router(config)#
Updates the VLAN database, propagates it throughout
the administrative domain, and returns to global
configuration mode.