P address
Router(config-if)#ip address 192.168.1.1 ?
A.B.C.D IP subnet mask
Router(config-if)#ip address 192.168.1.1 255.255.255.0 ?
secondary Make this IP address a secondary address
Router(config-if)#ip address 192.168.1.1255.255.255.0
Router(config-if)#exit (退出interface配置模式,进入全局配置模式)
Router(config)#? (查看全局配置模式下的所有配置命令)
configure commands:
aaa Authentication, Authorization and Accounting.
access-list Add an access list entry
alias Create command alias
appletalk Appletalk global configuration commands
arap Appletalk Remote Access Protocol
arp Set a static ARP entry
async-bootp Modify system bootp parameters
... (此处省略)
tftp-server Provide TFTP service for netload requests
time-range Define time range entries
usemame Establish User Name Authentication
virtual-profile Virtual Profile configuration
x25 X.25 Level 3
x29 X29 commands
Router(config)#exit (退出配置模式,进入特权执行模式)
Router#? (查看特权执行模式下所有的命令)
Exec commands:
access-enable Create a temporary Access-List entry
access-profile Apply user-profile to interface
access-template Create a temporary Access-List entry
archive manage archive files
bfe For manual emergency modes setting
cd Change current directory
clear Reset functions
... (此处省略)
telnet Open a telnet connection
terminal Set terminal line parameters
test Test subsystems, memory, and interfaces
traceroute Trace route to destination
tunnel Open a tunnel connection
udptn Open an udptn connection
undebug Disable debugging functions (see also 'debug