7 displaying interface, 8 sample configuration, Displaying interface – Siemens S223 User Manual
Page 60: Sample configuration
UMN:CLI User Manual
SURPASS hiD 6615 S223/S323 R1.5
60 A50010-Y3-C150-2-7619
4.3.7 Displaying
Interface
To display interface status and configuration, use the following command.
Command Mode
Description
show interface
[INTERFACE]
Enable
Global
Interface
Shows interface status and configuration.
INTERFACE: interface name
show
ip interface [INTERFACE]
brief
Enable
Global
Shows brief information of interface.
INTERFACE: interface name
4.3.8 Sample
Configuration
[ Sample Configuration 1 ]
The followings are examples of enabling interface 1 in two ways.
①
On Configuration Mode
SWITCH# configure terminal
SWITCH(config)# interface noshutdown 1
SWITCH(config)#
②
On Interface Configuration Mode
SWITCH# configure terminal
SWITCH(config)# interface 1
SWITCH(config-if)# no shutdown
SWITCH(config-if)#
[ Sample Configuration 2 ]
The following is an example of assigning IP address 192.168.1.10 to 1.
SWITCH(config-if)# ip address 192.168.1.10/16
SWITCH(config-if)# show ip
IP-Address Scope Status
-------------------------------------
192.168.1.10/16 global
SWITCH(config-if)#
[ Sample Configuration 3 ]
The following is an example of configuring default gateway.
SWITCH# configure terminal
SWITCH(config)# ip route default 192.168.1.254
SWITCH(config)#