三层交换机配置dhcp



DCRS-5950-28T>en
DCRS-5950-28T#?
Exec commands:
boot Boot
cd Displays the name of or changes the current directory
clear Reset functions
clock Set clock
cluster Cluster configuration commands
config Enter configuration mode
copy Copy file
debug Debugging functions
delete Deletes one files
dir Displays a list of files and subdirectories in a directory
disable Turn off privileged mode command
enable Turn on privileged mode command
exit End current mode and down to previous mode
format Formats a device
ftp-dir Show remote server file information
help Description of the interactive help system
language Set language
logging Logging
mkdir Creates a directory
mount Mount a device
no Negate a command or set its defaults
ping Send ipv4 echo messages
ping6 Send ipv6 echo messages
protocol Enable protocol filter
pwd Displays the name of the current directory
rcommand Run command on commander switch
reload Reboot switch
rename Renames a file
rmdir Removes a directory
set Set
setup Run the SETUP command facility
show Show running system information
telnet Connect remote computer
terminal Set terminal line parameters
traceroute Trace route to destination
traceroute6 Trace route to IPv6 destination


unmount Unmount a device
who Display who is on vty
write Write running configuration to memory or terminal

DCRS-5950-28T#confi
DCRS-5950-28T(config)#?
Configure commands:
show Show running system information
aaa Configure AAA(Authentication, Authorization and
pre-Accounting)
aaa-accounting Accounting configurations
access-list Add an access list entry
am Configure AM
anti-arpscan Anti-arpscan
authentication Authentication configuration commands
banner Define a login banner
bgp BGP information
class-map Configure QoS Class Map
clear Reset functions
cluster Cluster configuration commands
cpu-rx-ratelimit CPU received traffic rate limit
dns DNS
dns-server Set a Nameserver to the DNS
dosattack-check Dosattack
dot1x Configure 802.1X
dynamic-vlan Configure dynamic vlan
enable Modify enable password parameters
exec-timeout Set timeout value
exit End current mode and down to previous mode
fib FIB information
firewall Configure firewall status
ftp-server FTP Server config
garp Set GARP parameter
gvrp Enable GVRP
help Description of the interactive help system
hostname

Modify hostname
interface Select an interface to configure
ip IP information
ipv6 IPv6 information
isolate-port Set information
jumbo Jumbo frame
key Authentication key management
l3 L3 Table
language Set language
lldp Link Layer Discovery Protocol
logging Logging
login Enable password checking
loopback-detection Loopback
mac-access-list Named MAC access-list
mac-address Mac address config
mac-address-table MAC address table setting
mac-ip-access-list Named MAC-IP access-list
mac-vlan Configure mac vlan
mls Configure MultiLayer Switching characteristics
monitor Configure SPAN monitoring
mrpp Multi-layer Ring Protection Protocol
multicast Multicast config
no Negate a command or set its defaults
ntp
password Assign the terminal connection password
policy-map Configure QoS Policy Map
port-group Port-group configuration
port-status Port status
protocol-vlan Configure protocol vlan
radius Configure RADIUS
radius-server Configure RADIUS server
rmon Config rmon
route-map Create route-map or enter route-map command mode
router Enable a routing process


router-id Router identifier for
service Modify use of network based services
sflow Sflow Global Configuration
show Show running system information
snmp-server Snmp
sntp Simple Network Time protocol
spanning-tree Spanning-tree config
ssh-server Ssh service config command
ssh-user Add ssh user
subnet-vlan Configure Subnet vlan
sysContact sysContact
sysLocation SysLocation
tacacs-server Config tacacs+ ser
telnet-server Telnet server
tftp-server TFTP Server config
time-range Configure a time range
uldp ULDP information
urpf Unicast reverse path forwarding
username Establish User Name Authentication
DCRS-5950-28T(config)#exit
DCRS-5950-28T#int %Jan 01 01:02:38 2006 %LINEPROTO-5-UPDOWN: Line protocol on In
terface Ethernet1/23, changed state to DOWN

DCRS-5950-28T#conf
DCRS-5950-28T(config)#int vlan 1
DCRS-5950-28T(config-if-vlan1)#%Jan 01 01:03:08 2006 %LINK-5-CHANGED: Interface
Vlan1, changed stat
%Jan 01 01:03:08 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1,chan
ged state to UP


DCRS-5950-28T(config-if-vlan1)#
DCRS-5950-28T(config-if-vlan1)#%Jan 01 01:04:38 2006 %LINEPROTO-5-UPDOWN: Line p
rotocol on Interface Ethernet1/23, changed state to DOWN
%Jan 01 01:04:41 2006 %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/


23, changed state to UP

DCRS-5950-28T(config-if-vlan1)#ip 192.168.1.18 25


