Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Two methods can be used to bring interfaces up ip link set dev eth0 down or down

#######################################################
Two methods can be used to bring interfaces up or down
#######################################################

2.1. Using "ip" Usage: # ip link set dev <interface> up 
# ip link set dev <interface> down

# Example: # ip link set dev eth0
up # ip link set dev eth0 down

2.2. Using "ifconfig" Usage: # /sbin/ifconfig <interface> up 
# /sbin/ifconfig <interface> down

# Example: # ip link set dev eth0 down 
# ip link set dev eth0 down
 
PREVIOUS NEXT
Tagged: #Two #methods #bring #interfaces #ip #link #set #dev
ADD COMMENT
Topic
Name
2+3 =