DCRS-5950-28T#conf
DCRS-5950-28T(config)#int vlan 1
DCRS-5950-28T(config-if-vlan1)#ip ?
access-group Apply access-list to interface
address Set IP Address
arp Arp
arp-security Arp-security
bootp-client BOOTP client
dhcp Enable DHCP server and relay agent
dhcp-client DHCP client
dvmrp DVMRP interface commands
gratuitous-arp Enable gratuitous arp
helper-address Specify a destination address for UDP broadcasts
igmp Internet Group Management Protocol
local local
ospf OSPF interface commands
pim PIM interface commands
proxy-arp Proxy arp
rip Routing Informati

DCRS-5950-28T(config-if-vlan1)#ip
% Incomplete command.

DCRS-5950-28T(config-if-vlan1)#ip add ?
A.B.C.D IP Address

DCRS-5950-28T(config-if-vlan1)#ip add 192.168.1.18 ?
A.B.C.D Subnet mask

DCRS-5950-28T(config-if-vlan1)#ip add 192.168.1.18
% Incomplete command.

DCRS-5950-28T(config-if-vlan1)#ip add 192.168.1.18 255.255.255.0
DCRS-5950-28T(config-if-vlan1)#exit



DCRS-5950-28T(config)#ip ?
access-list Named access-list
arp-security Arp-security
as-path BGP autonomous system path filter
community-list Add a community list entry
dhcp Enable DHCP server and relay agent
dns DNS
domain-list Ad

d a domain to the DNS
domain-lookup Enable Domain Name Service (DNS)
dvmrp Distance Vector Multicast Routing Protocol (DVMRP)
extcommunity-list Add an expanded community list entry
fib Forwarding information base
forward-protocol Controls forwarding of physical and directed IP broadcast
ftp Ftp protocol
gratuitous-arp Enable gratuitous arp
host Set host name
http Http server configuration
igmp Internet Group Management Protocol
mroute IP multicast routing table
multicast Multicast config
option IP option process
pim Protocol Independent Multica
prefix-list Build a prefix list
route Establish static routes
user User Configuration Subcommands
DCRS-5950-28T(config)#ip dhcp ?
conflict DHCP address conflict parameters
excluded-address Prevent DHCP from assigning certain addresses
ping Specify ping parameters used by DHCP
pool Configure DHCP address pools
relay DHCP relay agent parameters
server DHCP server parameters
snooping DHCP Snoopi

DCRS-5950-28T(config)#ip dhcp ?
conflict DHCP address conflict parameters
excluded-address Prevent DHCP from assigning certain addresses
ping Specify ping parameters used by DHCP
pool Configure DHCP address pools


relay DHCP relay agent parameters
server DHCP server parameters
snooping DHCP Snooping

DCRS-5950-28T(config)#ip dhcp pool aa
DCRS-5950-28T(dhcp-aa-config)#net ?
% Ambiguous command: "net "
DCRS-5950-28T(dhcp-aa-config)#ne
% Ambiguous command: "net"
DCRS-5950-28T(dhcp-aa-config)#net?
netbios-name-server NETBIOS (WINS) name servers
netbios-node-type NetBIOS node type
network-address Network number and mask



DCRS-5950-28T(dhcp-aa-config)#network 192.168.1.0
DCRS-5950-28T(dhcp-aa-config)#exit


DCRS-5950-28T(config)#dhcp ?
% Unrecognized command
DCRS-5950-28T(config)#ip ?
access-list Named access-list
arp-security Arp-security
as-path BGP autonomous system path filter
community-list Add a community list entry
dhcp Enable DHCP server and relay agent
dns DNS
domain-list Add a domain to the DNS
domain-lookup Enable Domain Name Servi
dvmrp Distance Vector Multicast Routing Protocol (DVMRP)
extcommunity-list Add an expanded community list entry
fib Forwarding information base
forward-protocol Controls forwarding of physical and directed IP broadcast
ftp Ftp protocol
gratuitous-arp Enable gratuitous arp
host Set host name
http Http server configuration
igmp Internet Group Management Protocol
mroute IP multicast routing table
multicast

Multicast config
option IP option process
pim Protocol Independent Multicast (PIM)
prefix-list Build a prefix list
route Establish static routes
user User Configuration Subcommands
DCRS-5950-28T(config)#ip dhcp ?
conflict DHCP address conflict parameters
excluded-address Prevent DHCP from assigning certain addresses
ping Specify ping parameters used by DHCP
pool Configure DHCP address pools
relay DHCP relay agent parameters
server DHCP server parameters
snooping DHCP Snooping


DCRS-5950-28T(config)#ip dhcp excluded 192.168.1.18
DCRS-5950-28T(config)#ip dhcp excluded 192.168.1.19
DCRS-5950-28T(config)#ip dhcp excluded 192.168.1.1
DCRS-5950-28T(config)#

相关文档
最新文档